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.
New Version: Employee Directory
I keep getting requests “Can I get this field?” or “Can I get that field?” for the Employee Directory script and honestly it wasn’t designed for that. The header in the table has to be manually changed, and the JavaScript that does the button filtering has to be altered. Not to mention the reverse engineering that has to occur because I don’t necessarily remember everything I did in the script 6 months ago! So it was time to sit down with the script and see if there was something I could do about this. Here’s what I came up with.
New Version: Simple Server Status
Had someone at Spiceworks ask a question about a script they were trying to use so I asked them to post the relevant code and, lo and behold, it was my Simple Server Status script! He was having a problem with authentication because the ID he was running the script under didn’t have rights and he needed to run the script with his domain level credentials. Never got an answer as to why he couldn’t just run the script with those credentials, but modifying the script to use alternative credentials should be easy enough. Of course, it never is.
Read more »
Network Discovery – Part 2
Time for Part 2 of talking about Network Discovery, the Powershell version. Part 1 can be found here.
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!
Distributed Computing and Powershell
Great little script request came across on Spiceworks last week, something I’ve been looking forward to for a long time but never really thought I’d get a chance to do. Time to unlock the power of Remoting in Powershell and dive into true Distributed Computing–not multi-threading, but Distributed Computing!
Using Powershell as a Telnet Client
One of the things I’ve been meaning to do is create a script to telnet to my various network devices and download the configuration as a poor man’s backup. Well, recently this post came across Spiceworks and I felt it was time to take a deeper look at how to do this.
Powershell – Steep Learning Curve?
This has come up at Spiceworks a couple of times, the which should I learn discussion. vbScript or Powershell? Considering the theme of this blog I don’t think you need to ask which camp I stand in. But what about this steep learning curve? Here are my thoughts.