database-tools

First Steps Automating AD

When you download the free RSAT tools from Microsoft, these include the ActiveDirectory module. It contains a rich set of cmdlets to manage Active...

read more

Encrypting Text

There are many ways to encrypt text. Here is an approach that does not use an explicit “secret”. Instead, the secret is defined as your...

read more

Open Web Page

To quickly open a new web page in the Internet Explorer, you could define a new function called Show-WebPage like this: #requires -Version 2...

read more

Quick Loop

Requires PowerShell 4.0 There are plenty of looping constructs in PowerShell. Here is a rather unusual way introduced in PowerShell 4.0 to repeat...

read more

Loading PowerShell Modules

All cmdlets live in modules or snap-ins. To see which modules are currently loaded, use Get-Module. In PowerShell 3.0 or better, most modules are...

read more