A Podcast about Windows PowerShell.
In This Episode
Today on the PowerScripting Podcast we interview Doug Finke, software developer and blogger. Plus our usual news, resources, and tips.
News
What can you really do with PowerShell? With Admin Script Editor the question becomes what can’t you do with PowerShell? Besides all the advanced code generating tools this is the only tool offering a true PowerShell Forms Designer. To illustrate what can be done the guys at iTripoli created a full-featured MP3/Podcast player written entirely in PowerShell and delivered as a single script. Check it out at adminscripteditor.com/player.
-
Version 2 will have inline help for your functions, just like a cmdlet! You can see what the syntax looks like on this post on James Brundage’s Media and Microcode blog.
- The guys at the Get-Scripting podcast are running a little contest to win a copy of Jeffrey Hicks’ Managing AD with PowerShell: TFM book. To win, you just need to make captions for this picture from TechEd EMEA. Should be fun.
- PrimalScript 2009 preview (screenshot)
- New Codeplex project: SharePoint PowerShell Deploy
- There’s now a SQL and SharePoint forum on PowerShellCommunity.org
- Windows 7’s got a troubleshooting tool that’s going to be based on PowerShell.
Interview
This segment is brought to you by Idera:
Want to make Windows PowerShell easier than ever to learn and master? Checkout Idera’s PowerShellPlus Professional Edition which is now available for download! The new version has vastly improved code completion and a slick interactive Learning Center. Go to www.idera.com/PodcastPeople to get your copy today!
Doug has been doing software development for more than 25 years. He started on the Mainframe as a Basic Assembly Language developer. The first scripting languages he encountered were REXX and CLIST. He saw how productive these approaches were and sought them out in each new environment he worked with. He has played with Lua, Tcl/tk, Ruby, Python, Groovy and PowerShell since it was called Monad.
Doug currently works at Lab49 a technology consulting firm that builds advanced solutions for the financial services industry in NY and London.
He has written articles on PowerShell appearing in Dr. Dobb’s Journal. You can catch up with Doug at his blog at dougfinke.com/blog.
- glnsize : ## What feature of V2 are you the most excited about?
- steve-PSB : ##Do you know why NetMap does not seem to be available on Codeplex now?
- JeffHicks : ##are there cmdlets for any of this stuff or do I have to code with .NET classes?
- glnsize : ## Are the IT shops at your customers familiar with powershell? Or are you having to sell powershell from the ground up.
- GrantSteinfeld : ##Dougs showed us how M will be really helpful in creating event driven system, Doug could maybe speak about that?
Resources
Is your scripting might equal to the challenge? Put the power in your hands – download PowerGUI today.
- PoshCode script: elevate-process (sudo)
- TurboChargeAD.org has been doing some nice posts on the quest cmdlets. Here are some:
- Get-Drivespace script from Sepeck
- New video introducing Hyper-V powerpack from Kirk Munro
Gotcha
A friend of Hal’s noticed that the output from these three commands were all different:
- repladmin /? # looks as expected
- $a = repladmin /? # has double line-feeds
- (New-Object system.Net.Mail.MailMessage).Body = repladmin /? # has no linefeeds!
Jin Truher from Microsoft writes in response:
I believe that this is because the application itself is written with printf statements that look like this:
printf(“zazoo\r\r\n”);
(note the multiple use of “\r”) which confuse PowerShell a bunch – other applications do this too (ipconfig, for one)
He goes further to say that he found this out by using a tool from MS Services for Unix which was funny. 🙂
You can work around issues like this by using the string.split() method.
Mailbox
This is from listener Dale:
I just wanted to let you know that I have found another option that looks a lot more approachable as an object store via Powershell. It’s a database VERY similar to DB4O with Dual Licensing almost the same as well. It’s called “Perst”, and it is at:
I’ve been playing with it this afternoon, and it seems to be MUCH more accessible than DB4O via PowerShell.
Hi!
Dale:
I would like to know in which way db4o is not as accessible as other alternatives. Perhaps we can do something to improve that.
Best regards.
German
[…] talked about it on the PowerScripting Podcast. Steve Murawski was in the audience and decided to do some digging, He found it on CodePlex under […]
[…] I had no idea Doug was actually on the podcast I listen to! So I poke around on Doug’s blog from time to time to see what he’s stumbled upon and found this… HA! I’ve been listening to these guys for a few months (since i’ve gotten into PS) and had no idea that Doug was interviewed. I’ve just pulled it down and am listening to it now: https://powerscripting.wordpress.com/2008/12/08/episode-51-doug-finke/ […]