rkeithhill Author

PowerShell Script that Relaunches as Admin

Uncategorized

If were following good security practices we run our Windows system with UAC enabled.  This means that if you forget to launch your PowerShell prompt as Administrator when you run a script that requires...

Read More

Windows PowerShell V3 Language Specification Posted

Uncategorized

You can download it here. ...

Read More

PSCX 2.1 and 3.0 Release Candidates Posted

Uncategorized

Oisin and I have been busy prepping the PowerShell Community Extensions to support Windows PowerShell 3.0.  With this release, we are providing two packages.  There is a Pscx-2.1.0-RC.zip that is xcopy...

Read More

PSCX 3.0 Beta Released

Uncategorized

We’ve just released a beta of the PowerShell Community Extensions 3.0 which targets PowerShell 3.0 specifically.  This new version uses a WiX based installer.  We may look at providing an xcopy...

Read More

PowerShell V3 – ObsoleteAttribute

Uncategorized

PowerShell V3 now supports the ObsoleteAttribute for compiled cmdlets but unfortunately not advanced functions.  This is handy to let your users know that a binary cmdlet will be going away in a future release of...

Read More

PowerShell V3 Beta–Better NTFS Alternate Data Stream Handling

Uncategorized

One of the many new features in Windows PowerShell V3 is better support for alternate data streams (ADS) in NTFS files.  ADS allows an NTFS file to contain additional data that is not part of the “main”...

Read More

PowerShell V3 CTP2 Provides Better Argument Passing to EXEs

Uncategorized

Within PowerShell it has always been easy to pass “simple” arguments to an EXE e.g.: C:\PS> ipconfig -all However passing arguments to certain exes can become surprising difficult when their command line...

Read More

Microsoft Windows PowerShell V3 CTP2 Available for Download

Uncategorized

You can grab the bits from here. If you have V3 CTP1 installed, please uninstall it first or you can get your machine into a bad state. So far my favorite two features new to this drop are both in … ...

Read More

Windows PowerShell Version 3 Simplified Syntax

Uncategorized

Windows PowerShell version 3 introduces a simplified syntax for the Where-Object and Foreach-Object cmdlets.  The simplified syntax shown below, eliminates the curly braces as well as the need for the special...

Read More

PSCX 2.1 Beta 1 Available for Download

Uncategorized

I just uploaded beta 1 for the PowerShell Community Extensions version 2.1.  This beta drop adds better support for Windows PowerShell V3 that is in the Windows 8 Developer Preview.  There are a number of bug...

Read More