Episode 51 – Doug Finke

8 12 2008

A Podcast about Windows PowerShell.

Listen:

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.

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

When it comes to scripting, you’re a warrior. But mighty warriors need mighty tools!For awesome PowerShell scripting, nothing matches the might of Quest’s PowerGUI. Versatile and easy to use, PowerGUI helps you build commanding scripts that leverage PowerShell’s strength across the enterprise. Now, ruling your domain is easier than ever.

Is your scripting might equal to the challenge? Put the power in your hands – download PowerGUI today.

– The joy of hashtables

Gotcha

A friend of Hal’s noticed that the output from these three commands were all different:

  1. repladmin /? # looks as expected
  2. $a = repladmin /? # has double line-feeds
  3. (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:

http://www.mcobject.com/perst

I’ve been playing with it this afternoon, and it seems to be MUCH more accessible than DB4O via PowerShell.


Actions

Information

3 responses

10 12 2008
German

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

15 12 2008
Development in a Blink » Blog Archive » NetMap has resurfaced as NodeXL

[…] 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 […]

8 01 2010
I had no idea Doug was actually on the podcast I listen to! « Digital Disc0very

[…] 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/ […]

Leave a comment