PS c:\> Get-NetAdapter | where {$_.Name -eq "Ethernet 3"} | Format-List *
Ethernet 3 - is the name of the interface
Note:
This will need Powershell 3.0 or later
Basics Hello world User input While loop If statement For loop Switch statement Read file using ifstream Write to a file using ofstr...
No comments:
Post a Comment