2022-01-28 09:37:07Z current hostname N-H2-825064-2 matches n-h2-825064-2: True 2022-01-28 09:37:07Z calling GetComputerDomain() 2022-01-28 09:37:07Z not currently joined to a reachable domain 2022-01-28 09:37:07Z not a domain member, joining... 2022-01-28 09:37:07Z Creating credential for user administrator@cbci-825064-2.local 2022-01-28 09:37:07Z adding hostname set arg to Add-Computer args 2022-01-28 09:37:07Z calling Add-Computer with args: Name Value ---- ----- Credential System.Management.Automation.PSCredential ComputerName . Force DomainName cbci-825064-2.local 2022-01-28 09:37:09Z Add-Computer result was \n