Net Security

This reference provides cmdlet descriptions and syntax for all Network Security cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.

netsecurity

Copy-Net Firewall Rule

Copies an entire firewall rule, and associated filters, to the same or to a different policy store.

Copy-Net IPsec Main Mode Crypto Set

Copies an entire main mode cryptographic set to the same or to a different policy store.

Copy-Net IPsec Main Mode Rule

Copies an entire main mode rule, and associated filters, to the same or to a different policy store.

Copy-Net IPsec Phase1Auth Set

Copies an entire phase 1 authentication set to the same or to a different policy store.

Copy-Net IPsec Phase2Auth Set

Copies an entire phase 2 authentication set to the same or to a different policy store.

Copy-Net IPsec Quick Mode Crypto Set

Copies an entire quick mode cryptographic set to the same or to a different policy store.

Copy-Net IPsec Rule

Copies an entire IPsec rule, and the associated filters, to the same or to a different policy store.

Disable-Net Firewall Rule

Disables a firewall rule.

Disable-Net IPsec Main Mode Rule

Disables a main mode rule.

Disable-Net IPsec Rule

Disables an IPsec rule.

Enable-Net Firewall Rule

Enables a previously disabled firewall rule.

Enable-Net IPsec Main Mode Rule

Enables a previously disabled main mode rule.

Enable-Net IPsec Rule

Enables a previously disabled IPsec rule.

Find-Net IPsec Rule

Gets IPsec rules that match specified criteria.

Get-DAPolicy Change

Gets a list of IP addresses that need to be added and deleted to an IPsec rule based on the differences detected between the IP addresses for the existing rule and the IP addresses derived from the input parameters, and creates a Windows PowerShell® script (.ps1) that updates the IPsec rule in the appropriate policy stores.

Get-Net Firewall Address Filter

Retrieves address filter objects from the target computer.

Get-Net Firewall Application Filter

Retrieves application filter objects from the target computer.

Get-Net Firewall Interface Filter

Retrieves interface filter objects from the target computer.

Get-Net Firewall Interface Type Filter

Retrieves interface type filter objects from the target computer.

Get-Net Firewall Port Filter

Retrieves port filter objects from the target computer.

Get-Net Firewall Profile

Displays settings that apply to the per-profile configurations of the Windows Firewall with Advanced Security.

Get-Net Firewall Rule

Retrieves firewall rules from the target computer.

Get-Net Firewall Security Filter

Retrieves security filter objects from the target computer.

Get-Net Firewall Service Filter

Retrieves service filter objects from the target computer.

Get-Net Firewall Setting

Retrieves the global firewall settings of the target computer.

Get-Net IPsec Dosp Setting

Retrieves IPsec DoS protection settings from the target computer.

Get-Net IPsec Main Mode Crypto Set

Gets main mode cryptographic sets from the target computer.

Get-Net IPsec Main Mode Rule

Gets the IPsec main mode rules from the target computer.

Get-Net IPsec Main ModeSA

Returns active main mode security associations (SA) from the target computer.

Get-Net IPsec Phase1Auth Set

Gets a phase 1 authentication set from the target computer.

Get-Net IPsec Phase2Auth Set

Gets a phase 2 authorization set from the target computer.

Get-Net IPsec Quick Mode Crypto Set

Gets a quick mode cryptographic set from the target computer.

Get-Net IPsec Quick ModeSA

Returns active quick mode security associations (SAs) from the target computer.

Get-Net IPsec Rule

Gets an IPsec rule from the target computer.

New-Net Firewall Rule

Creates a new inbound or outbound firewall rule and adds the rule to the target computer.

New-Net IPsec Auth Proposal

Creates a main mode authentication proposal that specifies a suite of authentication protocols to offer in IPsec main mode negotiations with other computers.

New-Net IPsec Dosp Setting

Creates an IPsec DoS protection setting and adds the setting to the target computer.

New-Net IPsec Main Mode Crypto Proposal

Creates a main mode cryptographic proposal that specifies a suite of cryptographic protocols to offer in IPsec main mode negotiations with other computers.

New-Net IPsec Main Mode Crypto Set

Creates a main mode cryptographic set that contains suites of cryptographic protocols to offer in IPsec main mode negotiations with other computers.

New-Net IPsec Main Mode Rule

Creates an IPsec main mode rule that tells the computer which peers require IPsec security associations (SAs) for securing network traffic, and how to negotiate those SAs.

New-Net IPsec Phase1Auth Set

Creates a phase 1 authentication set that specifies the methods offered for main mode first authentication during IPsec negotiations.

New-Net IPsec Phase2Auth Set

Creates a phase 2 authentication set that specifies the methods offered for second user authentication during IPsec negotiations.

New-Net IPsec Quick Mode Crypto Proposal

Creates a quick mode cryptographic proposal that specifies a suite of cryptographic protocols to offer in IPsec quick mode negotiations with other computers.

New-Net IPsec Quick Mode Crypto Set

Creates a quick mode cryptographic set that contains suites of cryptographic protocols to offer in IPsec quick mode negotiations with other computers.

New-Net IPsec Rule

Creates an IPsec rule that defines security requirements for network connections that match the specified criteria.

Open-NetGPO

Creates a cached copy of the Group Policy Object (GPO) to modify locally.

Remove-Net Firewall Rule

Deletes one or more firewall rules that match the specified criteria.

Remove-Net IPsec Dosp Setting

Deletes existing IPsec Dosp configurations.

Remove-Net IPsec Main Mode Crypto Set

Deletes any main mode cryptographic sets that match the specified criteria.

Remove-Net IPsec Main Mode Rule

Deletes any main mode rules that match the specified criteria.

Remove-Net IPsec Main ModeSA

Removes an active main mode security association (SA).

Remove-Net IPsec Phase1Auth Set

Deletes all of the phase 1 authentication sets that match the specified criteria.

Remove-Net IPsec Phase2Auth Set

Deletes all of the phase 2 authentication sets that match the specified criteria.

Remove-Net IPsec Quick Mode Crypto Set

Deletes all of the quick mode cryptographic sets that match the specified criteria.

Remove-Net IPsec Quick ModeSA

Deletes an established quick mode security association (SA).

Remove-Net IPsec Rule

Defines security requirements for network connections that match the specified criteria.

Rename-Net Firewall Rule

Renames a single IPsec rule.

Rename-Net IPsec Main Mode Crypto Set

Renames a single main mode cryptographic set.

Rename-Net IPsec Main Mode Rule

Renames a single main mode rule.

Rename-Net IPsec Phase1Auth Set

Renames a single phase 1 authentication set.

Rename-Net IPsec Phase2Auth Set

Renames a single phase 2 authentication set.

Rename-Net IPsec Quick Mode Crypto Set

Renames a single quick mode cryptographic set.

Rename-Net IPsec Rule

Renames a single IPsec rule.

Save-NetGPO

Applies the modified cached local Group Policy Object (GPO) to the actual GPO.

Set-Net Firewall Address Filter

Modifies address filter objects, thereby modifying the local and remote address conditions of the firewall, IPsec, and main mode rules.

Set-Net Firewall Application Filter

Modifies application filter objects, thereby modifying the program and package conditions of the firewall rules.

Set-Net Firewall Interface Filter

Modifies interface filter objects, thereby modifying the InterfaceAlias parameter values of the firewall or IPsec rules.

Set-Net Firewall Interface Type Filter

Modifies interface type filter objects, thereby modifying the interface type conditions of the firewall or IPsec rules.

Set-Net Firewall Port Filter

Modifies port filter objects, thereby modifying the protocol and port conditions using the Protocol, LocalPort, RemotePort, IcmpType, and DynamicTransport parameters of the firewall or IPsec rules.

Set-Net Firewall Profile

Configures settings that apply to the per-profile configurations of the Windows Firewall with Advanced Security.

Set-Net Firewall Rule

Modifies existing firewall rules.

Set-Net Firewall Security Filter

Modifies security filter objects, thereby modifying the Authentication, Encryption, OverrideBlockRules, LocalUser, RemoteUser, and RemoteMachine conditions of the firewall rules.

Set-Net Firewall Service Filter

Modifies service filter objects, thereby modifying the service conditions of the firewall rules.

Set-Net Firewall Setting

Modifies the global firewall settings of the target computer.

Set-Net IPsec Dosp Setting

Modifies existing IPsec Dos protection settings.

Set-Net IPsec Main Mode Crypto Set

Modifies existing main mode cryptographic sets.

Set-Net IPsec Main Mode Rule

Modifies existing main mode rules.

Set-Net IPsec Phase1Auth Set

Modifies existing phase 1 authentication sets.

Set-Net IPsec Phase2Auth Set

Modifies existing phase 2 authentication sets.

Set-Net IPsec Quick Mode Crypto Set

Modifies existing quick mode cryptographic sets.

Set-Net IPsec Rule

Modifies existing IPsec rules.

Show-Net Firewall Rule

Displays all of the existing IPsec rules and associated objects in a fully expanded view.

Show-Net IPsec Rule

Displays all of the existing IPsec rules and associated objects in a fully expanded view.

Sync-Net IPsec Rule

Gets the list of IP addresses to be added and deleted to an IPsec rule based on the differences detected between the existing rule IP addresses and the specified IP addresses.

Update-Net IPsec Rule

Updates an IPsec rule by adding or removing a set of IP addresses.