2021-09-23 20:24:31Z current hostname N-H2-615180-40 matches n-h2-615180-40: True 2021-09-23 20:24:31Z calling GetComputerDomain() 2021-09-23 20:24:31Z not currently joined to a reachable domain 2021-09-23 20:24:31Z not a domain member, joining... 2021-09-23 20:24:31Z Creating credential for user administrator@cbci-615180-40.local 2021-09-23 20:24:31Z adding hostname set arg to Add-Computer args 2021-09-23 20:24:31Z calling Add-Computer with args: Name Value ---- ----- Credential System.Management.Automation.PSCredential ComputerName . Force DomainName cbci-615180-40.local 2021-09-23 20:24:33Z Add-Computer result was \n