26 C
Singapore
Tuesday, March 28, 2023
HomeTechUseful Network Firewall Commands

Useful Network Firewall Commands

Date:

Related stories

Powershell command to add user/group into local Administrators

Add-LocalGroupMember -Group "Administrators" -Member "domainuser or group," "additional users...

Important Powershell commands

Get-CommandGet-HelpGet-ProcessStart-JobConvertTo-HTMLOut-FileExport-CSVStop-ProcessGet-ServiceGet-History

SYMRDF failover /failback commands

symrdf -g mydg establish -full symrdf -g mydg query symrdf -g mydg split

Storage Administrator CLI commands

Using the ssacli tool Command short and long names All commands have a...
spot_imgspot_img

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

Subscribe

- Never miss a story with notifications

- Gain full access to our premium content

- Browse free from up to 5 devices at once

Latest stories

spot_img

LEAVE A REPLY

Please enter your comment!
Please enter your name here