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