mirror of
https://github.com/Sycnex/Windows10Debloater.git
synced 2024-11-24 11:45:29 +00:00
Added ForEach loop.
This commit is contained in:
parent
003ba5edb1
commit
57c155e220
@ -29,3 +29,10 @@ $Keys = @(
|
|||||||
|
|
||||||
#Windows Share Target
|
#Windows Share Target
|
||||||
"HKCR:\Extensions\ContractId\Windows.ShareTarget\PackageId\ActiproSoftwareLLC.562882FEEB491_2.6.18.18_neutral__24pqs290vpjk0"
|
"HKCR:\Extensions\ContractId\Windows.ShareTarget\PackageId\ActiproSoftwareLLC.562882FEEB491_2.6.18.18_neutral__24pqs290vpjk0"
|
||||||
|
)
|
||||||
|
|
||||||
|
#This writes the output of each key it is removing and also removes the keys listed above.
|
||||||
|
ForEach ($Key in $Keys) {
|
||||||
|
Write-Output "Removing $Key from registry"
|
||||||
|
Remove-Item $Key -Recurse
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user