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