2022-04-22 17:45:42Z current hostname N-H2-838934-5 matches n-h2-838934-5: True 2022-04-22 17:45:42Z calling GetComputerDomain() 2022-04-22 17:45:42Z not currently joined to a reachable domain 2022-04-22 17:45:43Z not a domain member, joining... 2022-04-22 17:45:43Z Creating credential for user administrator@cbci-838934-5.local 2022-04-22 17:45:43Z adding hostname set arg to Add-Computer args 2022-04-22 17:45:43Z calling Add-Computer with args: Name Value ---- ----- Credential System.Management.Automation.PSCredential ComputerName . Force DomainName cbci-838934-5.local 2022-04-22 17:45:44Z Add-Computer result was \n