PowerShell Team

Automating the world one-liner at a time…

-ErrorAction SilentlyContinue => -EA 0

In PowerShell, we draw the distinction between terminating and non-terminating errors.  The way to think about the distinction is a what should happen if I pipeline a set of objects to an operation.  There are certain errors which mean that there is little to no change that any subsequent object could be processed correctly (for ...
Comments are closed.0 0
Enum

Apologies to Lee Holmes

10,000 apologies to Lee Holmes for not including his book in the Tower of Power pic (it was next to my keyboard - note all the bookmarks). (image) Jeffrey Snover [MSFT] Windows Management Partner Architect Visit the Windows PowerShell Team blog at:    http://blogs.msdn.com/PowerShell Visit the Windows PowerShell ScriptCenter at...
Comments are closed.0 0

How Microsoft Works

People often look at Microsoft and scratch their heads.  One of the things I want do with this blog is to give people a peek behind the curtains so you understand how things really work.  My hope is that once you understand some of this, our actions and attitudes will be a little less befuddling. One of the things you need to ...
Comments are closed.0 0

Tower of Power – Part 2

I was thrilled to get a copy of Arnaud Petitjean's new Powershell book (in French) and add it to my Tower of Power (below). I've got to tell you, if I'm ever having a bad day - I just look at the Tower of Power and things get better!  (image) Jeffrey Snover [MSFT] Windows Management Partner Architect Visit the Windows ...
Comments are closed.0 0

PowerShell Remoting using SSH!

Can't wait for us to ship PowerShell Remoting? Want remoting to use SSH? Why wait for us?  /N software has just announced a beta of their NetCmdlets V2.0 which provides PowerShell remoting over SSH today!  They've had this for  a while and V2 updates (and improves) the usability of the cmdlets as well as adding a bunch of new ...

Sad Day: Finding Users With No Managers

Thomas WimPrine has a blog entry HERE where he uses PowerShell and Quest Software's free AD Cmdlets to find users with no managers.  I'd like to personally apologize to all those happy people whose lives will be disrupted when they are found out and finally assigned a manager.  :-) Jeffrey Snover [MSFT] Windows Management ...

Select-String and Grep

Dustin Marx has a blog entry where he compares Unix/Linux, PowerShell and DOS commands.  In it he says, "If there is one Unix command I would love to have in PowerShell, it is the grep command with its regular expression support."  Well Dustin, your wish is our command.  Select-String command to be precise: PS> Get...

Never Modify PowerShell's XML Files

Today we had a meeting about the installation of the next version of PowerShell on machines that had PowerShell V1.0 installed on them.  For reasons too painful and ugly to discuss, we are just going to replace any of the XML files (type extension and formatting files in $PSHOME) that WE INSTALLED in V1.0 (YOUR XML files are fine).  ...
Comments are closed.0 0

VMware PowerShell-Based Toolkit now in Beta

Wow - it's great to see VMware going to town with PowerShell.  They have now released a beta of their VMware Infrastrucure (VI) toolkit which contains 102 PowerShell Cmdlets.  They have also set up a community Website.   In searching for some details I discovered that they have set up a distinct blog for PowerShell at ...

PowerScripting Podcast – 3/19/08

I recently had a blast doing a interview for the PowerScripting Podcast with Hal Rottenberg and Jonathan Walz.  I've done lots of interviews in my life and a large majority of them tend to be very dry, serious and pithy.  If the person you are talking to is not a domain expert, then you have to ensure that you are not ...
Comments are closed.0 0