Powershell Get computer password

Filip 831 Reputation points

Hello everybody.
Can i somehow get my computer password by using powershell?
Thanks for answare.

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,449 questions
0 comments No comments
{count} votes

Accepted answer
  1. Rich Matheisen 45,671 Reputation points

    Do you mean the password used by your computer that's kept in the Computer object in the Active Directory? Or are you asking how to get you local account password so you can log on to your computer?

    If it's the AD Computer object's password the answer is that you cannot. The password's encrypted. You can, however use the Reset-ComputerMachinePassword cmdlet.

    Nor can you "get" a local user account password, which is also encrypted.

    0 comments No comments

0 additional answers

Sort by: Most helpful