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