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