\New-Shortcut -sourceExe 'c:\windows\system32\windowspowershell\v1.0\powershell.exe' -DestinationLinkName $env:userprofile\desktop\powershell. \New-ShortCut -sourceExe 'c:\windows\System32\mmc.exe' -arguments 'compmgmt.msc' -DestinationLinkName $env:userprofile\desktop\ComputerManagement.lnk $DestinationLinkName = '' -f $IconPath,$IconIndexNumber PowerShell command to PIN apps to Windows taskbar Im looking for a PowerShell command or script that will pin these applications that I commonly use to the Windows taskbar at the bottom of Windows. (Test-Path -path $_) -and ( (Get-Item -path $_).PSIsContainer ) Someone wrote the following script which needs just a few more modifications until it will work properly: This script will mostly be used in environments where I don't have access to Active Directory or Group Policy but where I can have the AD team put in a PowerShell script to run one time on several servers or where I will be running this PowerShell script whenever necessary on the individual servers and workstations that I am customizing. Path: %windir%\system32\inetsrv\InetMgr.exe The Internet Information Services (IIS) Manager icon. The Task Scheduler icon Path: %windir%\system32\taskschd.msc Path: %windir%\System32\WindowsPowerShell\v1.0\powershell.exe (I have included the path to these programs):Ĭomputer management. I'm looking for a PowerShell command or script that will pin these applications that I commonly use to the Windows taskbar at the bottom of Windows.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |