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