February 28th, 2015

PowerTip: Use PowerShell to Decrypt Files

Doctor Scripto
Scripter

Summary: Use Windows PowerShell to decrypt files.

Hey, Scripting Guy! Question How can I use Windows PowerShell to decrypt a file that it previously encrypted?

Hey, Scripting Guy! Answer Use the Decrypt static method from System.IO.File .NET Framework class, for example:

[io.file]::Decrypt("C:\fso\FileWithOutExtension")

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.

Feedback