PowerShell Team

Automating the world one-liner at a time…

What's Up With Command Prefixes?

We like to say that PowerShell uses Verb-Noun naming.  If we were accurate, we would say that PowerShell uses Verb-PrefixNoun naming.  For instance: Get-WinEvent .  WIN is a prefix for Windows.  Every now and again people look at this and ask “what's up with command prefixes ?!?”.  Actually, the question usually ...

Remoting for non-Admins

Per Østergaard has a great blog entry with all the steps for enabling this HERE.  You’ll want to bookmark this one.  :-)   Enjoy! Jeffrey Snover [MSFT] Distinguished Engineer Visit the Windows PowerShell Team blog at:    http://blogs.msdn.com/PowerShell Visit the Windows PowerShell ScriptCenter at...

Select –ExpandProperty <PropertyName>

Most of us are familiar with the traditional use of Select –ExpandProperty <propertyname>.  This takes a the value of an incoming object, enumerates its values and outputs each of those values as a single record on the output stream after adding any properties specified by the –PROPERTIES <propertyname[]> parameter.  ...

The Glory of Quick and Dirty Scripting

One of the things I want us to consider doing in the future is to leverage our Universal Code Execution infrastructure to execute any kind of code. For example, imagine that I have some script foo.vbs, I’d like to do the following: PS>  Invoke-Command –FilePath foo.vbs –computer (cat servers.txt) I was about to file a record ...

What’s New in PowerShell V2 – By Joel “Jaykul” Bennett

PowerShell MVP Jaykul gave a presentation to the NY PowerShell user group and was kind enough to post the text of his slides HERE.  One of the problems I have in talking about V2 is that there is SO much good stuff that I often get the levelling wrong – spending too much time on one area and then needing to skip over others.  ...

Analyzing Weblog Data Using the Admin Development Model

Someone just tweeted a link to Scott Hanselman’s 2007 blog (an oldie but goodie) about how he used PowerShell to analyze the WebLog data from his podcasts.  He provides a beautiful example of I like to call the “Admin Development model”.  The whole point of the Admin Development Model is that you use tools to quickly and ...

New and Improved PowerShell Connect Site

We have made changes to PowerShell connect site last month with the goal of making it easier for users to submit and share feedback. We also changed the page layout to make it more user friendly. Take a look at our new site https://connect.microsoft.com/PowerShell   Details of the changes made:  A.     ...

Help Us Improve Microsoft Windows Management Framework

After WMF (Windows Management Framework ), i.e., the combined download package of  Powershell, WsMan and BITS,  for Vista and Windows Server 2008 was released to the Web on Aug. 13th, we can feel the high expectation for the final WMF releases from our customers. We would like you know your feedbacks are also crucial to help us...

Learn Windows PowerShell 2.0 with PowerGUI

PowerGUI has a cool way to get you started with PowerShell 2.0 features.. 'Code Snippets'. Take a at this video to know more. http://poshoholic.com/2009/08/28/learn-powershell-v2-features-using-powershell-code-snippets/ Thanks Osama Sajid, Program Manager  ...