PowerShell Logo Small

Remove-NetNatStaticMapping



This is the built-in help made by Microsoft for the command 'Remove-NetNatStaticMapping', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Removes static mappings from a NAT instance.

SYNTAX


Remove-NetNatStaticMapping [[-NatName] <String[]>] [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-StaticMappingID <UInt32[]>] [-ThrottleLimit <Int32>] [-Confirm]
[-WhatIf] [<CommonParameters>]
Remove-NetNatStaticMapping [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] -InputObject <CimInstance[]> [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Remove-NetNatStaticMapping cmdlet removes one or more static mappings configured on network address translation (NAT) instances. A static mapping enables an incoming
connection from an external network to an internal network through the NAT.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=294378
Add-NetNatStaticMapping
Get-NetNatStaticMapping

REMARKS

<

Examples


Example 1: Remove all static mappings from a NAT instance

PS C:\> Remove-NetNatStaticMapping



This command removes all static mapping of NAT instances configured on the local computer.