![]() 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\ ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |