Forum: Win32/Win64 API (native code)
Delphi
by espen,
8. Jun 2010
Ich glaube ich hab's gefunden.
-> Win32_NetworkAdapter -> PhysicalAdapter=True
$NetworkAdapters = Get-WmiObject Win32_NetworkAdapter -name "root\CimV2" -Filter "PhysicalAdapter=True"
Forum: Win32/Win64 API (native code)
Delphi
by espen,
8. Jun 2010
Tja,
dann fällt mir nur noch die "hässliche" Version ein (Manufacturer<>'Microsoft'):
$NetworkAdapters = Get-WmiObject Win32_NetworkAdapter -name "root\CimV2" -Filter "Manufacturer<>'Microsoft'"
Forum: Win32/Win64 API (native code)
Delphi
by espen,
8. Jun 2010
Hi,
weiss nicht so recht, ob das wirklich weiterhilft. Versuche nach IPEnabled=True zu filtern:
In Powershell so:
$NetworkAdapters = Get-WmiObject win32_networkadapterconfiguration -name "root\CimV2" -filter "IpEnabled = TRUE"