database-tools

Unzipping ZIP Files

In PowerShell 5.0, there is a new cmdlet that can unzip ZIP files: #requires -Version 5 $Source = 'C:\somezipfile.zip' $Destination =...

read more

Testing a Network Port

To see whether you can access a remote computer via a given network port, here is a test function called Test-Port; it takes a remote computer name...

read more

Finding Logged On Users

In a previous tip we explained how you find the physically logged on user. In this tip you will see how you can list the current logon sessions,...

read more

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