2022-04-29 10:45:17Z current hostname N-H2-839091-5 matches n-h2-839091-5: True 2022-04-29 10:45:17Z calling GetComputerDomain() 2022-04-29 10:45:18Z not currently joined to a reachable domain 2022-04-29 10:45:18Z not a domain member, joining... 2022-04-29 10:45:18Z Creating credential for user administrator@cbci-839091-5.local 2022-04-29 10:45:18Z adding hostname set arg to Add-Computer args 2022-04-29 10:45:18Z calling Add-Computer with args: Name Value ---- ----- Credential System.Management.Automation.PSCredential ComputerName . Force DomainName cbci-839091-5.local 2022-04-29 10:45:19Z Add-Computer result was \n