2021-07-15 12:59:13Z current hostname N-H2-798249-9 matches n-h2-798249-9: True 2021-07-15 12:59:13Z calling GetComputerDomain() 2021-07-15 12:59:13Z not currently joined to a reachable domain 2021-07-15 12:59:13Z not a domain member, joining... 2021-07-15 12:59:13Z Creating credential for user administrator@cbci-798249-9.local 2021-07-15 12:59:13Z adding hostname set arg to Add-Computer args 2021-07-15 12:59:13Z calling Add-Computer with args: Name Value ---- ----- Credential System.Management.Automation.PSCredential ComputerName . Force DomainName cbci-798249-9.local 2021-07-15 12:59:15Z Add-Computer result was \n