Automation/Scripting


What If My Script Gets Me Fired?

Take the guesswork out of your scripts and find out the common risks via the -Whatif parameter.

To Write Better PowerShell Scripts, Let's Get Back to Basics

Let me offer a few suggestions that will make your script writing easier, more productive and less buggy.

Validation Voodoo with PowerShell Scripts

Deploying scripts with parameters? Be sure to validate input. Here are a few validation tests worth considering.

More PowerShell CmdletBinding Fun

The cmldetBinding() attribute doesn't always need parameters, but it does need the Param keyword. Here's why it makes a difference.

PowerShell vs. SQL Server Management Studio

While PowerShell doesn't duplicate the complete functionality of SSMS, it can duplicate a lot of it.

Functions That Act Like Cmdlets

The trick to making functions act like cmdlets? It's all in the binding.

Command-Line Objects

Turn any command-line tool into a PowerShell tool.

Color My PowerShell World

Red can be disturbing at times, so let's change the color of the PowerShell console so it looks less aggressive when you chance upon the rare error.

Variables on Automatic Pilot

Check out these Automatic Variables that are defined by PowerShell with every new session.

ISE Made Easier

Some tips for customizing PowerShell's Integrated Scripting Environment.

Handling Errors Before They Happen with Test-Path

The Test-Path cmdlet can keep you from going bonkers by offering a little bit of script pre-error-handling.

PowerShell Returns, The SQL

Automating SQL Server administration tasks is easy with PowerShell, especially with the SQL-related snapins.

Manage VMs with PowerShell

Manage the whole VMware infrastructure from PowerShell. Yes, you heard right; it can be done.

The Quest for the Active Directory Grail

PowerShell doesn't have tools to automate AD management, but some vendors have developed tools that can get you nearer to that goal.

Active Directory, The PS Way

To manage your environment, use the AD PowerShell provider that comes with Windows Server 2008 R2, or the Active Directory Management Gateway for any down-level DC.

Most   Popular