Welcome to MSDN Blogs Sign in | Join | Help

May 2007 - Posts

TechEd: /n software to launch NetCmdlets for PowerShell and Distributed Must-Have Goodies

I just got word from Gent Hito (president of /n software ) that after 6 months of beta testing NetCmdlets, they are going to be officially launching it (them? J ) at TechEd in Orlando next week! Gent is also giving away a 100 copies FREE at their booth.

Getting ALL Your Parameters

When you write a function, you can name a set of parameters and PowerShell will bind command line arguments to them. Any command line argument that is NOT bound do a parameter is available as $args. Let me illustrate: PS>function test ($a) {"Remaing

Upcoming PowerShell Webcast

TechNet Webcast: Windows PowerShell in Windows Server 2008 (Level 200) Wednesday, June 20, 2007 - 1:00 PM Pacific Time To register, please visit: http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?EventID=1032342044&EventCategory=4&culture=en-US&CountryCode=US

Tab Expansion by MOW

Just when you think it can't get any better, MOW releases a new version of his Tab Expansion scripts and blows the top of your head off. It has been a while since I picked up his latest drops so I had quite a bit to catch up on. Mow (The PowerShell Guy)

Using PowerShell to Generate XML Documents

<Note - the scripts and datafiles used in this blog entry are attached as a zip file> A number of scenarios require the creation of XML documents. This blog shows you how you can use PowerShell scripts to easily create XML Documents. Here-Strings
Posted by PowerShellTeam | 8 Comments

Attachment(s): Fun with XML.zip

Opsware Announces PowerShell Support

Opsware's Server Automation System 6.5 now supports PowerShell. Here is what they say: Microsoft Windows PowerShell integration. Server Automation System 6.5's powerful data model is now extended to integrate Microsoft Windows PowerShell, a command line

New Book: Microsoft Windows PowerShell Step By Step

Ed Wilson's book Microsoft Windows PowerShell Step By Step is finally shipping. I ordered my copy a couple of day's ago and I can't wait for it to arrive. I've exchanged emails with Ed a number of times and then I finally got to meet him at a recent event.

Shell or Scripting Language – It’s Shimmer!

Michael has a blog entry HERE where he opines: Actually, you could also say, it is an introduction into Windows Powershell from Microsoft. When I skimmed over the document, I came once again to the conclusion that Powershell is not really a shell, but

Channel 9 Interview with Bruce Payette

A while ago I interviewed Bruce Payette for Channel9. It was fun to do and despite that fact that I've been working with Bruce for years, I learned some new things about him (like – Bruce started out as a sparky!). You can view the interview HERE . I

Ctrl-End it All

Here's a great hint from one of our Windows PowerShell PMs. We all know that you can interrupt a command by typing Ctrl+C, but did you know that you can erase the end of a typed command line by pressing Ctrl+End, just like in Cmd.exe? The Ctrl+End sequence

CMD.exe compatibility

A few weeks ago I was getting Mark Russinovich up and running on PowerShell. While he liked the power the new model afforded him, he was frustrated because a bunch of things that were simple in CMD.EXE where now either hard or not available. I forget

Time Stamping Log Files

Per Ostergaard has an interesting blog entry HERE where he discusses the pros/cons of various options for date/time formatting for time stamping log files. He concludes the following worked best for him: "$(Get-Date –f o) Start logging" Let's see what

Microsoft Compute Cluster now has a PowerShell Provider and Cmdlets

Today the Compute Cluster group announced the release of their Tool Pack HERE . This includes a monitoring tool, a ping/pong diagnostic tool and (drum roll please……) a PowerShell Snap-in which provides a provider and a set of commands. I really like what

The Virtuous Cycle: .NET Developers using PowerShell

I recently did an interview with Thomas Caywood of Redmond Developer Magazine about how .NET developers where finding PowerShell to be a useful tool for their development environments. I was pleased to see that he contacted a number of developers to get

Replacing cmd.exe

Scott Fulton has an interesting PowerShell article over at Betanews: Why Can't PowerShell Be the Windows Command Prompt? He has a number of great quotes from Ian McDonald. Here are a couple of my favorites: In five years' time, McDonald believes, we'll

Microsoft Command Line Standard

The Microsoft Command Line Standard is now published HERE. I wrote the draft of this document (Dean Tsaltas did the editing) to define the operational standard for any command line tool independent of the technology that is implemented in. Clearly the

RFC: Deprecating Parameters

Request For Comment One of our partners asked what the guidance was for a product that releases a cmdlet and then decides that they need to deprecate one or more of the parameters in a future release. We don't currently have guidance on this topic so

Windows PowerShell: The Definitive Guide

Lee Holmes' book is now complete and a "rough cut" is available HERE from O'Reilly. This is an early access program where you get access to the book in electronic format before it is completed all the editing passes. The nice thing about this book is

Free PowerShell Book

Frank Koch has written a Windows PowerShell book and made it available for FREE download HERE . The subtitle is "An introduction to scripting technologies for people with no real background knowledge". Here is the table of contents: Contents O BJECTIVES

MS PowerShell for Linux?

ENJOY! http://www.linuxtoday.com/news_story.php3?ltsn=2007-05-10-019-35-OS-SW-DV "Those that don't understand Windows are doomed to recreate it?" :-) Jeffrey Snover [MSFT] Windows Management Partner Architect Visit the Windows PowerShell Team blog at:

Online Training Survey

Don Jones is running a survey regarding online training for PowerShell and Vbscript. Please help move the community forward by spending ~ 5 minutes to answer 10 questions at: http://blog.sapien.com/current/2007/5/9/online-training-what-do-you-think.html

TUI - The Ultimate User Interface

Check out Tom Yager's article on TUI (Text User Interface) HERE . People from every corner of the industry are beginning to figure it out. TEXT (CLI [Command Line Interface]) is your friend. I'm strongly believe that this is a GUI AND CLI issue not a

PowerShell Podcast on Microsoft Watch

I had an interview with Joe Wilcox from Microsoft Watch. The podcast is available at: http://www.microsoft-watch.com/content/podcasts/microsofts_power_play.html Jeffrey Snover [MSFT] Windows Management Partner Architect Visit the Windows PowerShell Team

Proposed new standard verbs

Hi, The PowerShell team is planning on adding the following verbs to the standard PowerShell verbs' list. Please review and send us any feedback you might have: Invoke To introduce or put into operation (This verb has been a standard verb but was never

Cmdlet Help Editor tool

Intoducing the Cmdlet Help Editor V1.0 Cmdlet Help Editor enables you to create help topics for Windows PowerShell cmdlets in the XML format that Windows PowerShell reads. Help text created in Cmdlet Help Editor can be displayed immediately by a Windows
Posted by PowerShellTeam | 17 Comments
Filed under: ,

Start-Demo Script

During my webcast on 5/3/2007 I used jeffrey's start-demo script to run my powershell demos. Lot of folks asked if we could share it. Jeffrey has already shared out the script in the following blogs. See the links below if you missed it earlier. http://blogs.msdn.com/powershell/archive/2007/03/06/improved-start-demo-script.aspx

Running Scripts Downloaded from the Internet

Over on the Microsoft.Public.Windows.PowerShell newsgroup Stefan had a number of questions about the following scenario: I want to start ps1 scripts over UNC paths or mapped network shares. I tried to change the execution policy to unrestricted but I

Group Policy Administration

This month's TechNet Magazine has an article: Simplify Group Policy Administration with Windows PowerShell . They are good enough to include all the code as a download. Jeffrey Snover [MSFT] Windows Management Partner Architect Visit the Windows PowerShell

PowerShell Description

Following Slashdot's review of Bruce's book ( PowerShell in Action ), a ton of people chimed in with comments. One of the most interesting as this one from nacturation: Imagine someone gave you some library code, but to use the code you couldn't pass

Slashdot review of PowerShell in Action

Slashdot has a review of Bruce's book at: http://books.slashdot.org/article.pl?sid=07/05/02/1345254 Jeffrey Snover [MSFT] Windows Management Partner Architect Visit the Windows PowerShell Team blog at: http://blogs.msdn.com/PowerShell Visit the Windows

Windows Server Manager and Windows PowerShell Overview Technet Webcast on 5/3/2007

As part of Longhorn Server Beta3 release, we are doing a series of webcasts discussing new features in Longhorn Server. This Thursday we will be giving a combined talk that gives an Overview of Server Manager and Windows PowerShell. Hope you all can join

Filing Bugs: The PowerShell Connect Program is back in business

Filing Bugs We need your help to make sure PowerShell isn't just a great product, but a very high-quality product! If you run into any bug or usability issue, please file a bug, even if you see a typo in the documentation. We've set up a bug reporting

Object Serialization Directives

When PowerShell serializes an object (e.g. when using Export-CLIXML) , we first look for serialization directives in the extended type system and then fall back to some default heuristics. We have not documented those serialization directives yet but
 
Page view tracker