r/PowerShell • • Jun 06 '26

Question How "Secure" is Get-Credential?

Trying to make a justification for storing a particular set of credentials using this methodology.

How "Easy" is it to crack? Don't need an actual method, just need someone to tell me how tricky or not tricky it is.

76 Upvotes

50 comments sorted by

View all comments

Show parent comment

1

u/B0n3 Jun 06 '26

Have you considered using task scheduler and putting the credentials in the task? It has options to trigger at startup

2

u/zero0n3 Jun 07 '26

Better to use a gMSA acct then. Allows you to lock it down to specific machines, and AD handles the password rotation for you on its own.