PowerShell Team

PowerShell Team, PowerShell

PowerShell is a task-based command-line shell and scripting language built on .NET. PowerShell helps system administrators and power-users rapidly automate tasks that manage operating systems (Linux, macOS, and Windows) and processes.

Post by this author

TECHED: Start-Session Script

Before my TechEd sessions, I ran a Windows PowerShell script which used animated figures to inform the users how long it would be until the session would start.  It threw out some wisecracks along the way to keep things light and maintain their attention.   A number of people asked me to post the script in the blog.  I'm a ...

TechEd Superstars: MOW, Jones, and Hanselman

Boy did I have a great time at TechEd!  On Sunday, I got to finally meet Mark Van Orsouw (MOW of  http://mow001.blogspot.com/ fame) and we both ran into Scott Hanselman ( of http://www.hanselman.com/blog/ fame).  It was a blast to spend a couple hours sharing scripts, tips and favorite features.  It ...

Tom's Hardware Windows PowerShell article

Check out Scott Fulton's latest article about my Windows PowerShell talk at TechEd.  You can also see pictures of the only tie worn at TechEd Boston! :-) http://www.tgdaily.com/2006/06/14/teched2006_powershell_may_underlie_admin_guis/ For those of you who aren't already Tom's Hardware fans (it has long been one of my favorite sites...

Windows PowerShell at TechEd

I'll be presenting 2 talks at TechEd in Boston: MGT306 -  Windows PowerShell: Solving Mgmt Problems  6/12 from 9-10:15 MGT308 - Windows PowerShell: Next Generation Command Line Scripting 6/13 10:15-11:30 I've given both these talks before but these are reworked decks so it will be largely new material.  I'll also be showing some...

PowerShellIDE

Check out the amazing PowerShellIDE at http://PowerShell.com .   Many of you probably already know Dr Tobias Weltner from his product SystemScripter http://www.scriptinternals.com.  The PowerShell team has been talking to Tobias on and off for years now and those discussions have clearly paid off.  PowerShellIDE is a ...

PowerShell's Script Center problem

Fellow Scripters, We’ve heard that some of you think our PowerShell sample scripts on the TechNet Script Center stink. Do you have any idea how much that hurts? We slave over hot keyboards day in and day out trying to help you ungrateful scoundrels learn more about scripting. And how do you repay us? Nasty emails and smear campaigns, that...

Programmatic way to get valid string values for a parameter

<WIZARD WARNING>  ISVs and Tool vendors may find this important, Advanced users may find this interesting, Casual users may want to skip this. Someone asked me if there was a programmatic way to tell what the legal values for a string parameter to a cmdlet was.  The example was OUT-FILE -ENCODING xxx Out current help doesn...

PowerShell Grammar

A number of people have asked about the PowerShell grammar.  Here is a draft write up (I've also included it as an attachement) that George Xie and Bruce Payette are working on.   Grammar of PowerShell (formerly known as Monad)  is separated into parsing rules and tokenizing rules. Parsing rules in turn can be separated into 4 ...

Filing Bugs

With the release of RC1 of PowerShell, we've closed down on doing much feature work and are primarily polishing the product. This means fixing bugs, cleaning up usability issues, and really making sure this is a quality product. For those of you unfamiliar with Microsoft's milestone naming terminology, RC1 stands for Release Candidate 1. This ...

Invoking PowerShell with complex expressions using Scriptblocks

<WIZARD WARNING> First a reminder:  when you are in PowerShell (formerly knows as Monad), you can run anything you want out-of-process using the construct: PowerShell {Scriptblock} The great example of this is PS> #RUN EVERYTHING IN PROCESSPS> get-process |where {$_.handles -ge 900} |sort handles Handles  NPM(K) &...