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