Utilizzare PowerShell per determinare un indirizzo IP (it-IT)

Utilizzare PowerShell per determinare un indirizzo IP (it-IT)

Sommario: utilizzare Windows PowerShell 3.0 su Windows 8 o Windows Server 2012 per visualizzare l'indirizzo IP.

Hey, Scripting Guy! Question Come si può utilizzare Windows PowerShell 3.0 su Windows 8 o Windows Server 2012 per visualizzare le configurazioni dell'indirizzo IP address?

Hey, Scripting Guy! Answer Usare il cmdlet Get-NetAdapter e filtrate in base alle schede di rete il cui stato è up. Mettere i risultati in pipe al cmdlet Get-NetIPAddress. Per produrre un output più gradevole, mandare i risultati al cmdlet Format-Table, come visualizzato di seguito.

Get-NetAdapter | ? status -eq 'up' | Get-NetIPAddress -ea 0 | ft ipaddress, interfacealias, prefixorigin -a



Altre lingue

Questo articolo è disponibile anche nelle seguenti lingue:

English (en-US)

Leave a Comment
  • Please add 1 and 5 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Sort by: Published Date | Most Recent | Most Useful
Comments
  • Luigi Bruno edited Original. Comment: Added the "Altre lingue" section.

Page 1 of 1 (1 items)
Wikis - Comment List
Sort by: Published Date | Most Recent | Most Useful
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Comments
  • Luigi Bruno edited Original. Comment: Added the "Altre lingue" section.

Page 1 of 1 (1 items)