ps1

Get Command History as File

The built-in PowerShell ISE editor that ships with PowerShell 3.0 or better can be customized, and you can add your own menu items. When you run the...

read more

Using PowerShell Help

To access the full PowerShell help, you first need to download help information from the Internet. Simply launch a PowerShell console with full...

read more

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
1 59 60 61 62 63 128