Remove Windows Server 2016 related code from the repository (#5994)

This commit is contained in:
Aleksandr Chebotov
2022-08-01 15:35:36 +02:00
committed by GitHub
parent 493f3c3ee1
commit 8c24b03a8d
26 changed files with 36 additions and 1516 deletions

View File

@@ -19,12 +19,10 @@ $avPreference = @(
@{DisableRealtimeMonitoring = $true}
)
if (-not (Test-IsWin16)) {
$avPreference += @(
@{EnableControlledFolderAccess = "Disable"}
@{EnableNetworkProtection = "Disabled"}
)
}
$avPreference += @(
@{EnableControlledFolderAccess = "Disable"}
@{EnableNetworkProtection = "Disabled"}
)
$avPreference | Foreach-Object {
$avParams = $_