When you issue PowerShell commands you can get quite a bit of information back from it. Last weeks tip showed how to format the output and to do a very basic filter to show specific columns only. Today we’ll be a little more specific. Lets say that I wanted to list all the processes on a computer where the Process Name begins with svc* – this is how I would … [Read more...]
PowerShell Tip #2 – Formatting Output
Whilst PowerShell is really cool, you can also get way too much information in response to commands. I was onsite recently and working on an issue where I needed to compare the output of a few servers with specific parameters. The best way to do that is to document the configuration settings for the few key parameters you want to compare and then check for the … [Read more...]
Powershell Tip #1 – Handling Services on a Computer
I’m doing more and more with Powershell and whilst I’m no programmer, I’m going to post a few tips that I find along the way that make it easy to deal with things. Todays tip is about Services and how to handle them. Here are a few that I’ve used today whilst onsite doing work for a client to deal with their servers service configurations. We needed to stop … [Read more...]