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