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