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