I have a Powershell script in which I use the module System.Security.Cryptography.RijndaelManagedTransform. I used to execute my script with Powershell 5.1 and
System.Security.Cryptography.RijndaelManagedTransform