PowerShell V3 Console improvement

This may not seem earth shattering, but it’s major news in my world (I’m a 1 finger typist) In the V3 CTP, you now have the ability to use autocomplete in the console, in the middle of a line without losing the rest of the line. This allows you to do this: Get-Mailbox |Select-Object Name, [...]

3 Comments

Print from PowerShell’s Integrated Scripting Environment

Since I started working with the PowerShell V# CTP, I have been using the ISE instead of PowerGUI’s script editor, as PowerGUI does not yet support .Net version 4, which is required by PowerShell V3. One feature that is missing in the ISE is the ability to print a script. Jeffry Hicks has a solution [...]

Leave a Comment

PowerShell WMI Gather DNS settings for all Servers

A question came up on TechNet: “I am new to PowerShell and need a wmi script to query all the servers on my network for there dns settings and dump it out to a text file.  Would someone be able to help me get started?” This was a fairly long script, so I decided to [...]

38 Comments

PowerShell V.Next: Simplified Where-Object and ForEach-Object

I was perusing the samples that come with the PowerShell V3  CTP (Samples\WindowsPowerShell) when I noticed a folder called “Simplified Foreach and Where” Lo and behold, you no longer need curly braces “{}” or the $_ to refer to the current object in the ForEach-Object and  Where-Object cmdlets! The sample is incredibly simple, but quickly [...]

1 Comment

Share-Story | Win-Prize

PowerShell Magazine is currently soliciting articles for a series called “How I Learned to Stop Worrying and Love Windows PowerShell”. Anyone can submit an article and potentially win a TrainSignal PowerShell course. Check it out at PowerShell Magazine, and help new users!

Leave a Comment

PowerShell V 3.0 CTP Export-Csv now has an Append parameter!

Great news for all those folks who rely on Export-Csv and who have been wanting an Append parameter! The latest CTP of PowerShell 3.0 now provides the parameter. It’s not perfect, but it’s close – if the data you are exporting does not match the current data, you will receive an error: If you rerun [...]

2 Comments

Guest blog post on Hey, Scripting Guy! blog

Shortly after the Windows 2.0 PowerShell Bible came out, I was contacted by Ed Wilson of Microsoft Scripting Guy fame. He asked all of the authors if we’d like to contribute a guest blog post to the Hey, Scripting Guy! blog. I am pleased to say that mine is now published. I extended a script [...]

Leave a Comment

Windows PowerShell 2.0 Bible now available!

The book is now available at Amazon and Barnes & Noble in the US. Looks like it will take a day or two to make it overseas.

Leave a Comment

Updated CopyAsColorizedHTML module–Supports PowerGUI, PowerShell ISE, PowerShell Console

In a previous post (http://unlockpowershell.wordpress.com/2010/10/30/copytocolorizedhtmlscript-editor-add-on-for-powergui/), I discussed the add-on that I created for PowerGUI, which I use to copy scripts into colorized HTML. I am now using PowerShell V3, and though you can “break” PowerGUI to work with PowerShell V3 (http://csharpening.net/?p=588), I need my add-ons! I couldn’t really abandon PowerShell V3, but I can temporarily [...]

Leave a Comment

Windows PowerShell 2.0 Bible–Quick Update

Wiley now have the Description, Table of Contents, Author Information, and Downloads for the PowerShell Bible You can also read excerpts in PDF format. http://www.wiley.com/WileyCDA/WileyTitle/productCd-1118021983.html I wrote Chapters 3, 5, 7, 8, 9, and 12. The physical book should be hitting shelves shortly!

Leave a Comment

Follow

Get every new post delivered to your Inbox.

Join 32 other followers