Sunday, November 11, 2007

An example of using scriptcmdlets (from the PowerShell v2 CTP)

I just posted a new blog entry on the PowerShell Community site.  My blog entry is here.  I explain how to use PowerLocker  to encrypt scripts that use the new scriptcmdlets features of the v2 CTP.  The resulting output is a true .NET object.

(There are other ways to encrypt PowerShell scripts, yet a few of these methods can only output simple strings, which may not always be handy.)