Network Address Translation (NAT) Cmdlets in Windows PowerShell

Windows PowerShell® è una shell della riga di comando basata su attività, nonché un linguaggio di scripting progettato specificamente per l'amministrazione del sistema. Questo argomento di riferimento per i professionisti IT fornisce supporto per l'utilizzo dei cmdlet di Windows PowerShell per creare script per le attività e la relativa automatizzazione.

Network Address Translation (NAT) Cmdlets

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

Cmdlet Description

Add-NetNatExternalAddress

Adds an external address to a NAT instance.

Add-NetNatStaticMapping

Adds a static mapping to a NAT instance.

Get-NetNat

Gets NAT objects.

Get-NetNatExternalAddress

Gets external addresses configured for NAT instances.

Get-NetNatGlobal

Retrieves global settings for all NAT instances on a computer.

Get-NetNatSession

Gets all active NAT sessions.

Get-NetNatStaticMapping

Gets static mappings configured on NAT instances.

New-NetNat

Creates a NAT object.

Remove-NetNat

Removes NAT objects.

Remove-NetNatExternalAddress

Removes an external address from a NAT instance.

Remove-NetNatStaticMapping

Removes static mappings from a NAT instance.

Set-NetNat

Modifies settings for NAT objects.

Set-NetNatGlobal

Modifies global settings for NAT instances on a computer.

Nota

To list all the cmdlets that are available, use the Get-Command –Module NetNat cmdlet.

Per altre informazioni sui cmdlet o sulla relativa sintassi, usare il cmdlet Get-Help <nome cmdlet>, dove <nome cmdlet> è il nome del cmdlet per cui si vuole eseguire ricerche. Per informazioni più dettagliate, eseguire uno dei cmdlet seguenti:

Get-Help <nome cmdlet> -Detailed
Get-Help <nome cmdlet> -Examples
Get-Help <nome cmdlet> -Full