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