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