PowerShell Team

Automating the world one-liner at a time…

Latest posts

May 16, 2009
Post comments count 0
Post likes count 0

Summer Scripting Games 2009

PowerShell Team

  Scripting is fun .. and it gets better when you do it as part of Scripting Games hosted by Microsoft Script Center . But wait there is more - this year Scripting Center is hosting Summer Scripting Games in collaboration with PowerShellCommunity.org and PoshCode.org .This announcement comes straight from Tech.Ed 2009.  See full details here http://www.microsoft.com/technet/scriptcenter/funzone/games/games09/announcement.mspx Follow the Scripting Guys on Twitter to stay tuned. Thanks Osama Sajid , Program Manager  

May 13, 2009
Post comments count 0
Post likes count 0

Updates from Tech.Ed 09

PowerShell Team

  I am not attending Tech.Ed but I am getting updates from my friends. PowerShell team is very excited about the offering we have for Tech.Ed this year... frankly, what is the best way to save money on your IT Infrastructure... Use PowerShell v2 and automate you tasks. PowerShell v2 is getting good focus in the keynote addresses and demos this year A few highlights:     Other Interesting stuff from Tech.Ed Pictures of PowerShell Dinner are here  Scripting Guys booth at Tech.Ed was giving free T-shirts and other stuff… but not to everyone - Go to Twitter to find out   And these Tech....

May 10, 2009
Post comments count 0
Post likes count 0

Copy-Acl

PowerShell Team

Today my wife told me about a problem on the family PC.  There were a bunch of PDF files in a directory that had the wrong permissions so my son couldn’t access them.  She modified the ACL on one of them using Explorer and verified that that was the fix.  (This is from a test I ran) She then selected them all and tried to do it all at once but when she brought up the Properties, it didn’t have the Security Page anymore: She wanted to know if there was some trick to set the ACLs all at once.  I told her that PowerShell could do that.  I showed her how to use Get-Acl and Set-Acl and...

May 10, 2009
Post comments count 0
Post likes count 0

Quick "5 Minute Concepts" Video series for Powershell 2.0

PowerShell Team

Phil Pennington from DPE has a very useful set of videos on Powershell 2.0 in "5 minute concept" series - Check it out https://channel9.msdn.com/tags/PSV2/. We will add more videos here.  Want some specific area to be covered?- let us know by leaving a comment. Thanks Osama Sajid, Program Manager

May 6, 2009
Post comments count 0
Post likes count 0

Fun With Alerts (“`a”)

PowerShell Team

I just decided to restart Outlook to see if that made some weirdness I was experiencing go away.  As you may or may not know, the Outlook process often is running for quite a bit after the Outlook window goes away.  As such, you really don’t want to start another instance of Outlook until the first version is done.  In V2, we now have the WAIT-PROCESS command so what I wanted to do was: PS> Wait-Process Outlook; Outlook The problem with that is that Outlook is not in the Path so it doesn’t work.  I could go figure out how to do this but I didn’t want to spend the time right now so i...

May 5, 2009
Post comments count 0
Post likes count 0

PowerShell V2 – backward compatibility

PowerShell Team

Windows PowerShell 2.0 is backward compatible with Windows PowerShell 1.0. All the scripts written for V1 should work in V2. If you find instances of broken scripts from v1 please let us know through our connect site https://connect.microsoft.com/site/sitehome.aspx?SiteID=99 However there are few points to be noted:   Breaking changes from PowerShell 1.0 ·        The value of the PowerShellVersion registry entry in HKLM\SOFTWARE\Microsoft\PowerShell\1\PowerShellEngine is changed to 2.0. ·        New cmdlets and variables have been ...

May 5, 2009
Post comments count 0
Post likes count 0

PowerShellToys – WOW!

PowerShell Team

Gent Hito and the superstars at /n software has just announced a new product division, PowerShellToys.  This division is focused exclusively in PowerShell technologies.  PowerShellToys products bridge other Microsoft technologies to PowerShell making it easily accessible to other developers: Web Developers, Desktop Application Developers, Database Developers, etc..   Gent told me that they are called "Toys" because the folks at /n software believe that once developers see the sheer power of bringing PowerShell into their environment, they will look at these tools with a wide grin, ...

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

Enable-PSRemoting

PowerShell Team

I installed Win7 RC build yesterday and tried to enable PS Remoting. I launched PowerShell elevated, ran Enable-PsRemoting cmdlet but it gave an “access denied” error message  One good thing in PowerShell help in RC is “about_Remote_Troubleshooting”. It is very detailed and covers all important failure scenarios. Go through it if you face problem with enabling remoting on a box To summarize, there are few things that I had to check 1.      My machine is connected to domain. 2.      I am logged in as administrator 3.      PowerS...

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

SE05 Easy Automation with Windows PowerShell

PowerShell Team

Slides and demos from the Monday introductory talk at MMS 2009. PowerShell has been getting a lot of attention at MMS 2009. The community around PowerShell is also being noticed by folks and was even "singled-out" at the Keynote on Monday by Bob Kelly :)-Hemant Mahawar [MSFT]Program Manager MMS2009-SE05-Easy_Automation.zip