I am trying to figure out why the following script fails on Windows Server 2012 RC.
$Group = [ADSI]"WinNT://localhost/Administrator,user"
$Group.Invoke("SetPassword","WnSrv12**2")
The error that I get is:
Exception calling "Invoke" with "2" argument(s): "The specified network password is not correct.
The same script works on Windows Server 2008 R2.
Can someone help?
Thanks!
There is an amazing pack of free network admin tools. click here to download it




