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