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.)

Thursday, November 8, 2007

Windows PowerShell Virtual User Group Meeting #2

Windows PowerShell Virtual User Group Meeting  #2

Time: December 4th, 2007 at 12PM (noon) EST (New York time)
Place: Online via Live Meeting 2007

-----------------------------------------------------------
To sign up:
-----------------------------------------------------------

Registration site: http://www.clicktoattend.com/?id=122431
Event Code: 122431

-----------------------------------------------------------

This is our second virtual event.  Invited speakers that will talk about various PowerShell-related topics: Don Jones (MVP), Dmitry Sotnikov (MVP), Oisin Grehan and Jeffrey Snover (Microsoft).

To join:
https://www112.livemeeting.com/cc/microsoft/join?id=5K9Z2F&role=attend&pw=wW!jC8R5b

Unable to join the meeting?  Follow these steps:
1.Copy this address and paste into your web browser:
https://www123.livemeeting.com/cc/microsoft/join
2.Copy and paste the required information:
Meeting ID: 5K9Z2F
Entry Code: wW!jC8R5b
(NOTE: Our first meeting allowed people to call-in to listen the the audio.  This was very distracting, so this second meeting will only offer audio streaming over the Internet.  Therefore, you will need access to speakers or a headset to listen to the audio.  This session will be recorded and available for offline viewing later.)

Agenda:
12:00PM-12:10PM: Introduction
12:10PM-12:25PM: Don Jones (MVP)
12:25PM-12:40PM: Dmitry Sotnikov (MVP)
12:40PM-12:55PM: Oisin Grehan
12:55PM-1:15PM: Jeffrey Snover (Microsoft)
1:15PM-1:20PM: Closing
1:20PM-1:30PM: Live Q & A

Speaker topics (more details *soon* on http://www.powershellcommunity.org):
*Don Jones (MVP): New community site, new PowerShell TFM book and training.
*Dmitry Sotnikov (MVP):  Active Directory cmdlets and PowerGUI.
*Oisin Grehan: PowerShell Community Extensions development and .NET, COM and WMI Event handling in PowerShell
*Jeffrey Snover (Microsoft):  To be determined.

Notes:
All details related to this event will be posted on http://www.powershellcommunity.org.

Sponsors/partners:
Microsoft TechNet, PowerGadgets, Sapien, Quest and Nivot Inc.

Tuesday, November 6, 2007

PowerShell 2.0 CTP

*************************************************

The PowerShell V2 CTP is not for everyone. You should read this PowerShell Team blog entry ( http://blogs.msdn.com/powershell/archive/2007/11/02/ctp-watch-this-space.aspx ) to find out what it is and what it isn't and then make an informed decision before installing the CTP.

*************************************************

Windows PowerShell 2.0 CTP is out.  View the PowerShell team blog entry here.

As a Microsoft MVP, I had the chance to try out earlier CTP bits, and I like what I saw, in particular:

  • PowerShell Remoting
  • Background Jobs

For those also wanting to write scripts, yet use something other than Notepad, you may be pleased that there is a script editor bundled now.  It is still a very early release though.  For other free options, check out PowerGUI, which has a script editor as well.