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