pull/339/head^2
Romain 2023-04-23 16:25:05 +02:00 committed by GitHub
parent 4a798d02e4
commit 0363e21edb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -154,7 +154,7 @@ Specify the update frequency: Daily (Default), BiDaily, Weekly, BiWeekly, Monthl
**-UpdatesAtTime**
Specify the time of the update interval execution time. Default 6AM. (From version 1.15.0).
**WAU_UserApproval**
**-UserApproval**
Specify if user approval is needed before updating apps
**-RunOnMetered**

View File

@ -67,6 +67,9 @@ Run WAU on metered connection. Default No.
.PARAMETER InstallUserContext
Install WAU with system and user context executions
.PARAMETER UserApproval
Specify if user approval is needed before updating apps
.PARAMETER BypassListForUsers
Configure WAU to bypass the Black/White list when run in user context
@ -374,7 +377,7 @@ function Install-WingetAutoUpdate {
if ($BypassListForUsers) {
New-ItemProperty $regPath -Name WAU_BypassListForUsers -Value 1 -PropertyType DWord -Force | Out-Null
}
if ($WAU_UserApproval) {
if ($UserApproval) {
New-ItemProperty $regPath -Name WAU_UserApproval -Value 1 -PropertyType DWord -Force | Out-Null
}