Example delete
parent
f460b26fe3
commit
f087b13410
|
@ -12,8 +12,7 @@ $App = ""
|
||||||
#Beginning of Desktop Link Name to Remove - optional wildcard (*) after, without .lnk, multiple: "lnk1","lnk2"
|
#Beginning of Desktop Link Name to Remove - optional wildcard (*) after, without .lnk, multiple: "lnk1","lnk2"
|
||||||
$Lnk = @("")
|
$Lnk = @("")
|
||||||
|
|
||||||
#Registry _value_ (DWord/String) to add in existing registry Key
|
#Registry _value_ (DWord/String) to add in existing registry Key. Example:
|
||||||
#Example:
|
|
||||||
#$AddKey = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Winget-AutoUpdate"
|
#$AddKey = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Winget-AutoUpdate"
|
||||||
#$AddValue = "WAU_BypassListForUsers"
|
#$AddValue = "WAU_BypassListForUsers"
|
||||||
#$AddTypeValue = "1"
|
#$AddTypeValue = "1"
|
||||||
|
@ -23,8 +22,7 @@ $AddValue = ""
|
||||||
$AddTypeValue = ""
|
$AddTypeValue = ""
|
||||||
$AddType = ""
|
$AddType = ""
|
||||||
|
|
||||||
#Registry _value_ to delete in existing registry Key
|
#Registry _value_ to delete in existing registry Key. Example:
|
||||||
#Example:
|
|
||||||
#$DelKey = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Winget-AutoUpdate"
|
#$DelKey = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Winget-AutoUpdate"
|
||||||
#$DelValue = "WAU_BypassListForUsers"
|
#$DelValue = "WAU_BypassListForUsers"
|
||||||
$DelKey = ""
|
$DelKey = ""
|
||||||
|
|
Loading…
Reference in New Issue