2022-08-04 14:03:15Z current hostname N-H2-846218-16 matches n-h2-846218-16: True 2022-08-04 14:03:15Z calling GetComputerDomain() 2022-08-04 14:03:15Z not currently joined to a reachable domain 2022-08-04 14:03:15Z not a domain member, joining... 2022-08-04 14:03:15Z Creating credential for user administrator@cbci-846218-16.local 2022-08-04 14:03:15Z adding hostname set arg to Add-Computer args 2022-08-04 14:03:15Z calling Add-Computer with args: Name Value ---- ----- Credential System.Management.Automation.PSCredential ComputerName . Force DomainName cbci-846218-16.local 2022-08-04 14:03:17Z Add-Computer result was \n