question

Filip-2434 avatar image
0 Votes"
Filip-2434 asked RichMatheisen-8856 answered

Powershell Get computer password

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

windows-server-powershell
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

RichMatheisen-8856 avatar image
0 Votes"
RichMatheisen-8856 answered

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.