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