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