Tag Archives: Sticky Notes

[PS] Add/Remove Sticky Notes

Hello world!

This script might be useful if access to Microsoft Store is blocked for all users, then the only way to retrieve apps that have been removed or is missing, is to add them using Powershell. This is specifically for Sticky Notes.

In order to install Sticky Notes, you must first know the full name of the package, and to retrieve that, you have to have Sticky Notes installed. It’s a catch-22, i know. But you could probably run the retrieve-command at another computer to get your PackageFullName. Anyway, here’s how it’s done…



 

Install Sticky Notes: (new method)


$PackageFullName = (Get-AppxPackage | Where-Object {$_.PackageFullName -Like "*MicrosoftStickyNotes*"}).PackageFullName
Add-AppxPackage -register "C:\Program Files\WindowsApps\$PackageFullName\appxmanifest.xml" -DisableDevelopmentMode

 

Remove Sticky Notes:

Get-AppxPackage *stickynotes* | Remove-AppxPackage

 

Must be run as currently signed in user, not with an elevated admin account.

Verified to work on Windows 10 1703, 1709 & 1803 – comment down below if you get any errors.

 

Check out my new article

[PS] Top Ten Simple Powershell commands every IT-admin should know