Monday, August 17, 2026

Making A Powershell Shortcut For Invoke Commands

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -Command "Start-Process powershell.exe -verb runas -ArgumentList 'irm https://christitus.com/win | iex'

Right click on the Desktop and choose"New and Shorcut".

"Type the location of the item" is where you paste the above string.

The problem arises when the string gets applied to both "Target and Start in".

Right click the shortcut and open "properties"

Delete the "Start in" entry and it will work.

Simply change the text after "ArgumentList" for different shortcuts.



Making A Powershell Shortcut For Invoke Commands

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -Command "Start-Process powershell.exe -verb runas -A...