database-tools

Using MemberSets

In a previous tip you learned how PropertySets can create groups of properties for easier access. Yet another (hidden) feature of PowerShell objects...

read more

Using PropertySets

PropertySets are lists of properties, and PowerShell sometimes adds PropertySets to result objects to make picking the right information easier....

read more

Checking System Uptime

In a previous tip we explained how you read date and time information from WMI and convert it into a regular date and time information. With this...

read more

Why Using Here-Strings?

To create multi-line text in a script, you can simply enter the multi-line text into your script using quotes: $text = 'First Line Second Line...

read more

Testing Numbers and Date

With a bit of creativity (and the help from the -as operator), you can create powerful test functions. These two test for valid numbers and valid...

read more

Creating "Mini-Modules"

Did you know that every PowerShell function can be turned into a script module with just one line of code? To test drive this, open the ISE editor...

read more