PowerShell Team
Automating the world one-liner at a time…
Latest posts
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: http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx
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. An example will help: PS> gps |Select -ExpandProperty Modules -ea SilentlyContinue |Group ModuleName |Sort Count |Select -Last 4 Count Name Group ...
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 for us to consider this and thought – wait – I bet that there are other commands that take a FilePath need to be updated as well. The question is – which commands take the FilePath parameter? As I write this up, I now remember the correct solution to this question....
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. Jaykul slides are great because they tell the PowerShell V2 story at a consistent level. You should definitely check them out and consider using this as a template if you need to give a PowerShell V2 talk to your friends. Good job! Enjoy! Jeffrey Snover [MSFT] Distingui...
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 iteratively investigate things until you have an answer and then you are done or you take take the next step and capture the final solution into a script that you’ll use in the future. Over time, if you use the script more and more often, you’ll add to it and make it more formal a...
XP and W2K3 Release Candidate Versions of PowerShell are Now Available for Download
Good things come to those who wait. Please download these bits and let us know if you have any problems with them. https://connect.microsoft.com/windowsmanagement/Downloads Just to be clear, this download contains the latest version of both PowerShell and WINRM. SNOOPY DANCE! Jeffrey Snover [MSFT]Distinguished EngineerVisit the Windows PowerShell Team blog at: http://blogs.msdn.com/PowerShellVisit the Windows PowerShell ScriptCenter at: http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx
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. Make it Open · Allow users to see a homepage with all the details about the program without login · Allow users to view any bug/feedback submitted without login. This would allow users to easi...
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 achieve high product quality. Therefore, the message of this blog entry is simple: help us help you! If you have any feedback specific to the WMF Release Candidate, put your comments here. Thanks! Xin Li Windows PowerShell Team
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