PowerShell Team

Automating the world one-liner at a time…

Latest posts

Apr 30, 2009
Post comments count 0
Post likes count 0

SE06 Whats New in Windows PowerShell 2.0

PowerShell Team

Slides and demos from the Wednesday talk at MMS 2009.Momentum around PowerShell has been great here. Lots and lots of products are showcasing the automation through PowerShell. -Hemant Mahawar [MSFT]Program Manager MMS2009-SE06-Windows_PowerShellV2.zip

Apr 30, 2009
Post comments count 0
Post likes count 0

SE07 Automating Your Infrastructure with Windows PowerShell 2.0

PowerShell Team

Attached are the slides and demos that I used today during my MMS talk.MMS is a great conference.  It provides the opportunity to meet and talk to super smart people working on similar problems and learn from their scars.  Enjoy! Jeffrey Snover [MSFT]Distinguished EngineerVisit the Windows PowerShell Team blog at:    http://blogs.msdn.com/PowerShellVisit the Windows PowerShell ScriptCenter at:  http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx MMS2009.zip

Apr 22, 2009
Post comments count 0
Post likes count 0

V2 Quick Tip: Starting a new elevated process from a PowerShell script

PowerShell Team

One of the systems administration hurdles of the post-Vista world is figuring out how to make a script run as an administrator. In PowerShell V2, using the Start-Process cmdlet, this is a one liner that will get the job done: Hope this Helps, James Brundage [MSFT]

Apr 22, 2009
Post comments count 0
Post likes count 0

Soliciting New Verbs

PowerShell Team

With the recent changes in v2 to increase the visibility of the cmdlet design guidelines, we want to make sure we have a solid set of verbs on the approved verb list before we ship v2. We've already talked with a number of partners and customers and have made some recent changes to the verb list. In addition, we'd love to have feedback from our community on any holes you perceive we have in our current list of approved verbs. To provide some context, here are the things we think about when deciding whether to add a new verb: When suggesting a new verb, it's most helpful if you can include the following infor...

Apr 21, 2009
Post comments count 0
Post likes count 0

Do PowerShell Demos in the ISE

PowerShell Team

Jeffry Snover and many other have used Start-Demo in powershell.exehttp://blogs.msdn.com/powershell/archive/2007/03/03/start-demo-help-doing-demos-using-powershell.aspx Continuing the tradition, we now have ISEDemo.psm1 To use it, start ISE and runImport-Module ISEDemo.psm1 #(attached)Start-Demo c:\path\to\demofile.txt Demo files look like # Get 10 lowest handle count processesgps | sort handles | select -first 10# Import all available modulesGet-Module -ListAvailable | Import-Module Thanks,Ibrahim Abdul Rahim [MSFT]Windows PowerShell TestThis posting is provided “AS IS” with no warranties. ISEDemo.psm1

Apr 21, 2009
Post comments count 0
Post likes count 0

V2 Quick Tip: Monitoring Performance Counters with PowerShell

PowerShell Team

I just got a ping on our internal discussion list about how to get at the Performance counters in PowerShell.  In V2, we've got some nifty cmdlets to help read performance counters. Here are a few of quick one liners to get you started: Hope this Helps, James Brundage [MSFT]

Apr 20, 2009
Post comments count 0
Post likes count 0

Adding your own help links to ISE

PowerShell Team

ISE has an F1 help feature, where if you press F1 when your caret is over a cmdlet name, context sensitive help opens. Shay Levy has a nice post on F1 help in the ISE herehttp://blogs.microsoft.co.il/blogs/scriptfanatic/archive/2009/01/31/using-help-in-powershell-ise.aspxHe adds “I wanted to mimic the way ISE’s help works when you press F1 and allow an alias to be expanded to cmdlet name.” and he did it with calling hh.exe on the link There is an alternative way; Add your own help links to the ISE You can add to $psLocalHelp and $psOnlineHelp, any key to take you to a help page. For example, $psIse.Options.LocalH...

Apr 20, 2009
Post comments count 0
Post likes count 0

Script Club In Seattle: Tomorrow Night

PowerShell Team

If you’re a PowerShell fan, and in the Seattle area, then you should know that Andy Schneider (of Get-PowerShell.com) will be hosting a Script Club event at the Avanade offices. Script Club is a great way to learn PowerShell.  Ideally, you bring a laptop, your problems, and your curiosity.  Everyone at Script Club helps everyone else get up to speed on PowerShell, answers each others questions, and solves their scripting problems. The first event in Seattle is tomorrow night.  Check out this blog post for more details, or register with ClickToAttend, or just show up. The event is from 7pm to 9pm...

Apr 17, 2009
Post comments count 0
Post likes count 0

Differences between the ISE and PowerShell console

PowerShell Team

Here is a collection of differences between the PowerShell_ise.exe and PowerShell.exe, as well as workaroundsand suggestion if you need them (assuming we have them :)) There could be others, but parity with PowerShell is a big thing for the ISE. Cheers,Ibrahim Abdul Rahim[MSFT]