2021-08-19 18:05:53Z current hostname N-H1-778732-9 matches n-h1-778732-9: True 2021-08-19 18:05:53Z calling GetComputerDomain() 2021-08-19 18:05:53Z not currently joined to a reachable domain 2021-08-19 18:05:53Z not a domain member, joining... 2021-08-19 18:05:53Z Creating credential for user administrator@cbci-778732-9.local 2021-08-19 18:05:53Z adding hostname set arg to Add-Computer args 2021-08-19 18:05:53Z calling Add-Computer with args: Name Value ---- ----- Credential System.Management.Automation.PSCredential ComputerName . Force DomainName cbci-778732-9.local 2021-08-19 18:05:55Z Add-Computer result was \n