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