Decrypt files that have been download


I have a set of files I want to decrypt via powershell. I usually open Kleopatra,select the file I want to decrypt, input my decryption password and all works fine.

Although I want to automate this process via powershell.

I’ve been having a look at this

When I use that, I only use the Remove Decryption but it does not work. Any ideas? I want to be able to decrypt any files that are in the folder.