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