Skip to content

Instantly share code, notes, and snippets.

@ecspresso
ecspresso / drscripto_rss_pushbullet.ps1
Created November 22, 2019 10:44
Get updates from Dr Scripto via PushBullet
$path = "$PSScriptRoot\drscripto_LastSeen.txt"
$apikey = '' # Secure String
if(-not (Test-Path -Path $path)) {
$null | Out-File $path
}
$latest = Get-Content $path
$rss = Invoke-RestMethod -Uri 'https://blogs.technet.microsoft.com/heyscriptingguy/feed/' | Select-Object -First 1
@ecspresso
ecspresso / fixnewwindows.ps1
Created September 12, 2018 08:35
Remove annyoing stuff from Windows 10
#https://superuser.com/questions/1068382/how-to-remove-all-the-tiles-in-the-windows-10-start-menu
#Remove all pins
(New-Object -Com Shell.Application).
NameSpace('shell:::{4234d49b-0245-4df3-b780-3893943456e1}').Items() |
%{ $_.Verbs() } |
?{$_.Name -match 'Un.*pin from Start'} |
%{$_.DoIt()}
# Remove all Win10 store apps
Get-AppxPackage -AllUsers | where-object {$_.name –notlike “*store*”} | Remove-AppxPackage