Prof. Powershell


To DIR, with Love; Or, How PowerShell 3 Will Improve Get-ChildItem

PowerShell 3 makes some much-needed improvements to the Get-ChildItem cmdlet.

Can I Get a Little PowerShell Help?

When looking for cmdlet help, PowerShell 3 goes beyond version 2 with an Update-Help cmdlet.

Enum's the Limit

Let's start off 2012 with a tip I learned just recently: Using the PowerShell $FormatEnumerationLimit variable to customize the number of entries viewable via the Dir command.

PowerShell 2 and 3, Side by Side

Here's something nifty: you don't have uninstall PowerShell 2 to use version 3.

PowerShell 3 Goes With The Flow

PowerShell 3 adds new console redirection operators for streaming pipeline output.

Start-Process Cmdlet: The Best of Both Worlds

Sometimes the standby command-line or resource kit tools work best. Still, there is a way to use information from those tools with further processing in PowerShell and this command helps.

Alternate Alternate Credentials

Go GUI-less and avoid the Get-Credential cmdlet's dialog with this helpful script for supplying alternative credentials.

  • Code Download

    File Type: .x-zip-compressed File Size: 705 Bytes

Constant Companion

There's power in defining constants, even in PowerShell. Check out this week's tip.

One-of-a-Kind PowerShell Cmdlets

PowerShell can help you retrieve collections of objects or services, or just a unique subset of information. Let's look at a few cmdlets that can help you narrow your focus.

Start Me Up: Scripting a Logon with PowerShell

I advise against it. But if you must use a logon script to authenticate, here's how to get it done with PowerShell.

Pick Up the Pieces with the Split, Join Operators

PowerShell's object nature is fine most of the time, but sometimes we need to dig deep and use the Split and Join operators to break apart strings and put them back together again.

Touch Me, Baby (with Set-ItemProperty, of course)

Here's a way to get beyond the usual looking into file properties and time stamps and start changing them.

PowerShell vNext is vBest

Three good reasons to like the next version of PowerShell.

Reaching Your Breaking Point with PowerShell

Debug the longer PowerShell scripts by inserting breakpoints -- and some choice PowerShell cmdlets -- that will help you see how scripts are processing information along the way.

Nosing Around Network Adapters in PowerShell

The Get-WMIObject cmdlet will have you sniffing out what's on your network in no time. Here's how.

MCPMag.com

Sign up for our newsletter.

I agree to this site's Privacy Policy.

Upcoming Events