By Tobias on
5/23/2008 8:46 PM
In this blog, I cover features in PowerShell Plus. Feature #7: Support for -STA and Windows Presentation Foundation
Check out the latest PS Team blog series covering WPF scripting in PS V2: http://blogs.msdn.com/powershell/archive/2008/05/22/wpf-powershell-part-1-hello-world-welcome-to-the-week-of-wpf.aspx
A lot of people are using PS V2 already, and so far PowerShell Plus has worked great with V1 and V2. And now it even supports "STA" single threaded appartment model! So you can use PS+ to write and debug WPF scripts, too!
Read More »
|
By Don Jones on
5/23/2008 10:33 AM
Did you ever read the help for Windows PowerShell’s Get-WmiObject cmdlet? I mean really read the help?
You’ve probably noticed the -computerName parameter, but pay close attention to how it’s listed in the help:
[-computerName string[]]
Read More »
|
By Don Jones on
5/23/2008 7:00 AM
I'm moving some of my blogging activities to http://www.concentratedtech.com; you'll notice me blogging less on http://blog.sapien.com going forward. I'll also be cross-posting some of my PowerShell-related blog entries right here. You should also notice a much higher volume of blogging out of me in the near future :) so stay tuned.
Read More »
|
By Don Jones on
5/21/2008 1:52 PM
The v2 Windows PowerShell eBook I'm co-authoring with Jeff Hicks (http://www.sapienpress.com/pshv2) is updated to reflect the latest Community Technology Preview (CTP) from Microsoft. Learn about the changes to remoting, the new transactional registry, the latest on script cmdlets, and much more - get involved with this CTP faster and get feedback to the PowerShell team!
Read More »
|
By Jeff Hillman on
5/21/2008 12:18 PM
The last of a three-part series on the Cmdlets I have written for my own use.
Read More »
|
By Tobias on
5/19/2008 12:21 PM
In this blog, I cover features in PowerShell Plus. Feature #6: Pasting script and console content to a blog
if you wrote a cool script and would like to show it off to others, you can. PowerShell Plus supports color-coded script code transfer. Launch the editor (press CTRL+E), load your script, then copy it to your blog. Coincidentally, I'd like to share a script with you this way:
$helper = New-Object -COMObject
Read More »
|
By Jeff Hillman on
5/15/2008 5:03 PM
Part two of a three-part series on the Cmdlets I have written for my own use.
Read More »
|
By Jeff Hillman on
5/14/2008 3:14 PM
Part one of a three-part series on the Cmdlets I have written for my own use.
Read More »
|
By Tobias on
5/13/2008 5:10 PM
In this blog, I cover features in PowerShell Plus. Feature #5: History tracking
I dont know about you, but I use command history a lot. It's just handy to press ArrowUp and get back my previous commands. Unfortunately, consoles generally seem to be a bit forgetful, and once you close powershell, all your history is gone. Of course you could export and re-import history using the PowerShell cmdlets, but that won't bring back the true console history and the ability to walk back your previous commands with the arrow keys. Bummer.
In PowerShell+, that's better. When you close and re-open PowerShell+, all your history is still there. Cool, eh? What's even better, PS+ automatically streamlines your history, too, so when you close PS+, it only remembers unique commands, and it won't remember commands that resulted in an error.
You can actua
Read More »
|
By Tobias on
5/11/2008 12:51 PM
In this blog, I cover features in PowerShell Plus. Feature #4: Live Variable Monitor
There are tons of automatic PowerShell variables, and of course you can define your own. To keep track and explore variables, invoke the live variable monitor, simply by pressing CTRL+T. You get a list of all variables in current scope, and they are marked with star-symbols.
To understand what the symbols are for, click on the down-arrow next to the funnel-button. With the funnel, you filter the var list. You can for example exclude all automatic variables and focus on new or changed variables only. This way, the list only shows stuff that changes. Right next to the funnel, there's a text box. You can enter any regular expression here to further enhance filtering.
For example, to get a quick overview of all your preferences, enter Pref into the text b
Read More »
|