PowerShell - Get Remote Computer Network Adapter details
- Jon Boyette
- Feb 10, 2022
- 1 min read
Save as getremotenic.ps1 or similar, prompts for the computer name and gives the "UP" adapter details
$Computers = Read-Host "Enter A ComputerName To Discover Network Adapter Details"
Invoke-Command -Computer $Computers -ScriptBlock {Get-NetAdapter | SELECT SystemName, InterfaceDescription, InterfaceName, Name, status, speed, fullduplex | where status -eq ‘up’} | FT
Comments