2021-05-21 16:30:57Z current hostname N-H2-787206-4 matches n-h2-787206-4: True 2021-05-21 16:30:57Z calling GetComputerDomain() 2021-05-21 16:30:58Z not currently joined to a reachable domain 2021-05-21 16:30:58Z not a domain member, joining... 2021-05-21 16:30:58Z Creating credential for user administrator@cbci-787206-4.local 2021-05-21 16:30:58Z adding hostname set arg to Add-Computer args 2021-05-21 16:30:58Z calling Add-Computer with args: Name Value ---- ----- Credential System.Management.Automation.PSCredential ComputerName . Force DomainName cbci-787206-4.local 2021-05-21 16:30:59Z Add-Computer result was \n