Skip to content

Instantly share code, notes, and snippets.

@JaekelEDV
Created September 10, 2020 19:38
Show Gist options
  • Save JaekelEDV/aa2c7874f2622be0656f0b1a2e62aa2e to your computer and use it in GitHub Desktop.
Save JaekelEDV/aa2c7874f2622be0656f0b1a2e62aa2e to your computer and use it in GitHub Desktop.
Get plum.sqlite from StickyNotes with Powershell
#Install-Module -Name PSSQLite
$database = $env:LOCALAPPDATA + "\Packages\Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe\LocalState\plum.sqlite"
$query = "SELECT * FROM Note LIMIT 100"
Invoke-SqliteQuery -DataSource $database -Query $query > $env:USERPROFILE\Desktop\notes.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment