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