parent
28bb1845d4
commit
1fc9589998
|
@ -58,6 +58,7 @@ Run WAU on metered connection. Default No.
|
||||||
param(
|
param(
|
||||||
[Parameter(Mandatory = $False)] [Alias('S')] [Switch] $Silent = $false,
|
[Parameter(Mandatory = $False)] [Alias('S')] [Switch] $Silent = $false,
|
||||||
[Parameter(Mandatory = $False)] [Alias('Path')] [String] $WingetUpdatePath = "$env:ProgramData\Winget-AutoUpdate",
|
[Parameter(Mandatory = $False)] [Alias('Path')] [String] $WingetUpdatePath = "$env:ProgramData\Winget-AutoUpdate",
|
||||||
|
[Parameter(Mandatory = $False)] [Alias('List')] [String] $ListPath = $WingetUpdatePath,
|
||||||
[Parameter(Mandatory = $False)] [Switch] $DoNotUpdate = $false,
|
[Parameter(Mandatory = $False)] [Switch] $DoNotUpdate = $false,
|
||||||
[Parameter(Mandatory = $False)] [Switch] $DisableWAUAutoUpdate = $false,
|
[Parameter(Mandatory = $False)] [Switch] $DisableWAUAutoUpdate = $false,
|
||||||
[Parameter(Mandatory = $False)] [Switch] $RunOnMetered = $false,
|
[Parameter(Mandatory = $False)] [Switch] $RunOnMetered = $false,
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
#Function to check Black/White List
|
||||||
|
|
||||||
|
function Test-ListPath ($ListPath, $UseWhiteList) {
|
||||||
|
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue