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