2022-02-09 09:49:28Z current hostname N-H1-789963-28 matches n-h1-789963-28: True 2022-02-09 09:49:28Z calling GetComputerDomain() 2022-02-09 09:49:28Z not currently joined to a reachable domain 2022-02-09 09:49:28Z not a domain member, joining... 2022-02-09 09:49:28Z Creating credential for user administrator@cbci-789963-28.local 2022-02-09 09:49:29Z adding hostname set arg to Add-Computer args 2022-02-09 09:49:29Z calling Add-Computer with args: Name Value ---- ----- Credential System.Management.Automation.PSCredential ComputerName . Force DomainName cbci-789963-28.local 2022-02-09 09:49:31Z Add-Computer result was \n