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