Useful Network Firewall Commands

Set-NetFirewallRule -Name RemoteDesktop-UserMode-In-TCP -Localport 9473

Set-NetFirewallRule -Name RemoteDesktop-UserMode-In-TCP -Localport 3389

Get-NetFirewallRule -All
Get-NetFirewallRule -All | Format-Table
Get-NetFirewallRule -Displaygroup ‘File and Printer Sharing’ | Format-Table
Get-NetFirewallRule -Displaygroup ‘Remote Desktop’

Turn Off:
NetSh Advfirewall set allprofiles state off

Turn On:
NetSh Advfirewall set allprofiles state on

status of Windows Firewall:
Netsh Advfirewall show allprofiles

Previous articleTamil fonts
Next articleI am Vijay Sangarramu

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Discover

Sponsor

spot_imgspot_img

Latest

Useful Network Firewall Commands

Set-NetFirewallRule -Name RemoteDesktop-UserMode-In-TCP -Localport 9473 Set-NetFirewallRule -Name RemoteDesktop-UserMode-In-TCP -Localport 3389 Get-NetFirewallRule -AllGet-NetFirewallRule -All | Format-TableGet-NetFirewallRule -Displaygroup 'File and Printer Sharing' | Format-TableGet-NetFirewallRule -Displaygroup 'Remote Desktop' Turn Off:NetSh...