PowerTip: Use PowerShell to Decrypt Files

Doctor Scripto

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")

0 comments

Discussion is closed.

Feedback usabilla icon