In This Episode
Today on the PowerScripting Podcast we interview Doug Finke, software developer and blogger. Plus our usual news, resources, and tips.
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.
- 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.
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 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?
Is your scripting might equal to the challenge? Put the power in your hands â€“ download PowerGUI today.
-Â Speed up PowerShell V1 with update-GAC...why?
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:
(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.