Skip to content

Commit

Permalink
Update Sophia.psm1
Browse files Browse the repository at this point in the history
Enable firewall rule to block DiagTrack.

farag2#499
  • Loading branch information
savchenko authored Jun 11, 2023
1 parent 1ec329d commit e5acd62
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -957,7 +957,7 @@ function DiagTrackService
Get-Service -Name DiagTrack | Set-Service -StartupType Disabled

# Block connection for the Unified Telemetry Client Outbound Traffic
Get-NetFirewallRule -Group DiagTrack | Set-NetFirewallRule -Enabled False -Action Block
Get-NetFirewallRule -Group DiagTrack | Set-NetFirewallRule -Enabled True -Action Block
}
"Enable"
{
Expand Down

0 comments on commit e5acd62

Please sign in to comment.