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
smallcase | Stock & ETF portfolios by investment experts
How to Apply Liquid Foundation
Funny Roblox Id Codes 2023
Will Byers X Male Reader
Swimgs Yuzzle Wuzzle Yups Wits Sadie Plant Tune 3 Tabs Winnie The Pooh Halloween Bob The Builder Christmas Autumns Cow Dog Pig Tim Cook’s Birthday Buff Work It Out Wombats Pineview Playtime Chronicles Day Of The Dead The Alpha Baa Baa Twinkle
DPhil Research - List of thesis titles
Fat Hog Prices Today
<i>1883</i>'s Isabel May Opens Up About the <i>Yellowstone</i> Prequel
DL1678 (DAL1678) Delta Historial y rastreo de vuelos - FlightAware
Premier Boating Center Conroe
Our Facility
Nier Automata Chapter Select Unlock
General Info for Parents
Kinkos Whittier
Craigslist Deming
Nwi Arrests Lake County
Mary Kay Lipstick Conversion Chart PDF Form - FormsPal
Vanessa West Tripod Jeffrey Dahmer
Craiglist Kpr
bode - Bode frequency response of dynamic system
What Is Vioc On Credit Card Statement
Transactions (zipForm Edition) | Lone Wolf | Real Estate Forms Software
Happy Life 365, Kelly Weekers | 9789021569444 | Boeken | bol
Ac-15 Gungeon
eugene bicycles - craigslist
Mandy Rose - WWE News, Rumors, & Updates
Wsbtv Fish And Game Report
Meta Carevr
SOGo Groupware - Rechenzentrum Universität Osnabrück
Rs3 Bring Leela To The Tomb
Our 10 Best Selfcleaningcatlitterbox in the US - September 2024
1475 Akron Way Forney Tx 75126
Xfinity Outage Map Lacey Wa
Reli Stocktwits
Truckers Report Forums
Family Fare Ad Allendale Mi
Hisense Ht5021Kp Manual
Raising Canes Franchise Cost
Kerry Cassidy Portal
Puretalkusa.com/Amac
Bob And Jeff's Monticello Fl
Brandon Spikes Career Earnings
QVC hosts Carolyn Gracie, Dan Hughes among 400 laid off by network's parent company
Payrollservers.us Webclock
Truck Works Dothan Alabama
Gary Vandenheuvel Net Worth
Motorcycles for Sale on Craigslist: The Ultimate Guide - First Republic Craigslist
Lesson 5 Homework 4.5 Answer Key
Publix Store 840
Chitterlings (Chitlins)
32 Easy Recipes That Start with Frozen Berries
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.