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