Skip to content

Instantly share code, notes, and snippets.

View 2art's full-sized avatar
🏠
Working from home

2art 2art

🏠
Working from home
  • Finland
View GitHub Profile
@2art
2art / New-Shortcut.ps1
Created March 13, 2025 08:37
New-Shortcut (PowerShell Function for Creating Shortcuts on Windows)
##
## This is the initial working state version. It may be updated in the future; Check the
## repository at: https://github.com/2art/PowerShellFunction_New-Shortcut
##
function New-Shortcut() {
<#
.SYNOPSIS
Creates a new shortcut pointing to the specified file or directory, with