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