Hi Forums,
Folks in my team have built PowerShell scripts to Add Computer as members of a Domain. One of thousands custom packages they do in SCCM.
We are in a scenario where providing the [-DomainName] is not enough. To make a long story short, they want to force on which Domain Controller the action will be performed. (Goal here is not to question the strategy... we do have particular requirements.)
To do that, they want to leverage the -Server parameter.
http://technet.microsoft.com/en-us/library/hh849798.aspx
As per the TechNet article, the cmdlet should be supported for 2.0 and 3.0 and the -Server parameter seemed to be introduced in 2.0 and not in 3.0.
That being said, they cannot execute the command in 2.0. Only in 3.0
Any thoughts would be truly appreciated.