Quantcast
Channel: MSDN Blogs
Viewing all articles
Browse latest Browse all 29128

WMI-Less Network Adapters

$
0
0
We can get a list of network adapters (calling them NICs is a bit outdated: the C in NIC stands for ‘card’, like it’s something you plug into an ISA or PCI slot.  These days, it’s almost always built in) from Get-WMI Win32_NetworkAdapter and Win32_NetworkAdapterConfiguration, but per http://msdn.microsoft.com/en-us/library/aa394216%28v=vs.85%29.aspx it’s being deprecated.  We should now use MSFT_NetAdapter. Instead, and purely for interest’s sake, let’s call the underlying .NET object instead...(read more)

Viewing all articles
Browse latest Browse all 29128

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>