Skip to content

Commit

Permalink
New script
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-s-taylor committed Sep 21, 2023
1 parent 7c2ce8e commit 203f056
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Remove-WindowsBackup/detect-backup.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
$filepath = "C:\Windows\SystemApps\MicrosoftWindows.Client.CBS_cw5n1h2txyewy\WindowsBackup\Assets"
if (Test-Path $filepath) {
write-host "It's there, kill it"
exit 1
}
else {
write-host "All good, relax"
exit 0
}
1 change: 1 addition & 0 deletions Remove-WindowsBackup/remediate-backup.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove-WindowsPackage -Online -PackageName "Microsoft-Windows-UserExperience-Desktop-Package~31bf3856ad364e35~amd64~~10.0.19041.3393"

0 comments on commit 203f056

Please sign in to comment.