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