Automation/Scripting


This Match Has No Equal: Comparison Operators

Working with the -eq, -match, and -like comparison operators in PowerShell.

There's a Module for That: Extending PowerShell's Commands

Don't just stick with the commands that Microsoft provides -- extend the commands in PowerShell.

How To Restart Computers Remotely via PowerShell

The trick is easy with the aptly named Restart-Computer

Can You Describe the Variable?

Variables already come with descriptions, but you can also provide more clarity to those descriptions as needed.

Modifying PrivateData for the Public Good

Revise error messages for maximum effect through the $host object's PrivateData property.

File Attributes in PowerShell

Fun with file and folder attributes, via PowerShell and the DIR command.

Countdown with Timer Object

Now that we know how to set up a timer object, let's get it to do something awesome. Part 2 in a series on the timer object.

Microsoft's Releases Beta of Script Explorer for PowerShell

A new beta-test search tool for PowerShell users that's designed to find code across local and online repositories was released by Microsoft on Monday.

PowerShell's Presence in Windows Server 8

Microsoft shared some information this week on the relationship between Windows Server 8 and PowerShell.

Perfect Timing with New-Object

Create a timer object with PowerShell New-Object cmdlet to schedule recurring tasks at intervals.

ForEach Building Blocks

When we can't leverage the pipeline, we can turn to the ForEach-Object cmdlet to help with some heavy lifting.

Managing Restore Points with PowerShell

Windows System Restore can be managed through several PowerShell cmdlets. We cover some of them here.

Here, Here (The Here String)

Order in the script -- with the here string.

Default Parameter Values: Better with PS 3

Working with variables will improve with the next version of PowerShell. Take this week's example, $PSDefaultParameterValues, a new automatic variable.

Slice and Dice with Hash Tables in PowerShell

The Group-Object cmdlet can offer up lots of information if you extract that info through hash tables. Here's how.

MCPMag.com

Sign up for our newsletter.

I agree to this site's Privacy Policy.

Upcoming Events