Skip to content

proxb/PinnedItem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PinnedApplications

PowerShell module to support pinning items to the Taskbar and Start Menu

Running PowerShell V5? Run this to install the module:

Install-Module -Name PinnedItem

###Examples

Get-PinnedItem
 New-PinnedItem -TargetPath "C:\Program Files (x86)\Internet Explorer\iexplore.exe" -Type TaskBar
$TargetPath = 'PowerShell.exe'
$ShortCutPath = 'WinDbg.lnk'
$Argument = "-ExecutionPolicy Bypass -NoProfile -NoLogo -Command `"& 'C:\users\proxb\desktop\Windbg.exe'`""
$Icon = 'C:\users\proxb\desktop\Windbg.exe'
New-PinnedItem -TargetPath $TargetPath -ShortCutPath $ShortcutPath -Argument $Argument -Type TaskBar -IconLocation $Icon
Get-PinnedItem -Type StartMenu | Where {$_.Name -eq 'Snipping Tool'} | Remove-PinnedItem

About

PowerShell module to support pinning items to the Taskbar and Start Menu

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published