Skip to main content
100%

Gist b9433f6b51b1a8df2251968500ea421e

✓ Published0🌍 Public
Aanemochore
Last edited Aug 17, 2020
Created on Sep 23, 2024

This example provides a PowerShell script that adds Windows Terminal shortcuts to the Win+X context menu. It shows how to create both an administrator and a normal shortcut in the Group3 folder, using the WScript.Shell COM object to set display names and manually modifying shortcut file bytes to enable the "Run as administrator" flag. The script downloads a pre-hashed .lnk file that references Windows Terminal by its ApplicationId, ensuring compatibility across installations, and includes an optional variant to replace Command Prompt entries.

AI-generated description

Similar vizzes