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