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