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
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 MMS2009-SE06-Windows_PowerShellV2.zip
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 EngineerVisit the Windows PowerShell Team blog at:
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"
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.
Jeffry Snover and many other have used Start-Demo in powershell.exehttp://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 runImport-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 clear and type some other command To get the next command again,
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 time Get-Counter ‘\Processor(*)\% Processor Time’ # Get a sample of the processor time until you press CTRL + C Get-Counter ‘\Processor(*)\% Processor Time’ -Continuous Hope this Helps,
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 herehttp://blogs.microsoft.co.il/blogs/scriptfanatic/archive/2009/01/31/using-help-in-powershell-ise.aspxHe 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 did it with calling hh.exe on the link There is an alternative way;
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,
Für diese Internetseite verwenden wir Cookies für folgende Funktionen:
The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.