2021-08-23 13:35:02Z current hostname N-H2-804275-7 matches n-h2-804275-7: True 2021-08-23 13:35:02Z calling GetComputerDomain() 2021-08-23 13:35:02Z not currently joined to a reachable domain 2021-08-23 13:35:03Z not a domain member, joining... 2021-08-23 13:35:03Z Creating credential for user administrator@cbci-804275-7.local 2021-08-23 13:35:03Z adding hostname set arg to Add-Computer args 2021-08-23 13:35:03Z calling Add-Computer with args: Name Value ---- ----- Credential System.Management.Automation.PSCredential ComputerName . Force DomainName cbci-804275-7.local 2021-08-23 13:35:05Z Add-Computer result was \n