2021-12-18 20:42:27Z current hostname NCH2-MASTER-1 matches nch2-master-1: True 2021-12-18 20:42:27Z calling GetComputerDomain() 2021-12-18 20:42:27Z not currently joined to a reachable domain 2021-12-18 20:42:27Z not a domain member, joining... 2021-12-18 20:42:27Z Creating credential for user administrator@nc-master-1.local 2021-12-18 20:42:27Z adding hostname set arg to Add-Computer args 2021-12-18 20:42:27Z calling Add-Computer with args: Name Value ---- ----- Credential System.Management.Automation.PSCredential ComputerName . Force DomainName nc-master-1.local 2021-12-18 20:42:29Z Add-Computer result was \n