Skip to content

Tag Archives: Powershell

Something I noticed in Powershell v3

So, let’s say you have an object that contains objects. A bunch of AD users whose first name is Bob, for example. $persons = get-aduser -filter {givenname –eq “Bob”} Now you want to display the list of objects, but only one property of those objects, like DisplayName. How would you do that? In Powershell v3, […]

Make UCS Even Better With Powershell

I try to use Powershell whenever I can. It’s been a huge step in the right direction for Microsoft, and it’s made a lot of sysadmins feel more comfortable managing and automating larger environments. So, when our UCS vendor told me about the Powershell module that Cisco provides to manage UCS, I was practically salivating. […]

A Simple Powershell Script to Show RPC Connections to Exchange CAS Servers

I ran into to this when I was trying to shut down a CAS box to apply patches. We have two CAS servers in a Windows Load balanced Array, so the least disruptive way to kick everyone off a node so you can reboot it is to order a Drainstop on one node. This keeps […]