Parameter + Function $ListPath

pull/166/head
KnifMelti 2022-09-17 21:22:41 +02:00
parent 6ccd9e4470
commit d30271249a
2 changed files with 7 additions and 0 deletions

View File

@ -58,6 +58,7 @@ Run WAU on metered connection. Default No.
param(
[Parameter(Mandatory = $False)] [Alias('S')] [Switch] $Silent = $false,
[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] $DisableWAUAutoUpdate = $false,
[Parameter(Mandatory = $False)] [Switch] $RunOnMetered = $false,

View File

@ -0,0 +1,6 @@
#Function to check Black/White List Path
function Test-ListPath ($ListPath, $UseWhiteList) {
}