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