Skip to content

Instantly share code, notes, and snippets.

@kowill
Created August 27, 2015 04:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kowill/9dd5acd041b1f858f7ee to your computer and use it in GitHub Desktop.
Save kowill/9dd5acd041b1f858f7ee to your computer and use it in GitHub Desktop.
Get-NetFirewallRule | `
where {$_.Name -match "MSDTC.*" -and $_.Profile -match "Private"} | `
Set-NetFirewallRule -Enabled true
Get-NetFirewallRule | `
where {$_.DisplayName -match "分散.*" -and $_.Profile -match "Private"} | `
Set-NetFirewallRule -Enabled true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment