2021-06-07 15:27:07Z current hostname N-H2-712707-10 matches n-h2-712707-10: True 2021-06-07 15:27:07Z calling GetComputerDomain() 2021-06-07 15:27:07Z not currently joined to a reachable domain 2021-06-07 15:27:07Z not a domain member, joining... 2021-06-07 15:27:07Z Creating credential for user administrator@cbci-712707-10.local 2021-06-07 15:27:07Z adding hostname set arg to Add-Computer args 2021-06-07 15:27:07Z calling Add-Computer with args: Name Value ---- ----- Credential System.Management.Automation.PSCredential ComputerName . Force DomainName cbci-712707-10.local 2021-06-07 15:27:09Z Add-Computer result was \n