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