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 "apply" and it will work.

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



Task Scheduler Stuff

I wanted an AutoHotKey script to start as Admin at boot and avoid UAC prompt. It is a v1 script. Create a task & a shortcut to the task ...