create_desktop_shortcut

2.0.0

A standalone, Windows 11 Fluent WPF GUI utility for creating .lnk Desktop shortcuts for PowerShell (.ps1) scripts, supporting Windows PowerShell 5.1 and PowerShell 7.x (pwsh.exe), adaptive Auto/Dark/Light themes, a visual icon grid picker with live preview, drag-and-drop, UAC elevation patching, and completely windowless background execution.


Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name create_desktop_shortcut

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2026 waresoft. All rights reserved.

Package Details

Author(s)

  • waresoft

Tags

PowerShell Shortcut ShortcutCreator DesktopShortcut LNK Launcher GUI WPF FluentDesign Windows Desktop Utility Automation DarkMode UAC Elevation ExecutionPolicy HiddenWindow pwsh PowerShell7

Functions

Get-WindowsIsDarkMode Resolve-UseDarkMode Get-Pwsh7Info Invoke-AsyncTask Show-IconPickerDialog Set-Status Apply-ActiveTheme

Dependencies

This script has no dependencies.

Release Notes

v2.0.0:
Complete ground-up UI rebuild from WinForms to WPF with Windows 11 Fluent Design.
- Fluent WPF Interface: Replaced WinForms with XAML-based Fluent UI using an INotifyPropertyChanged ThemeManager, Segoe Fluent Icons, rounded cards, slim scrollbars, and native high-DPI scaling.
- Live Adaptive Theme Sync: Added Auto / Dark / Light segmented pill switcher with live Windows theme change sync (UserPreferenceChanged), DWM dark title bars, and rounded window corners.
- Built-In Visual Icon Grid Picker: Added visual browsing and index filtering for .dll, .exe, and .ico files with quick presets for imageres.dll, shell32.dll, ddores.dll, and pifmgr.dll.
- Drag-and-Drop Support: Drop any .ps1 script directly onto the window to populate the target path and shortcut name.
- Zero-Dependency PowerShell 7.x Compilation: Removed System.Drawing dependencies from inline C# by passing explicit WPF assembly references and converting HICONs natively via Imaging.CreateBitmapSourceFromHIcon.
v1.2.1:
- Fixed PowerShell 7.x High-DPI & Multi-Resolution Rendering and rebuilt responsive 3-zone layout.
v1.2.0:
- Aligned PowerShell 5.1 / 7.x mode selection, Get-Pwsh7Info detection, inline status indicator, and background winget/GitHub MSI installation with PSGallery-Manager.
v1.1.0:
- Hid the PowerShell console window and added the Hidden window launch mode.

FileList

Version History

Version Downloads Last updated
2.0.0 (current version) 12 11/29/2026
1.2.1 14 11/27/2026
1.2.0 12 11/26/2026
1.1.0 12 11/22/2026
1.0.0 9 11/22/2026