totalvision.blogg.se

Pin calculator to taskbar
Pin calculator to taskbar








pin calculator to taskbar

The example below demonstrates how you can pin Notepad to the Taskbar: PS C:\> Set-PinnedApplication -Action PinToTaskbar -FilePath C:\Windows\system32\notepad.exe However, in my tests, the actions PinToStartMenu and UnPinFromStartMenu didn’t work on Windows 8.1 but worked well on a Windows 7 machine. I tried the module with Windows 8.1, and it appears to work fine for pinning and unpinning apps to the Taskbar. The synopsis indicates that the cmdlet was made for Windows 7 and Windows 2008 R2. With Get-Help Set-PinnedApplication, you get an overview of the cmdlet.

pin calculator to taskbar

PS C:\> Get-Command -Module PinnedApplicationsįunction Set-PinnedApplication PinnedApplicationsįrom now on, you can use Set-PinnedApplication to pin and unpin apps to the Windows Taskbar. Use the Get-Command cmdlet to check what commands the module contains. If no error message appears, you are fine. Next, you can import the module with the Import-Module cmdlet. Make sure your execution policy is set to unrestricted (Set-ExecutionPolicy Unrestricted). This would be the file path: C:\Users\Administrator\Documents\WindowsPowerShell\Modules\PinnedApplications\PinnedApplications.psm1 You have to create a folder with the name PinnedApplications in the module folder and then save the file as PinnedApplications.psm1 to this folder. In this example, we use C:\Users\Administrator\Documents\WindowsPowerShell\Modules. C:\Users\administrator\Documents\WindowsPowerShell\Modules C:\Program Files\WindowsPowerShell\Modules C:\Windows\system32\WindowsPowerShell\v1.0\Modules\










Pin calculator to taskbar