Skip to content

Non Nerd Friendly

The Admin Script Bank

  • Home
  • Linux
  • Networking
  • Cisco
  • Juniper
  • VMware
  • Windows Server
  • PowerShell
  • Powercli
PS: Changing Local User Password

PS: Changing Local User Password

Here’s a simple way to change the password of a local user

 # Change Local Support Account Password
$admin=[adsi]("WinNT://" + 'localhost' + "/AUserAccount, user")
$admin.psbase.invoke("SetPassword", "Password01")
Advertisements

Share this:

  • Print
  • Email
  • Facebook
  • LinkedIn
  • Twitter

Like this:

Like Loading...
  • ADSI
  • PowerShell
  • User Account Management
  • Variables
  • DaisyStevens100
  • September 8, 2016September 16, 2016
  • ADSI
  • Change
  • Invoke
  • Password
  • PowerShell
  • PSBASE
  • Variables

Post navigation

PS: GUI Building Made Easy
PS: Remove File If Existence

Search

  • DaisyStevens100
    • PowerCLI: Search VM By MAC Address
    • Powercli: Get VM’s With CPU and Memory Reservation
    • PowerCLI: Memory Usage Report Script

Blog Stats

  • 10,176 hits

Post Categories

Advertisements
Create a free website or blog at WordPress.com.
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.
%d bloggers like this: