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