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