added script

This commit is contained in:
2022-03-31 16:26:28 -04:00
parent b89698c911
commit 917cfe6627
+5
View File
@@ -0,0 +1,5 @@
# Note: Run this script as SYSTEM and make sure the affected user is LOGGED OFF!
$User = '[{UserDirectoryName]}'
Get-ChildItem -Path "${Env:SystemDrive}\Users\${User}\AppData\Local\Packages" -Directory -Filter "Microsoft.AAD.BrokerPlugin_*" | ForEach-Object { Rename-Item $_.FullName $($_.FullName + ".old") }