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