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