Link to home
Start Free TrialLog in
Avatar of Alex
AlexFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Can you encrypt a password directly into a powershell script

Afternoon all,

Can you encrypt a password directly into a PowerShell script and then send that script to someone else for them to run it, so it'll then use your rights in order to run WITHOUT putting the password in on their machine?

I've looked and can't get a clear answer, I'm guessing the answer is no.

Regards
Alex
SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Alex

ASKER

Is it easily crackable then if I store the password in there?

Thanks
Alex
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Alex

ASKER

good point well presented.

Thank you
Avatar of Alex

ASKER

thanks