2021-11-22 16:20:54Z current hostname N-H2-816865-2 matches n-h2-816865-2: True 2021-11-22 16:20:54Z calling GetComputerDomain() 2021-11-22 16:20:54Z not currently joined to a reachable domain 2021-11-22 16:20:54Z not a domain member, joining... 2021-11-22 16:20:54Z Creating credential for user administrator@cbci-816865-2.local 2021-11-22 16:20:54Z adding hostname set arg to Add-Computer args 2021-11-22 16:20:54Z calling Add-Computer with args: Name Value ---- ----- Credential System.Management.Automation.PSCredential ComputerName . Force DomainName cbci-816865-2.local 2021-11-22 16:20:56Z Add-Computer result was \n