I set up a lab to test domain joining multiple computers with a script from Microsoft.
After I ran the script it came back with could not establish a WMI connection with the computer with the following error message:access is denied.
There are two workgroup computers, I input their name, their credentials. The command running on one device is:
Add-Computer -ComputerName SWC2-PC -LocalCredential SWC2-PC\[email protected] -DomainName swc.local -Credential swc.local\Administrator -Restart -Force
When the script is run FROM the DC that runs the domain I am trying to get the workgroup computers on and I continuously get that error.