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