Google

Welcome to Carpe Diem: Flaphead@Home Sign in | Join | Help

Carpe Diem: Flaphead.com

Seize the Day

News


  • Add to Technorati Favorites <script type="text/javascript" src="http://technorati.com/embed/3ni3q36ikc.js"> </script>
    This information is provided "AS IS" with no warranties, and confers no rights. Also some of the information contains my views and thoughts.
    <script src="http://widgets.technorati.com/t.js" type="text/javascript" charset="UTF-8"></script>

    Add Me! - Search Engine Optimization

    I heart FeedBurner

Set an Existing Users password using Powershell

Was asked how to set an existing users password and here is how

You need the FULL dn of the user (usually some like cn=user,ou=ou,dc=domain etc, etc)

$xuser = [ADSI]"LDAP://<DC Name>:389/<Full DN of user>"
$xuser.psbase.Invoke("SetPassword","Password2")
Posted: 06 May 2009 18:48 by Paul Flaherty
Filed under: ,

Comments

No Comments

New Comments to this post are disabled