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