PowerShell Team

Automating the world one-liner at a time…

Latest posts

Sad Day:  Finding Users With No Managers
Mar 27, 2008
Post comments count 0
Post likes count 0

Sad Day: Finding Users With No Managers

PowerShell Team
PowerShell Team

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 Partner Architect Visit the Windows PowerShell Team blog at:    http://blogs.msdn.com/PowerShell Visit the Windows PowerShell ScriptCenter at:  http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx

Select-String and Grep
Mar 23, 2008
Post comments count 0
Post likes count 1

Select-String and Grep

PowerShell Team
PowerShell Team

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-Help Select-String NAME     Select-String SYNOPSIS     Identifies patterns in strings. SYNTAX     Select-String [-pattern] <string[]> -inputObject <psobject> [-include <stri    ...

Never Modify PowerShell's XML Files
Mar 21, 2008
Post comments count 0
Post likes count 0

Never Modify PowerShell's XML Files

PowerShell Team
PowerShell Team

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).  We are NOT going to make backups, detect modifications, nothing - we are going to pave and roll. One of the hallmarks of a great PM is customer empathy proven by the fact that we had some PMS that were greatly concerned about customers that had taken our XML files and added...

VMware PowerShell-Based Toolkit now in Beta
Mar 21, 2008
Post comments count 0
Post likes count 0

VMware PowerShell-Based Toolkit now in Beta

PowerShell Team
PowerShell Team

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 their website HERE.  It has some good examples of the sort of things you'll be able to do with the cmdlets. I knew that they were "doing something" with PowerShell but I didn't realize how open and active they had been.  They have some good stuff there. ...

PowerScripting Podcast – 3/19/08
Mar 19, 2008
Post comments count 0
Post likes count 0

PowerScripting Podcast – 3/19/08

PowerShell Team
PowerShell Team

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 misunderstood and the way to do that is to choose each word precisely and then shut up.  Contrast that with podcasts which are much more like a peer-to-peer discussion.  It produces the sort of conversation you would have over a beer or cup of coffee depending on t...

PowerShell Plus is now official!
Mar 14, 2008
Post comments count 0
Post likes count 0

PowerShell Plus is now official!

PowerShell Team
PowerShell Team

PowerShell Plus has now officially released V1.0.  Actually I'm late in my congratulations, they actually released it on March 6th.  If you haven't checked out PowerShell Plus, you definitely should take advantage of their free 30 day trial and see what you are missing.  This is a really impressive piece of creative engineering. You can learn more about it HERE. Congratulations to Karl and Tobias on a job well done! Jeffrey Snover [MSFT] Windows Management Partner Architect Visit the Windows PowerShell Team blog at:    http://blogs.msdn.com/PowerShell Visit the Windows P...

New PowerShell Training Options
Mar 12, 2008
Post comments count 0
Post likes count 0

New PowerShell Training Options

PowerShell Team
PowerShell Team

  The creative guys at Sapien are thinking outside the box again.  They are offing a new hybrid approach to online training for PowerShell.  You sign up for a class and get some self-study materials but you also have an online class that meets twice a week for an hour (you have a choice of a couple of timeslots).  The course runs for 2 to 4 weeks depending upon the topic.  Very clever stuff.  You can find out more at the following links: www.scriptinganswers.com/training/online http://www.scriptinganswers.com/training/ilt/ BTW - you probably already know that BillG is a big fan ...

Do you want a PowerShell based build environment?
Mar 11, 2008
Post comments count 0
Post likes count 0

Do you want a PowerShell based build environment?

PowerShell Team
PowerShell Team

If so SPEAK UP NOW.  The Windows SDK team is looking for feedback on whether this would be useful.  Check out their request for feedback at:  Influence the future of Windows sdk - Powershell based build environment 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:  http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx

Highway to PowerShell V2 – WOW
Mar 7, 2008
Post comments count 0
Post likes count 0

Highway to PowerShell V2 – WOW

PowerShell Team
PowerShell Team

Ragnar Harper is a senior consultant and Advisor at Crayon AS in Norway.  Ragnar is also a big fan of PowerShell.  Recently he won a demo contest putting PowerShell through its paces.  At one point he did an import-csv of a large file and created Active Directory entries.   This took a while so while that was going, he used Guitar Hero and jammed to the following latest and greatest edition of Highway to PowerShell.  This is REALLY good stuff.  Check it out: http://video.msn.com/video.aspx?mkt=en-us&vid=b75260ae-1736-4b15-8b86-aaef20644e52 10,000 thanks for sharing that Ra...