April 2009 - Windows PowerShell Team Blog

  • Enable-PSRemoting

    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 PS C:\Windows\system32> Enable-PSRemoting -force WinRM already is set up to receive requests on this machine. Set-WSManQuickConfig : Access is denied. At line:50 char:33 + Set-WSManQuickConfig <<<< -force + CategoryInfo...
  • SE05 Easy Automation with Windows PowerShell

    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 Read More...
  • SE06 Whats New in Windows PowerShell 2.0

    Slides and demos from the Wednesday talk at MMS 2009. Momentum around PowerShell has been great here. Lots and lots of products are showcasing the automation through PowerShell. -Hemant Mahawar [MSFT] Program Manager Read More...
  • SE07 Automating Your Infrastructure with Windows PowerShell 2.0

    Attached are the slides and demos that I used today during my MMS talk. MMS is a great conference. It provides the opportunity to meet and talk to super smart people working on similar problems and learn from their scars. 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...
  • V2 Quick Tip: Starting a new elevated process from a PowerShell script

    One of the systems administration hurdles of the post-Vista world is figuring out how to make a script run as an administrator. In PowerShell V2, using the Start-Process cmdlet, this is a one liner that will get the job done: Start-Process "$psHome\powershell.exe" -Verb Runas -ArgumentList '-command "Get-Process"' Hope this Helps, James Brundage [MSFT] Read More...
  • Soliciting New Verbs

    With the recent changes in v2 to increase the visibility of the cmdlet design guidelines , we want to make sure we have a solid set of verbs on the approved verb list before we ship v2. We've already talked with a number of partners and customers and have made some recent changes to the verb list. In addition, we'd love to have feedback from our community on any holes you perceive we have in...
  • Do PowerShell Demos in the ISE

    Jeffry Snover and many other have used Start-Demo in powershell.exe http://blogs.msdn.com/powershell/archive/2007/03/03/start-demo-help-doing-demos-using-powershell.aspx Continuing the tradition, we now have ISEDemo.psm1 To use it, start ISE and run Import-Module ISEDemo.psm1 #(attached) Start-Demo c:\path\to\demofile.txt Type enter to execute the command once its finished typing You can escape to...
  • V2 Quick Tip: Monitoring Performance Counters with PowerShell

    I just got a ping on our internal discussion list about how to get at the Performance counters in PowerShell.  In V2, we've got some nifty cmdlets to help read performance counters. Here are a few of quick one liners to get you started: # List all of the performance counters you can monitor Get-Counter –listSet * | Select-Object -ExpandProperty Paths # Get one sample of the processor...
  • Adding your own help links to ISE

    ISE has an F1 help feature, where if you press F1 when your caret is over a cmdlet name, context sensitive help opens. Shay Levy has a nice post on F1 help in the ISE here http://blogs.microsoft.co.il/blogs/scriptfanatic/archive/2009/01/31/using-help-in-powershell-ise.aspx He adds “I wanted to mimic the way ISE’s help works when you press F1 and allow an alias to be expanded to cmdlet name.” and he...
  • Script Club In Seattle: Tomorrow Night

    If you’re a PowerShell fan, and in the Seattle area, then you should know that Andy Schneider (of Get-PowerShell.com ) will be hosting a Script Club event at the Avanade offices. Script Club is a great way to learn PowerShell.  Ideally, you bring a laptop, your problems, and your curiosity.  Everyone at Script Club helps everyone else get up to speed on PowerShell, answers each others questions...
  • Differences between the ISE and PowerShell console

    Here is a collection of differences between the PowerShell_ise.exe and PowerShell.exe, as well as workarounds and suggestion if you need them (assuming we have them :)) Limited support for interactive console apps, try cmd.exe, then try cmd.exe /k cmd.exe /c dir still works though, and more information is available here http://blogs.msdn.com/powershell/archive/2009/02/04/console-application-non-support...
  • 15 Minutes with Lang.Net

    Microsoft is an awesome place to work on languages! Lang.Net is a great language conference that Microsoft holds every year.  We bring in people from all around the industry that are passionate about languages and then race through a set of topics.  All the talks are given 15 or 30 minute slots so that we can get through a ton of information.  Check out the agenda for this year ( HERE...
  • Increasing visibility of cmdlet design guidelines

    Summary In PowerShell v1, we published a set of cmdlet design guidelines that included direction on how to properly name cmdlets. Throughout the v2 cycle, we've seen an increase in cmdlet authors deviating from the standards in unexpected ways. Our user community (you all) has become particularly vocal in recent months that we needed to do something in v2 to curb this trend. This led to a series...
  • Configuring PowerShell for Remoting – Part 2 (Fan-In)

    The features discussed in this blog post depend on PowerShell CTP3 release. Details about PowerShell CTP3 can be found at http://blogs.msdn.com/powershell/archive/2008/12/23/early-christmas-present-from-powershell-team-community-technology-preview-3-ctp3-of-windows-powershell-v2.aspx The Part 1 of this series concentrated on configuring PowerShell remoting through WinRM service. In this blog post,...
  • Introducing the WMI Blog

    The people over on WMI, WinRM, and BITS have started up a blog to share their systems management expertise with the world.  Check it out: http://blogs.msdn.com/wmi/ Here are some fun posts to get you started: Accessing WMI Data via WinRM Let’s Troubleshoot WMI (Part 1: Remoting & Security) (this one includes a handy chart I wrote years ago to figure out what I needed to change when WMI couldn...
1 2 Next >
Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.