Adventures in Powershell. These posts have been created as a record of the successful powershell commands I have used.
Set-ItemProperty
Registry::HKEY_CLASSES_ROOT\.ps1
-Name
PerceivedType
-Value
text