2021-10-21 15:49:29Z current hostname N-H2-815017-2 matches n-h2-815017-2: True 2021-10-21 15:49:29Z calling GetComputerDomain() 2021-10-21 15:49:29Z not currently joined to a reachable domain 2021-10-21 15:49:30Z not a domain member, joining... 2021-10-21 15:49:30Z Creating credential for user administrator@cbci-815017-2.local 2021-10-21 15:49:30Z adding hostname set arg to Add-Computer args 2021-10-21 15:49:30Z calling Add-Computer with args: Name Value ---- ----- Credential System.Management.Automation.PSCredential ComputerName . Force DomainName cbci-815017-2.local 2021-10-21 15:49:32Z Add-Computer result was \n