PowerTip: Use PowerShell to Decrypt Files

The Scripting Guys

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

The Scripting Guys
Dr Scripto

Follow Dr Scripto   

No Comments.