create_desktop_shortcut
1.1.0
matches Windows 11 Dark/Light mode (with an in-app toggle), lets you browse for a .ps1 script,
choose and preview a custom icon (.ico/.exe/.dll), configure PowerShell launch flags (including
Hidden window execution), preview the exact command, and save the resulting .lnk short
matches Windows 11 Dark/Light mode (with an in-app toggle), lets you browse for a .ps1 script,
choose and preview a custom icon (.ico/.exe/.dll), configure PowerShell launch flags (including
Hidden window execution), preview the exact command, and save the resulting .lnk shortcut
directly to the Desktop.
Installation Options
Owners
Package Details
Author(s)
- waresoft
Tags
Functions
Get-SystemDarkMode Apply-StatusStyle Apply-Theme Resolve-IconSpec Update-IconPreview Get-PsArgumentString Update-FormState
Dependencies
This script has no dependencies.
Release Notes
v1.1.0:
- Hid the PowerShell console window when running this utility via hidden relaunch flags and Win32 ShowWindow fallback.
- Added a "Hidden" option to the Window dropdown to create shortcuts that execute target scripts with -WindowStyle Hidden (and start minimized to prevent window flash).
- Automatically disables -NoExit when "Hidden" is selected to prevent orphaned background PowerShell processes.
- Updated the live command preview to reflect -WindowStyle Hidden dynamically.
FileList
- create_desktop_shortcut.nuspec
- create_desktop_shortcut.ps1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 1.1.0 (current version) | 11 | 11/22/2026 |
| 1.0.0 | 9 | 11/22/2026 |