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