Invoke command getting Network Path Not Found

I run the command below and keep getting network path not found.  Why?

PS C:\Windows\System32\WindowsPowerShell\v1.0> $admin = [adsi]("WinNT://wdwzp3445/WilsonJP, user")

PS C:\Windows\System32\WindowsPowerShell\v1.0> $admin.psbase.invoke("SetPassword", "Test#1234")


Exception calling "Invoke" with "2" argument(s): "The network path was not found.

"

At line:1 char:1

+ $admin.psbase.invoke("SetPassword", "Test#1234")

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException

    + FullyQualifiedErrorId : DotNetMethodException

September 2nd, 2015 11:22am

$admin = [adsi]("WinNT://wdwzp3445/WilsonJP, user")
$admin.SetPassword('newpassword')

Free Windows Admin Tool Kit Click here and download it now
September 2nd, 2015 11:33am

I tried your version and it still fails with the same error.
September 3rd, 2015 9:56am

Running as admin and elevated?
Free Windows Admin Tool Kit Click here and download it now
September 3rd, 2015 10:01am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics