How do I create a Powershell shortcut to CTT?


  1. Posts : 129
    Windows 10 Pro 22H2
       #1

    How do I create a Powershell shortcut to CTT?


    I might as well ask here. I'm looking to create a Powershell shortcut to:

    irm christitus.com/win | iex

    So I can run this tool without have to run Powershell as an admin and copying and pasting the iex path listed up above all the time.

    What's the best way to do this? He used to have a video to create one but it's gone.
      My Computer


  2. Posts : 818
    Windows 7
       #2

    Create a shortcut with the command:
    Code:
    powershell Start-Process powershell -ArgumentList 'irm christitus.com/win ^| iex' -Verb RunAs

    If you don't want the UAC warning on launch, then create an elevated Scheduled Task wrapper which runs the same command with Admin rights. Make the shortcut run this task instead.

    Creating an elevated Scheduled Task has been covered on several threads on this forum, and ElevenForum.
      My Computer


  3. Posts : 9
    Windows ten
       #3

    Bottom right of the tool you can create a desktop shortcut.How do I create a Powershell shortcut to CTT?-capture.png
      My Computer


  4. Posts : 129
    Windows 10 Pro 22H2
    Thread Starter
       #4

    mikeart said:
    Bottom right of the tool you can create a desktop shortcut.How do I create a Powershell shortcut to CTT?-capture.png
    ~

    Yup, I didn't even see that. Thanks for solving this!
      My Computer


  5. Posts : 9
    Windows ten
       #5

    Your welcome.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:54.
Find Us




Windows 10 Forums