2021-08-03 17:49:40Z current hostname N-H1-793621-27 matches n-h1-793621-27: True 2021-08-03 17:49:40Z calling GetComputerDomain() 2021-08-03 17:49:40Z not currently joined to a reachable domain 2021-08-03 17:49:40Z not a domain member, joining... 2021-08-03 17:49:40Z Creating credential for user administrator@cbci-793621-27.local 2021-08-03 17:49:40Z adding hostname set arg to Add-Computer args 2021-08-03 17:49:40Z calling Add-Computer with args: Name Value ---- ----- Credential System.Management.Automation.PSCredential ComputerName . Force DomainName cbci-793621-27.local 2021-08-03 17:49:42Z Add-Computer result was \n