database-tools

Fun with Path Names

You can use the -split operator to easily split a path in its components. The result is always an array. Simply use comparison operators to exclude...

read more

Using Profile Scripts

You probably know that PowerShell supports profile scripts. Simply make sure the file found in $profile exists. It's a plain script that gets...

read more

Bulk File Renaming

Let's assume you have a bunch of scripts (or pictures or log files or whatever) in a folder, and you'd like to rename all files. The new file name...

read more

PowerShell God Mode

Before you can run a PowerShell script, the execution policy needs to allow this. Typically, you would use this line to enable script execution:...

read more

Checking Windows Updates

To check all installed updates on a Windows box, there is a COM library you can use. Unfortunately, this library isn't very intuitive to use,...

read more