The Surly Admin

Father, husband, IT Pro, cancer survivor

Using Powershell to get Adapter Information

Had an interesting thread come through on Spiceworks the other day that required some detective work with WMI.  In the past, when I did WMI calls with vbScript I usually had to Google it and find someone else who’d done what I wanted to do and modify their script.  But with Powershell you don’t have to dig through different blogs, or try to slog through the MSDN documentation, now you can just inspect the data and do it directly.  Here’s what I did.

Continue reading

Advertisement

May 20, 2013 Posted by | PowerShell | , , | 2 Comments

Network Discovery – Part 1

My most popular script on Spiceworks, by far, is Network Discovery.  I posted it over 3 years ago, and actually wrote it much earlier than that!  Time to take another look at it and give it a Powershell make-over.  If you’re new to a company and want to find out the basics of what is going on, or a consultant going into new places all the time you’ll want to take a look at this script!

Continue reading

April 11, 2013 Posted by | PowerShell | , , , , | 5 Comments

Who’s Logged in Where?

Interesting script request through Spiceworks last week, where QQQ was asking to find out who was logged in on his computers at any given moment.  This seemed like a relatively easy script to throw together, here’s how I did it.

Continue reading

November 15, 2012 Posted by | PowerShell | , | Leave a comment