wingetautoupdate/Winget-AutoUpdate/functions/Get-ExcludedApps.ps1

11 lines
193 B
PowerShell
Raw Normal View History

2022-04-13 16:50:06 +00:00
#Function to get Black List apps
2022-03-14 13:55:02 +00:00
function Get-ExcludedApps{
2022-04-13 16:50:06 +00:00
2022-03-14 13:55:02 +00:00
if (Test-Path "$WorkingDir\excluded_apps.txt"){
2022-04-13 16:50:06 +00:00
2022-03-14 13:55:02 +00:00
return Get-Content -Path "$WorkingDir\excluded_apps.txt"
2022-04-13 16:50:06 +00:00
2022-03-14 13:55:02 +00:00
}
2022-04-13 16:50:06 +00:00
2022-03-14 13:55:02 +00:00
}