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