Get-NetNat (NetNat) (2024)

  • Reference
Module:
NetNat

Gets NAT objects.

Syntax

Get-NetNat [[-Name] <String[]>] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]

Description

The Get-NetNat cmdlet gets Network Address Translation (NAT) objects configured on a computer.NAT modifies IP address and port information in packet headers.

Specify a value for the Name parameter to get specific NAT objects.To get all the NAT objects for a computer, do not include the Name parameter.You can use this cmdlet to get NAT objects to modify by using the Set-NetNat cmdlet or NAT objects to remove by using the Remove-NetNat cmdlet.

Examples

Example 1: Get all the NAT objects for the current computer

PS C:\> Get-NetNat

This command gets all the NAT objects for 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

-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

-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

Inputs

None

Outputs

CimInstance

Related Links

Get-NetNat (NetNat) (2024)
Top Articles
Do Candlesticks Hold Value?-Exploring through the lens of Biases
How Much Paint Do You Need?
Jack Doherty Lpsg
Best Pizza Novato
What Are Romance Scams and How to Avoid Them
Enrique Espinosa Melendez Obituary
Chicago Neighborhoods: Lincoln Square & Ravenswood - Chicago Moms
Chatiw.ib
Breaded Mushrooms
Western Union Mexico Rate
Wells Fargo Careers Log In
Think Of As Similar Crossword
Wgu Admissions Login
978-0137606801
Burn Ban Map Oklahoma
Uktulut Pier Ritual Site
Little Caesars 92Nd And Pecos
Maxpreps Field Hockey
Craigslist St. Cloud Minnesota
Bellin Patient Portal
Airline Reception Meaning
What Sells at Flea Markets: 20 Profitable Items
Rek Funerals
Little Einsteins Transcript
Nail Salon Open On Monday Near Me
How to Get Into UCLA: Admissions Stats + Tips
Hotels Near New Life Plastic Surgery
Whitehall Preparatory And Fitness Academy Calendar
D3 Boards
Streameast.xy2
Alpha Asher Chapter 130
RALEY MEDICAL | Oklahoma Department of Rehabilitation Services
ENDOCRINOLOGY-PSR in Lewes, DE for Beebe Healthcare
“Los nuevos desafíos socioculturales” Identidad, Educación, Mujeres Científicas, Política y Sustentabilidad
Busch Gardens Wait Times
Restored Republic May 14 2023
M Life Insider
Skyward Marshfield
Firestone Batteries Prices
Locate phone number
Guy Ritchie's The Covenant Showtimes Near Grand Theatres - Bismarck
18006548818
Nami Op.gg
Frigidaire Fdsh450Laf Installation Manual
Sechrest Davis Funeral Home High Point Nc
Ts In Baton Rouge
Tropical Smoothie Address
Contico Tuff Box Replacement Locks
Egg Inc Wiki
17 of the best things to do in Bozeman, Montana
Rocket Bot Royale Unblocked Games 66
Latest Posts
Article information

Author: Virgilio Hermann JD

Last Updated:

Views: 6038

Rating: 4 / 5 (41 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Virgilio Hermann JD

Birthday: 1997-12-21

Address: 6946 Schoen Cove, Sipesshire, MO 55944

Phone: +3763365785260

Job: Accounting Engineer

Hobby: Web surfing, Rafting, Dowsing, Stand-up comedy, Ghost hunting, Swimming, Amateur radio

Introduction: My name is Virgilio Hermann JD, I am a fine, gifted, beautiful, encouraging, kind, talented, zealous person who loves writing and wants to share my knowledge and understanding with you.