Remove-NetNat (NetNat) (2024)

  • Reference
Module:
NetNat

Removes NAT objects.

Syntax

Remove-NetNat [[-Name] <String[]>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
Remove-NetNat -InputObject <CimInstance[]> [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]

Description

The Remove-NetNat cmdlet removes Network Address Translation (NAT) objects.NAT modifies IP address and port information in packet headers.When you remove a NAT object, NAT no longer does that translation.NAT drops any existing connections created through that NAT object.

Specify a value for the Name parameter to remove specific NAT objects.To remove all the NAT objects from a computer, do not include the Name parameter.You can use the Get-NetNat cmdlet to specify NAT objects to delete.

Examples

Example 1: Remove all NAT objects on a computer

PS C:\> Remove-NetNat

This command removes all the NAT objects on the current computer.

Parameters

-AsJob

Runs the cmdlet as a background job. Use this parameter to run commands that take a long time to complete.

The cmdlet immediately returns an object that represents the job and then displays the command prompt.You can continue to work in the session while the job completes.To manage the job, use the *-Job cmdlets.To get the job results, use the Receive-Job cmdlet.

For more information about Windows PowerShell background jobs, see about_Jobs.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CimSession

Runs the cmdlet in a remote session or on a remote computer.Enter a computer name or a session object, such as the output of a New-CimSession or Get-CimSession cmdlet.The default is the current session on the local computer.

Type:CimSession[]
Aliases:Session
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

Specifies the input to this cmdlet.You can use this parameter, or you can pipe the input to this cmdlet.

Type:CimInstance[]
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Name

Specifies an array of names of NAT objects.

Type:String[]
Position:0
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-PassThru

Returns an object representing the item with which you are working.By default, this cmdlet does not generate any output.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ThrottleLimit

Specifies the maximum number of concurrent operations that can be established to run the cmdlet.If this parameter is omitted or a value of 0 is entered, then Windows PowerShell® calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer.The throttle limit applies only to the current cmdlet, not to the session or to the computer.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs.The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

CimInstance

Remove-NetNat (NetNat) (2024)
Top Articles
What is Staffing | Meaning, Definition, Types, Process, Importance |
What is Data Roaming?
Creepshotorg
Great Clips Mount Airy Nc
Enrique Espinosa Melendez Obituary
Froedtert Billing Phone Number
Dew Acuity
Kobold Beast Tribe Guide and Rewards
Chris wragge hi-res stock photography and images - Alamy
Blairsville Online Yard Sale
The Pope's Exorcist Showtimes Near Cinemark Hollywood Movies 20
Hay day: Top 6 tips, tricks, and cheats to save cash and grow your farm fast!
Back to basics: Understanding the carburetor and fixing it yourself - Hagerty Media
How to Watch Braves vs. Dodgers: TV Channel & Live Stream - September 15
Fire Rescue 1 Login
Günstige Angebote online shoppen - QVC.de
Taylor Swift Seating Chart Nashville
7440 Dean Martin Dr Suite 204 Directions
سریال رویای شیرین جوانی قسمت 338
Peraton Sso
Dr. med. Uta Krieg-Oehme - Lesen Sie Erfahrungsberichte und vereinbaren Sie einen Termin
Quest Beyondtrustcloud.com
Nutrislice Menus
Alfie Liebel
Joann Ally Employee Portal
Defending The Broken Isles
Craigs List Jonesboro Ar
Craigslist Dubuque Iowa Pets
Downtown Dispensary Promo Code
Xxn Abbreviation List 2023
What Is Opm1 Treas 310 Deposit
Lawrence Ks Police Scanner
Colin Donnell Lpsg
Black Adam Showtimes Near Amc Deptford 8
Timothy Kremchek Net Worth
A Man Called Otto Showtimes Near Amc Muncie 12
Leatherwall Ll Classifieds
In Polen und Tschechien droht Hochwasser - Brandenburg beobachtet Lage
Google Chrome-webbrowser
Tsbarbiespanishxxl
SF bay area cars & trucks "chevrolet 50" - craigslist
Unblocked Games Gun Games
Alston – Travel guide at Wikivoyage
Vintage Stock Edmond Ok
Guided Practice Activities 5B-1 Answers
Borat: An Iconic Character Who Became More than Just a Film
CrossFit 101
Keci News
Wpne Tv Schedule
40X100 Barndominium Floor Plans With Shop
Online College Scholarships | Strayer University
Southwind Village, Southend Village, Southwood Village, Supervision Of Alcohol Sales In Church And Village Halls
Latest Posts
Article information

Author: Arline Emard IV

Last Updated:

Views: 6472

Rating: 4.1 / 5 (52 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Arline Emard IV

Birthday: 1996-07-10

Address: 8912 Hintz Shore, West Louie, AZ 69363-0747

Phone: +13454700762376

Job: Administration Technician

Hobby: Paintball, Horseback riding, Cycling, Running, Macrame, Playing musical instruments, Soapmaking

Introduction: My name is Arline Emard IV, I am a cheerful, gorgeous, colorful, joyous, excited, super, inquisitive person who loves writing and wants to share my knowledge and understanding with you.