About
Pricing
Community
Teams
Start Free Trial
Log in
bibi92
asked on
3/20/2020
script powershell to get network card, ip address
Hello,
i search a script powershell to get network card, ip address.
Thank you
Best
regards
Powershell
Networking
4
1
Last Comment
bibi92
8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
aravind anche
3/20/2020
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
bibi92
3/20/2020
ASKER
Hello,
Thank you, but I search to get network card name, ip adress and not the name of ip address.
Best regards
aravind anche
3/20/2020
Get-NetAdapterHardwareInfo -Name "*" | Format-List -Property "*"
Select all
Open in new window
bibi92
3/20/2020
ASKER
PS C:\Windows\system32> $NetIPAddresses = (Get-NetIPAddress | where {$_.InterfaceAlias -match "01" -and $_.AddressFamily -eq "IPv4"}
) | format-list IPAddress, InterfaceAlias
PS C:\Windows\system32> echo $NetIPaddresses
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Thank you, but I search to get network card name, ip adress and not the name of ip address.
Best regards