Showing archive results for 2009

Jan 23, 2009
Post comments count0
Post likes count0

A Bit More On BITS

PowerShell Team

I was in a meeting yesterday talking about BITS and what an awesome service it was.  I described what it did and how it allowed people to avoid a wide range of low-class, pain in the butt problems.  The question then became, "why isn't everyone using it?"  That's a darn good question.  The answer is that we have not ed...

Jan 19, 2009
Post comments count0
Post likes count0

Debugging PowerShell Script Using the ISE Editor

PowerShell Team

Hi writers and consumers of buggy scripts.This post explains the basics of the Graphical Debugger in the ISE. There’s a lot of good stuff, with some tips and tricks.The debugger support got the cmdlets and user interface.  The cmdlets include  Enable/Disable/Get/Set/Remove-PsBreakpoint and Get-PsCallStack.The general feel is to place brea...

CTP3PowerShell V2PowerShell ISE
Jan 19, 2009
Post comments count0
Post likes count0

Why Should I Test With PowerShell?

PowerShell Team

Today, on our internal discussion list, someone asked if there were any advantages to testing with PowerShell versus testing with C#. I was able to come up with 10 quick reasons to test with PowerShell: I hope these reasons help convince other software testers to use PowerShell. It can really make testing...

PHILOSOPHYTesting
Jan 17, 2009
Post comments count0
Post likes count0

Using PowerShell to Protect Against Conficker (Enabling and Disabling AutoRun.inf)

PowerShell Team

On the front page of MSN.com today, there’s details about a new worm, Conficker, that spreads using the good old fashioned autorun.inf tricks.  It infects USB drives so that, when you plug the drive into another computer, it automatically runs and infects the machine.  The article mentioned a post on Nick Brown’s blog that instructs you o...

Jan 16, 2009
Post comments count0
Post likes count0

Group Policy Cmdlets in Windows 7

PowerShell Team

Lilia Gutnik has posted a blog entry HERE showing an example of the Windows 7 Group Policy cmdlets.  Check it out.   Experiment!  Enjoy!  Engage! Jeffrey Snover [MSFT] Windows Management Partner Architect Visit the Windows PowerShell Team blog at:    http://blogs.msdn.com/PowerShell Visit the Windows P...

Jan 16, 2009
Post comments count0
Post likes count0

How To Make Your Own Module Repository

PowerShell Team

Andy Schneider (from Get-PowerShell.com) recently asked me how he could make sure that everyone at Avanade could get a consistent set of modules.  I run into a somewhat similar problem here at Microsoft, where I want to take scripts I've built to work with internal applications and make them easy for people to use, even if they're not already ...

CTP3Modules
Jan 15, 2009
Post comments count0
Post likes count0

Please Join Me for a Power Scripting Podcast Tonight @ 9PM EST (6PM PST)

PowerShell Team

I’m going to be doing a PowerScripting Podcast tonight @ 9PM EST.  There’s a live chat room where you can ask questions and pick the brains of a tester / avid scripter on the PowerShell team. It should be fun.  I hope to see your questions there. http://powerscripting.wordpress.com/2009/01/14/tomorrow-on-powerscripting-live-james-brunda...

Jan 14, 2009
Post comments count0
Post likes count0

Windows 7 Troubleshooting

PowerShell Team

Windows 7 has a cool new extensible troubleshooting framework which is entirely based on PowerShell scripts.  Rafael Rivera has written a very good step-by-step guide for how to author a Win7 Troubleshooting Pack HERE. Check it out. Experiment!  Enjoy!  Engage! Jeffrey Snover [MSFT] Windows Management Partner Architect Visit...

Jan 14, 2009
Post comments count0
Post likes count0

Podcast Discussing WSMAN 1/14/2008

PowerShell Team

Tomorrow evening I'll be doing the Mind Of Root podcast with Steve Murawski to discuss WSMAN.  WSMAN is the new standard management protocol to talk to all sorts of heterogeneous devices and is the protocol that PowerShell Remoting is based upon.  As a general rule, management protocols take forever to become relevant but I believe that W...

Jan 13, 2009
Post comments count0
Post likes count0

Interactive remoting in CTP3

PowerShell Team

Today let's talk about one of the cool new features of Windows PowerShell V2 - Interactive Remoting. Let’s start with an example: As you can see Enter-PSSession starts interactive remoting session and Exit-PSSession takes you out of it. The aliases for these commands are etsn and exsn. You can also use exit keyword instead of Exit-PSSession. Int...

CTP3Remoting