image_pdfimage_print
View Post

PowerShell One-Liners – Take my script, please!

Hail Henny Youngman, the king of one-liners!¬†One of the great things about PowerShell is the ability to create simple, powerful one-line scripts. This is not to say that we need to crunch everything down to single line just to be cute, but we have the ability to build effective processes by making use of the pipeline. With shell scripting, it’s …

View Post

Group Policy – WMI Filters by Operating System

Have you ever wanted to separate your Active Directory Group Policies from each other based on criteria such as target operating system? Well you are in luck! With some very simple WMI filters you can do exactly that. Using WMI filters is a simple, and flexible way to create specific target criteria for delivering policies. For my situation, I’d like …

View Post

Think you are irreplaceable? – Information sharing is a necessity

We have all worked with this person. They are the one who knows the inner workings of all the strange systems, or understands some obscure process that nobody else understands, or perhaps wants to be responsible for. We do this ourselves quite often. When I launch a new system or process I am equally guilty of not always putting the …

View Post

PowerShell – Splitting large log files

Have you ever found an issue with one of your systems and gone digging for the log file, only to find out that the file is too big to open for reading? There are a number of ways you can use in the *nix world, but for the Windows folks I’ve created a simple script to let you split the …