September 30, 2010 12:28 PM
We were looking at MAC Addresses last time. We can filter on MAC address
Get-WmiObject -Class Win32_NetworkAdapter -Filter "MACAddress='00:27:2B:F5:96:D5'"
No its not my real MAC address :-)
There are two useful methods on the NetworAdapter class – Disable and...
September 29, 2010 1:20 PM
One task I find myself doing on a regular basis is checking the physical address of a NIC. Ipconfig is OK but we have to wade through a lot of stuff. Much simpler to do this
Get-WmiObject -Class Win32_NetworkAdapter -ComputerName "." |
select Name, MACAddress
September 27, 2010 3:18 PM
PowerShell MVP Jonathan Medd has compiled all of his blog posts on the new cmdlets in PowerShell 2.0 into a downloadable pdf file.
Hugely recommended as a reference to keep on you computer desk top.
get it now from
September 26, 2010 2:16 PM
We have seen how to test for the DNS server in use. What about testing for DHCP?
September 26, 2010 12:59 PM
Does a machine have problems communicating on the network? Then one troubleshooting step is to check the DNS servers it is using
September 20, 2010 1:34 PM
Want a quick peek at the environment settings on your machine? Then try
Get-WmiObject -Class Win32_Environment | Format-Table name, variablevalue -AutoSize –Wrap
if you just want the local machine try
for a slightly different view
September 15, 2010 1:20 PM
Many thanks to everyone who joined us for the Live Meeting last night. Especial thanks to Jonathan for an excellent presentation. As promised Jonathan has posted the slide deck
September 13, 2010 12:21 PM
The Scripting Guys are having a guest blogger week and first up is me blogging about managing DNS with PowerShell and WMI
September 12, 2010 5:52 AM
A question on the ITKE forums asked how files older than a certain date (in this case two months) could be deleted without touching younger files.
September 6, 2010 12:47 PM
We have looked at using Win32_NetworkAdapter and Win32_NetworkAdapterConfiguration.
Get-WmiObject -Class Win32_NetworkAdapter -Filter "NetEnabled='$true'" |
Format-List NetConnectionID, Description, MACAddress, Speed