PowerShell script that adds a custom protocol handler in Windows.
mynewprotocol://this_would/be_the/arguments
Change the $ProtocolName
and $ProtocolExePath
variables.
$ProtocolName
- Name for your protocol, needs to be one word, without spaces or special characters, such as MyNewProtocol
$ProtocolExePath
- Program that will handle the protocol and its arguments