admx/adml updated
parent
c5d5ee1b5e
commit
fdde423e72
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<policyDefinitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" revision="4.8" xsi:schemaLocation="" schemaVersion="1.0" xmlns="http://www.microsoft.com/GroupPolicy/PolicyDefinitions">
|
<policyDefinitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" revision="4.9" xsi:schemaLocation="" schemaVersion="1.0" xmlns="http://www.microsoft.com/GroupPolicy/PolicyDefinitions">
|
||||||
<policyNamespaces>
|
<policyNamespaces>
|
||||||
<target prefix="WAU" namespace="Romanitho.Policies.WAU"/>
|
<target prefix="WAU" namespace="Romanitho.Policies.WAU"/>
|
||||||
</policyNamespaces>
|
</policyNamespaces>
|
||||||
|
@ -8,6 +8,7 @@
|
||||||
<definitions>
|
<definitions>
|
||||||
<definition name="SUPPORTED_WAU_1_16_0" displayName="$(string.SUPPORTED_WAU_1_16_0)"/>
|
<definition name="SUPPORTED_WAU_1_16_0" displayName="$(string.SUPPORTED_WAU_1_16_0)"/>
|
||||||
<definition name="SUPPORTED_WAU_1_16_5" displayName="$(string.SUPPORTED_WAU_1_16_5)"/>
|
<definition name="SUPPORTED_WAU_1_16_5" displayName="$(string.SUPPORTED_WAU_1_16_5)"/>
|
||||||
|
<definition name="SUPPORTED_WAU_1_17_0" displayName="$(string.SUPPORTED_WAU_1_17_0)"/>
|
||||||
</definitions>
|
</definitions>
|
||||||
</supportedOn>
|
</supportedOn>
|
||||||
<categories><category displayName="$(string.WAU)" name="WAU"/></categories>
|
<categories><category displayName="$(string.WAU)" name="WAU"/></categories>
|
||||||
|
@ -352,7 +353,7 @@
|
||||||
</policy>
|
</policy>
|
||||||
<policy name="UserApproval_Enable" class="Machine" displayName="$(string.UserApproval_Name)" explainText="$(string.UserApproval_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" valueName="WAU_UserApproval">
|
<policy name="UserApproval_Enable" class="Machine" displayName="$(string.UserApproval_Name)" explainText="$(string.UserApproval_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" valueName="WAU_UserApproval">
|
||||||
<parentCategory ref="WAU"/>
|
<parentCategory ref="WAU"/>
|
||||||
<supportedOn ref="WAU:SUPPORTED_WAU_1_16_0"/>
|
<supportedOn ref="WAU:SUPPORTED_WAU_1_17_0"/>
|
||||||
<enabledValue>
|
<enabledValue>
|
||||||
<decimal value="1" />
|
<decimal value="1" />
|
||||||
</enabledValue>
|
</enabledValue>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<policyDefinitionResources xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" revision="4.8" schemaVersion="1.0" xmlns="http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions">
|
<policyDefinitionResources xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" revision="4.9" schemaVersion="1.0" xmlns="http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions">
|
||||||
<displayName>WinGet-AutoUpdate</displayName>
|
<displayName>WinGet-AutoUpdate</displayName>
|
||||||
<description>WinGet-AutoUpdate GPO Management</description>
|
<description>WinGet-AutoUpdate GPO Management</description>
|
||||||
<resources >
|
<resources >
|
||||||
|
@ -7,6 +7,7 @@
|
||||||
<string id="WAU">Winget-AutoUpdate</string>
|
<string id="WAU">Winget-AutoUpdate</string>
|
||||||
<string id="SUPPORTED_WAU_1_16_0">Winget-AutoUpdate version 1.16.0 or later</string>
|
<string id="SUPPORTED_WAU_1_16_0">Winget-AutoUpdate version 1.16.0 or later</string>
|
||||||
<string id="SUPPORTED_WAU_1_16_5">Winget-AutoUpdate version 1.16.5 or later</string>
|
<string id="SUPPORTED_WAU_1_16_5">Winget-AutoUpdate version 1.16.5 or later</string>
|
||||||
|
<string id="SUPPORTED_WAU_1_17_0">Winget-AutoUpdate version 1.17.0 or later</string>
|
||||||
<string id="ActivateGPOManagement_Name">Activate WAU GPO Management</string>
|
<string id="ActivateGPOManagement_Name">Activate WAU GPO Management</string>
|
||||||
<string id="ActivateGPOManagement_Explain">This policy setting is an overriding toggle for GPO Management of Winget-AutoUpdate.</string>
|
<string id="ActivateGPOManagement_Explain">This policy setting is an overriding toggle for GPO Management of Winget-AutoUpdate.</string>
|
||||||
<string id="BypassListForUsers_Name">Bypass Black/White list for User</string>
|
<string id="BypassListForUsers_Name">Bypass Black/White list for User</string>
|
||||||
|
|
|
@ -243,7 +243,7 @@ if (Test-Network) {
|
||||||
#Check for approved tag
|
#Check for approved tag
|
||||||
$WAUNotifApproved = "$WorkingDir/Config/NotifApproved.txt"
|
$WAUNotifApproved = "$WorkingDir/Config/NotifApproved.txt"
|
||||||
if (Test-Path $WAUNotifApproved) {
|
if (Test-Path $WAUNotifApproved) {
|
||||||
Write-ToLog "-> User approved notification."
|
Write-ToLog "-> User approved update notification."
|
||||||
Remove-Item $WAUNotifApproved -Force -Confirm:$false
|
Remove-Item $WAUNotifApproved -Force -Confirm:$false
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue