restruct
|
@ -1,10 +1,9 @@
|
|||
Google.Chrome
|
||||
Microsoft.Edge
|
||||
Microsoft.EdgeWebView2Runtime
|
||||
Google.Chrome*
|
||||
Microsoft.Edge*
|
||||
Microsoft.Office
|
||||
Microsoft.OneDrive
|
||||
Microsoft.Teams
|
||||
Microsoft.Teams.Classic
|
||||
Mozilla.Firefox*
|
||||
TeamViewer.TeamViewer*
|
||||
Microsoft.RemoteDesktopClient
|
||||
Microsoft.Teams*
|
||||
Mozilla.Firefox*
|
||||
Opera.Opera*
|
||||
TeamViewer.TeamViewer*
|
|
@ -16,21 +16,21 @@ function Get-ExcludedApps {
|
|||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
#endregion blacklist in registry
|
||||
#region blacklist pulled from URI
|
||||
elseif ($URIList) {
|
||||
|
||||
$RegPath = "$WAU_GPORoot";
|
||||
$RegValueName = 'WAU_URIList';
|
||||
|
||||
|
||||
if (Test-Path -Path $RegPath) {
|
||||
$RegKey = Get-Item -Path $RegPath;
|
||||
$WAUURI = $RegKey.GetValue($RegValueName);
|
||||
if ($null -ne $WAUURI) {
|
||||
$resp = Invoke-WebRequest -Uri $WAUURI -UseDefaultCredentials;
|
||||
if ($resp.BaseResponse.StatusCode -eq [System.Net.HttpStatusCode]::OK) {
|
||||
$resp.Content.Split([System.Environment]::NewLine, [System.StringSplitOptions]::RemoveEmptyEntries) |
|
||||
$resp.Content.Split([System.Environment]::NewLine, [System.StringSplitOptions]::RemoveEmptyEntries) |
|
||||
ForEach-Object {
|
||||
$AppIds += $_
|
||||
}
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |