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