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