Powerscripting Podcast

Syndicate content PowerScripting Podcast
A Podcast for people learning and using Windows PowerShell
Updated: 10 hours 4 min ago

Episode 53 - PowerScripting Podcast - Jeffrey Snover and Bruce Payette

Mon, 12/22/2008 - 5:38am
We have a great âCTP3 showâ lined up for you today. Our special guests are Jeffrey Snover and Bruce Payette from Microsoft. Sponsor info
  • 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!
  • Quest: 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
  • iTripoli: 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
  • Questions for Jeffrey and Bruce from USteam

 

 

 

  • rfoust : ## what is the biggest design problem you see w/ powershell right now
  • glnsize : ## why was the decision made to wed V2 to w7 w2k8 r2?
  • xx JeffHicks : ##what can you tell mgmt who is reluctant to embrace PowerShell
  • xx finked : ## how did you win over the nay sayers?
  • xx rfoust : ## it has been said that posh wasnt meant to replace cmd. So when is cmd going to go away?
  • qa_warrior : # will there be a way to copy a runspace?
  • xx spowser : ## Will a runspace/session ever be able to interact with the desktop on a remote system?
  • cartershanklin : ## When do we get ArgumentTransformationAttributes in script cmdlets?
  • xx gaurhoth : ## scvmm 2008 and scom 2007 both require Powershell V1. CTP2 fails the install requirements and fails to install. When V2 is released, whatâs being done to ensure that other product groups donât artificially limit their product to V1?
  • xx aleksandar : ## how big is the powershell team?
  • xx rfoust : ## how close does the posh team work w/ the .net team, or are you mostly just a consumer?
  • Jaykul : ## Is there any plan to support writing CLASSES in PowerSHell?
  • meson : ## Will PowerShell ever be multithreaded?
  • Kemis : ## Any plans to expand upon Set-ACL so itâs more on par with CACLS?
  • xx steve-PSB : ##In Jeffreyâs recent channel 9 interview, he referred to pushing for PowerShell to be the standard shell on various systems, including Linux and hardware devicesâ Are there other major efforts (other than Pash) to get PowerShell on other platforms?
  • xx Jaykul : ## What about Extension Methods and LINQ?
  • xx Jaykul : halr9000: .Net 3.5 brought us language integrated queries as an AMAZING way of dealing with collections of all types, and databases â when will PowerShell suport LINQ
  • xx Jaykul : ## halr9000: AND: in 3.5 there are a lot of âExtensionMethodsâ which show up as .Methods on various objects â is there going to be a way to access those (other than via their STATIC notation) in PowerShell
  • xx palen : ## What kind of relationship does pash have with the PS team?
  • xx rfoust : ## jsnover: when ya gonna start using twitter?
  • xx sepeck : ## do you ever get people who, once exposed to powershell for a week or two, who still donât like it?
  • xx Jaykul : ## Any chance of an (official) wPowerShell.exe (like wscript.exe) to run scripts which donât need console ui?
  • xx aleksandar : ## on behalf of Marco Shaw: v2 is pretty much stabilizing.  Is COM support going to stay as-is or will be improved at some point (v3)?
  • aleksandar : ## another Marco Shawâs Q: Anything on possible v3 features?  More support for transactions, for example?
  • jon_medd : ## do they approach third parties and encourage them to make cmdlets or wait for the third parties to ask them stuff?
  • xx ChadMiller : ## I understand Jeffrery was an architect on wmic. How did his wmic experience influence Powershell
  • xx jeffhicks: ##can CTP3 be installed on Windows 7 betas?
  • xx palen : ## Is navigating the registry going to be changing at all?  Get-ItemProperty just is not intuitive, I donât think
  • aleksandar : ## is it possible to assign -whatif output to a variable (or save it in a file) other than with start-transcript
  • rfoust : ## is the registry ever going away or upgraded? lol probably not a question you can answer, but who knows
  • xx sepeck : ## will the remoting work on windows 2003?
  • xx cartershanklin : ## Jeffrey, where do you buy your ties?
  • xx glnsize : ## what if anything has been done to improve the provider experiance?
  • xx steve-PSB : #Are there any other books focused at developing for PowerShell (more advanced than the existing Wrox title) that you are aware of?
  • dmoravec : ## Are you in touch with Script Center to help them to be more PoSh
  • xx rfoust : ## what problem are you annoyed that you werenât able to address in posh v2
  • xx spowser : ## Is there any reason why a runspace cannot interact with the desktop?  Critical for our Automation
  • xx aleksandar : ##  for bruce: when can we expect powershell in action 2.0?implementation
  • xx finked : ## What about Add_Type -Language FSharp
  • finked : ## I work for investment banks in NY.Pushing an msi for PoSh to Traders machines doesnât fly well.How can this be made easier?
  • foust : ## are you working on posh v3 yet?
  • palen : ## Did I hear in the Erik Meijer interview that there will be a version of Posh that is deployable via IIS?
  • xx hal: do you worry about cmdlet-bloat?
  • JeffHicks : ##is a roadmap or can one be published?
  • xx JeffHicks : we need netsh cmdlets
  • xx finked : ## What about PioSh with Live Mesh and Oslo?
  • xx aleksandar : ## have you ever expected such a passionate response from the community?
  • xx glnsize : ## will powershell and wsman eventualy be released via windows updateâ i.e.  next year or so
  • DManVid : ## superhero for the ânew guyâ!
Categories: Podcasts

Episode 52 - PowerScripting Podcast - CloudBerry Labs

Mon, 12/15/2008 - 4:39am
Today we interview Michael Farnia from CloudBerry Labs. Plus our usual news, resources, and tips.
News

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


  • SAN vendor Compellent has just released  a snapin with over 60-cmdlets.
  • SAPIEN's blog has some details  about new features coming in 2009.
    • object browser
    • cmdlet tree
    • embedded console
  • Dmitry points us to a post on the PowerGUI.org  forums with details of version 1.2 of their AD cmdlets.
    • Due Q1 or early Q2 2009
    • "Release would add some additional AD management cmdlets (like tombstone enumeration and un-delete), additional filtering when enumerating group memberships, user-friendly filtering by creation and last modification time, etc. More would come for proxy mode, in particular access to ActiveRoles Server change history storage and approval tasks queue. Also, we are going to make another iteration with performance optimization."
  • Back on Nov 21st, Joel released a new version of his Get-DNS cmdlet which works like dig on Linux.

 


Interview 

Admin Script Editor (which recently received Windows IT Pro's top award) provides a true integrated scripting environment for PowerShell.  Advanced features include an integrated PowerShell debugger, advanced code generating tools for Active Directory, Databases, XML files and more.  Let's not forget about the exclusive PowerShell forms designer.  Come see for yourself-- Admin Script Editor v3.5 is availble for a 45 day trial at AdminScriptEditor.com.


  • CloudBerry Labs: http://www.cloudberrylab.com/
  • The snapin http://www.cloudberrylab.com/?id=14
  • JeffHicks : ##I don't know much about Amazon's S3 service.  What is it  and why would I care as a Windows admin?
  • rfoust : ## how does authentication work?
  • rfoust: ## can you be connected to two accounts at once?
  • rfoust : ## is the powershell support cmdlets or scripts or both?
  • ustreamer-62178 : ## will your cloudberry stuff support Rackspace's cloud?
  • rfoust : ## can it auto recover from failed transfers?
  • cartershanklin : ## Are they looking to do more than storage? Deploy apps to EC2? Or anything else with EC2?
  • JeffHicks : ##do the powershell cmdlets duplicate everything you can do in the GUI? Or ore are the extra features in the GUI or PowerShell onl?
  • cartershanklin : ## No extensibility / API I mean
  • JeffHicks : ##how is their app licensed?
  • sepeck : ## Is this for v1 or v2 and anything related to the cloud computing tools announced with Azure at the MS PDC?

 

Resources

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!

 

Gotcha

 

foreach ($OU in $myOUs) { $myUsers = Get-QADobject -SearchRoot $OU -LdapFilter $myFilter -IncludedProperties mailNickName $myUsers | Format-Table mailnickname}

out-lineoutput : Object of type "Microsoft.PowerShell.Commands.Internal.Format.FormatStartData" is not legal or not in the correct sequence. This is likely caused by a user-specified "format-table" command which is conflicting with the default formatting.

One-Liner

This was modified from an idea originally by the PowerShell Jedi. Go check out his new blog.


([wmiclass]"\\$computer\root\cimv2:win32_product").Install($msi)
Categories: Podcasts

Episode 51 - PowerScripting Podcast - Doug Finke

Tue, 12/09/2008 - 4:37am

Today 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.

Tips

Speed up PowerShell V1 with update-GAC...why?

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.

Categories: Podcasts

Episode 50 - PowerScripting Podcast - Ed Wilson

Sun, 11/23/2008 - 9:49pm

We interview Ed Wilson, author of Windows PowerShell Step-by-Step and new Technet Scripting Guy. And as usual we've also got news, tips, resources and more.

News

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! Interview

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.

Today's interview is with Ed Wilson, Scripting Guy and author from Microsoft

  • Written 14 books
  • His favorites:
    • Windows PowerShell Scripting Guide
    • Network monitoring & analysis
  • JeffHicks : ## What is your next book going to be on?
    • PowerShell 2.0 step-by-step
  • glnsize : ## why not all... what wouldn't you do in powershell
    • WinPE
  • JeffHicks : ##How much writing can you get done in a week?
  • Who is Craig?
    • Scripting Guys editor
  • JeffHicks : ## What's your elevator speech to mgmt about the importance of automation and scripting?
    • allows you to be more successful with a smaller number of people
  • What's coming in the Scripting Center?
    • Friday Quick Hits
    • Series of Excel automation articles
    • "AD week"
    • Perf monitoring
  • ## (mow) any plans yet for scripting games 2009 ?
  • The 3000 email backlog:
    • bsonposh : ## Can I help with the emails?
    • glnsize : ## so mows the unofficial powershell scripting guy.. any plans to make that officiial
    • meson : ## what about calling for guest posts to answer some of the questions?
    • sepeck-1 : # what about starting forum topics on the scripting site that more people could try and answer?
  • Vbscript and PowerShell
    • JeffHicks : ##When do you think VBScript will disappear?
    • sepeck-1 : ## Have the scripting center examples gotten better?
    • meson : ## Has the scripting guys approach gone from a vbscript to powershell mentality to a powershell native mentality?
  • JeffHicks : ## The  script center used to offer script content as a CHM file. Any plans for a new version?
  • JeffHicks : ## or make it searchable ala PoshCode?
  • meson : ## What about links to community resources on the technet site.
  • Are .net forms in Posh the next HTA?
  • Links:
Resources

Admin Script Editor (which recently received Windows IT Pro's top award) provides a true integrated scripting environment for PowerShell.  The guys at iTripoli haven't done a great job getting the word out about Admin Script Editor so to make up for it they are offering a 50% competitive discount.  Go to adminscripteditor.com to find out if you qualify.

Tips Mailbox

"Hi Jonathan & Hal,

I just wanted to drop you a quick note to say how great the Powerscripting Podcast is. I'm a SysAdmin/Engineer and a confident VB scripter, and have been trying to get round to learning PowerShell properly for over a year, but never seem to have time! A colleague told me about your podcast and I've been listening in the car driving to and from work every day. I'm only up to episode 8 so far but it's proving to be a great way to supplement my learning without having to interrupt the day job - keep up the good work!

Also to let you know about a script I wrote today that you may find useful - it adds "Execute in PowerShell" options to .ps1 files' context menu so that it's easy to right-click and run a PowerShell script direct from Windows Explorer. It may be that someone else has already done this but I couldn't find anything with a bit of a Google... You can find the script at http://www.poshcode.org/664.

Thanks again and all the best.

Cheers,
Nigel"

Challenge

DB4O update

Categories: Podcasts

Episode 49 - PowerScripting Podcast - Susan Bradley

Mon, 11/17/2008 - 3:27am

Today  we interview Susan Bradley, SBS MVP. We also bring you lots of new, tips and resources.

News

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!

Interview

This segment is brought to you by Quest Software

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. We had a great show with Susan Bradley.  Go check her out at sbsdiva.com. Resources 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. Tips
  • Listener Steven wanted us to highlight how to build functions which can be used in a pipeline. Hal wrote a script a while ago called Select-Alive which serves as a good example.
  • Hal's bud Marcus thought 'find /i "stuff" *.*' was easy until he learned more about select-string
  • Hal posted a script for creating RSS feeds from PowerShell
Challenge / Book Giveaway

  • We still have a couple of books left.  If you'd like to win a copy of one of Lee Holmes books, simply leave us feedback on iTunes, Podcast Alley, or on your own blog. We have four books to giveaway! Send an email to feedback@powerscripting.net letting us know where to see your review.
  • Time for the PowerShell Challenge update on db4o.

"While trying to find a solution to a problem that popped up at work, I stumbled upon an open-source dotnet object-oriented database called Db4o.  It is intended to be used as an embedded database in programs where some persistent storage is needed, but instead of storing data in related tables, it stores objects.

I've tried to access the functions via reflection, but I am just learning Powershell and I don't know if this is the right technique.  I haven't gotten very far.

I was wondering if you or someone else who listens to the show could take a look at it, and see if it can be useful as an object store in powershell scripts."

Categories: Podcasts

Episode 48 - PowerScripting Podcast - Lee Holmes

Mon, 11/10/2008 - 3:22am

Today we interview Lee Holmes, author of Windows PowerShell Cookbook and developer on the PowerShell team.  And as usual weâve also got news, tips, resources and more.

News

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. InterviewAdmin Script Editor (which recently received Windows IT Proâs top award) provides a true integrated scripting environment for PowerShell.  Advanced features include an integrated PowerShell debugger, advanced code generating tools for Active Directory, Databases, XML files and more.  Letâs not forget about the exclusive PowerShell forms designer.  Come see for yourselfâ Admin Script Editor v3.5 is availble for a 45 day trial at AdminScriptEditor.com.

We had a great interview with Lee Holmes, be sure to listen. You can find his blog at leeholmes.com/blog, and also check out his books!

Resources

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!

 
Gotcha


Challenge / Book Giveaway

  • If youâd like to win a copy of one of Lee Holmes books, simply leave us feedback on iTunes, Podcast Alley, or on your own blog. We have four books to giveaway! Send an email to feedback@powerscripting.net letting us know where to see your review.
  • Donât forget our challenge from two shows ago.  If you submit a solution, weâll feature it on the show and the website, and youâll get a little something for your trouble.  :)  Here is the email from Dale which we forgot to put in last weekâs show notes:

 

âWhile trying to find a solution to a problem that popped up at work, I stumbled upon an open-source dotnet object-oriented database called Db4o.  It is intended to be used as an embedded database in programs where some persistent storage is needed, but instead of storing data in related tables, it stores objects.
 
  Iâve tried to access the functions via reflection, but I am just learning Powershell and I donât know if this is the right technique.  I havenât gotten very far.
 
  I was wondering if you or someone else who listens to the show could take a look at it, and see if it can be useful as an object store in powershell scripts.â

Categories: Podcasts

Episode 47 - PowerScripting Podcast - MVP Systems JAMS

Tue, 11/04/2008 - 4:07am

Today we have MVP Systems in the house to talk about JAMS.  And we have a TON of news from PDC to report!

News

 

 

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!

 

InterviewThe news is brought to you by iTripoli.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.Today we are interviewing Scott and John from MVP Systems (http://www.mvpsi.com) to talk about the PowerShell support in JAMS, their flagship batch scheduling product.Here are a few questions which were asked by our wonderful Ustream audience:

JAMS

  • meson : ## What is the cost of the product or what is the customer base small/middle/enterprise/etc?
  • http://www.mvpsi.com
  • glnsize : ##are these task's or is there an agent
  • trac3r726 : ## Any Reporting with charts for Management?
  • glnsize : ## soon to be psremoting/wsman?
  • ## any way to send jobs to run on server core, perhaps for speed/reliability?

 

SAAS

  • rfoust : ## how does saasmonitor scale?
  • rfoust : ## can it integrate w/ existing monitoring for a central dashboard?
  • rfoust : ## can you do user-experience monitoring, like adding a jmeter script or something?
Resources

 

 

This segment is brought to you by Quest:Quest Software is offering Powerscripting Podcast listeners a free copy of Jeffery Hicks new book, Managing Active Directory with Windows PowerShell: TFM from Sapien Press. Visit quest.com/powerscripting to register for your copy, before they run out. While youâre there download their free graphical user interface, script editor and Active Directory commands.

 

 

  • 10 Cool Things to do with the Powershell (12 min video) - This demo shows some of the neat things you can do with PowerShell with regards to server administration. There are 10 demos you can run through ranging from simple queries for services to enumerating information in Active Directory. Some of the scripts use lists of computers, some prompt for a computername. Each script shows a different thing you can do with PowerShell to quickly create administration scripts.
  • Precision Computing - Introduction to PowerShell Presentation
  • PowerShell Code Repository - Compare-AD - A set of functions (and sample code using them) to create snapshots of user accounts in the current Active Directory domain save them in an xml file, and then compare live AD environment against that XML
  • VMware: VI Toolkit (for Windows): Not Another Suite of Scripts!
  • PoshRSS - is a web application for creating RSS feeds from PowerShell. The output of any PowerShell command/script is displayed as an RSS feed. The primary goal of PoshRSS is to provide system administrations the ability to leverage PowerShell + RSS to aggregate system information across many systems.

 

Challenge

Don't forget our challenge from last week.  If you submit a solution, we'll feature it on the show and the website, and you'll get a little something for your trouble.  :)  Here is the email from Dale which we forgot to put in last week's show notes:

 

"While trying to find a solution to a problem that popped up at work, I stumbled upon an open-source dotnet object-oriented database called Db4o.  It is intended to be used as an embedded database in programs where some persistent storage is needed, but instead of storing data in related tables, it stores objects.
 
  I've tried to access the functions via reflection, but I am just learning Powershell and I don't know if this is the right technique.  I haven't gotten very far.
 
  I was wondering if you or someone else who listens to the show could take a look at it, and see if it can be useful as an object store in powershell scripts."

Categories: Podcasts

Episode 46 - PowerScripting Podcast - Chad Miller on SQL PSX

Wed, 10/29/2008 - 4:45am

Today we interview Chad Miller, author of the SQL PSX project. And of course we'll throw in our other usual goodies.

News

 

 

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.

 

InterviewAdmin Script Editor (which recently received Windows IT Pro's top award) provides a true integrated scripting environment for PowerShell.  Advanced features include an integrated PowerShell debugger, advanced code generating tools for Active Directory, Databases, XML files and more.  Let's not forget about the exclusive PowerShell forms designer.  Come see for yourself-- Admin Script Editor v3.5 is availble for a 45 day trial at AdminScriptEditor.com.We had a great interview with Chad Miller, the author of the SQL PSX  project on Codeplex. Below are some of the questions which were submitted by Ustream viewers.
  1. glnsize : ## is powershell speading throughout his it dept?
  2. mwjcomputing : ##How much of his day to day operations are managed using Powershell?
  3. glnsize : ## have you looked at V2 script cmdlets?
  4. mwjcomputing : ## When dealing with Auditors, do they have any objection to Powershell being the tool to gather the security information?
  5. stahler : ## ADO.NET through PowerShell or SQLCMD through PowerShell?
  6. meson : ## Any comments on a SQL database PSProvider?
  7. mwjcomputing : ## When gathering security information, does Powershell cause any performance hit on the database?
  8. glnsize : ##from a DBA perspective what is powershell missing?
ResourcesThis segment is brought to you by Quest:Quest Software is offering Powerscripting Podcast listeners a free copy of Jeffery Hicks new book, Managing Active Directory with Windows PowerShell: TFM from Sapien Press. Visit quest.com/powerscripting to register for your copy, before they run out. While youâre there download their free graphical user interface, script editor and Active Directory commands. Tips
Categories: Podcasts

Episode 45 - PowerScripting Podcast - Roundtable

Mon, 10/13/2008 - 2:42am

 

Today we have a rockin' roundtable which includes:

 

  • Jeffrey Snover
  • Don Jones
  • Alex Reidel
  • Kirk Munro
And of course we'll throw in our other usual goodies. NewsThe news is brought to you by iTripoli.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.
RoundtableThis segment is brought to you by Quest:Quest Software is offering Powerscripting Podcast listeners a free copy of Jeffery Hicks new book, Managing Active Directory with Windows PowerShell: TFM from Sapien Press. Visit quest.com/powerscripting to register for your copy, before they run out. While youâre there download their free graphical user interface, script editor and Active Directory commands.
  1. A Thousand Things 1% Better 
  2. What's most important for a posh newbie to learn?
  3. JeffHicks : ## What do you see as the biggest obstacles to PowerShell adoption?
  4. "PowerShell isn't complete?"
    1. <Jay> no admin worth his salt is going to go through and update hundreds of servers with yet another thing to patch, another to mantain, another security to worry about, reboots, touching things, etc, just to be able to run a non complete technology that they haven't learned yet because it is a pain in the ass, and oh, it's not complete 
    2. cartershanklin : ## Jeffrey, do you think user adoption of PS is faster or slower than you anticipated?
  5. Script vs. Shell 
  6. Coolest use of PowerShell that you've seen--and what's to come. 
  7. What third-party software is missing
  8. Is PowerShell useful for <insert concept here>?
    1. e.g. cloud computing 

Ustream Questions
  1. rfoust : ## what is the easiest way for non-developers to find .net methods to work with in powershell?  searching msdn is a pain
  2. JeffHicks : ## Where will PowerShell be in 3-5 years?
  3. JeffHicks : ## What will MS take responsiblity for in PowerShell and what do they expect 3rd parties to support or add?
  4. rfoust : ## whats a good bridge for scripters wanting to convert scripts into real c# compiled cmdlets
  5. rfoust : ## do you see cmdlet naming conflicts becoming a problem in the future?  not the namespace but the actual cmdlet name
  6. rfoust : ## do you see scripts running as a service anytime in the future?
  7. cartershanklin : ## script scheduling, same question.
  8. ye110wbeard : ## Can Powershell be used to email backup logs made in W2K8 Server backup?
  9. rfoust : ## is microsoft helping Pash devlopment any?
  10. JeffHicks : ## Is MS promoting PowerShell at the management level in orgs or letting it bubble up from the admins?
  11. makson : ## is there a cmdlet for powershell that is equivelent to sed in bash? 
ResourcesThis 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!

 

Gotcha

From Stephen Campbell:

Open a cmd prompt on a Win2003 server and type the following:mkdir c:\test1net share test1=c:\test1 /grant:everyone,fullNow type the name commands in Powershellnew-item c:\test2 -type directorynet share test2=c:\test2 /grant:everyone,fullWhen I do the net share command in Powershell, the /Grant returns a syntax error.  Until I remembered about the comma!!  The following works great.net share test2=c:\test2 /grant:everyone`,full
Categories: Podcasts

Episode 44 - PowerScripting Podcast - with Tobias Weltner

Mon, 10/06/2008 - 2:15am
Today we have an interview with Tobias Weltner the developer of PowerShell Plus as well as tips, resources and news. We also have some winners in our review contest.News

Quest Software is offering Powerscripting Podcast listeners a free copy of Jeffery Hicks new book, Managing Active Directory with Windows PowerShell: TFM from Sapien Press. Visit quest.com/powerscripting to register for your copy, before they run out. While youâre there download their free graphical user interface, script editor and Active Directory commands.

InterviewThis segment is brought to you by Idera:

We had a great time interviewing Tobias Weltner about PowerShellPlus. Hope you enjoy!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!


For listeners of this podcast only, Idera is offering a special price $79 per copy until October 12, 2008.   Don't wait!  Download your free trial and take advantage of this great offer today!

Resources Tips
  • A question from Phactotum (a fellow IBMer with Hal) about how to take data in a CSV and act on it turned into a blog post by Hal.
Contest

We're happy to announce the winners of our SAPIEN book giveaway:

  • David Travis wrote a great review in iTunes!
  • David Moravec  wrote a review on his blog. I thought it was cool to see that we have at least one listener in the Czech Republic!
Categories: Podcasts

Episode 43 - PowerScripting Podcast - with Brandon Shell

Mon, 09/29/2008 - 3:18am

Today we talk to Brandon Shell, PowerShell MVP and great thinker. We've also got news, resources, and tips! Also, we are going to give away two Sapien Press books. Be sure to listen till the end to hear how to win!

News

Quest Software is offering Powerscripting Podcast listeners a free copy of Jeffery Hicks new book, Managing Active Directory with Windows PowerShell: TFM from Sapien Press.

Visit quest.com/powerscripting to register for your copy, before they run out. While youâre there download their free graphical user interface, script editor and Active Directory commands.

 

 

 

InterviewThis 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!
  1. rfoust : ## why don't you hang out in #powershell anymore???
  2. stuwee-3 : ## what about running scripts under different credentials?
  3. Kemis : ## I want to secure AD so my Domain Users can't see other user's names
  4. rfoust : ## still looking for a good "sudo" replacement for windows. Any ideas?
  5. rfoust : ## what's the latest powershell script/project you've worked on?
  6. ##  not a question but thank's for the replication latency script!  
  7. glnsize : ## what permisions are required to conduct these tests?
  8. rfoust : ## how much is posh used where you work?  Are other admins catching on?
  9. seaJhawk : ## what tools do you use when you're writing scripts
  10. Kemis : ## As an admin, how would I go about getting started writing my own cmdlets?
  11. rfoust : ## best poweshell book you've read?
  12. glnsize : ## which 3rd party has done the best job integrating powershell
  13. ustreamer-39627 : Sorry for the noob lesson. What exactly is a cmdlet? is that just a customscript which is complied into a "cmdlet" so it can just be called by typing the scriptname? 
  14. glnsize : ## my env is small enough to use quest, but I still use ADSI b/c of 3rd party dependancy... Am I an idiot?
  15.  rfoust : ## what do the unix admins think about posh
  16. rfoust : ## how would you explain to other admins what "object oriented" means
  17. glnsize : ## what superhero are you
  18.  rfoust : ## have you used powershell with web services much?
  19. seaJhawk : ## do you plan to keep writing cmdlets when you can use script cmdlets?
  20. Kemis : ## I work for a college where the CIS dept. chair never heard of PowerShell till I called her to ask if they have any plans to teach it soon.  How long do you think it'll take before colleges begin to include Powershell as a course?
  21. ustreamer-7480 : ## How do you organize your scripts?
  22. rfoust : ## what hardware vendor would you like to see powershell support for?  cisco? or something else?

Idera is offering a special price $79 per copy through the end of September...BUT for listeners of this podcast only, Idera will extend the offer until October 12, 2008.  Don't wait!  Download your free trial and take advantage of this great offer today!

Resources

Admin Script Editor (which recently received Windows IT Pro's top award) provides a true integrated scripting environment for PowerShell. The guys at iTripoli haven't done a great job getting the word out about Admin Script Editor so to make up for it they are offering a 50% competitive discount. Go to adminscripteditor.com to find out if you qualify.

Contest

Two of you can win your choice of books from SAPIEN Press. To win, you need to write a review of our podcast. The review must be at least a full paragraph, no "<3" entries please :)  .  We would prefer for you to post the review in iTunes because we get a lot of traffic that way, but if you don't use iTunes, that's ok.  You can post your review on PodcastAlley or any other forum or your own blog.

 

To send in your entries, just let us know how your name appears in iTunes, or the URL of the review you have posted online. We'll give away the books on Episode 44 (next week).

Categories: Podcasts

Episode 42 - PowerScripting Podcast - with Greg Shields

Wed, 09/24/2008 - 2:41am

We are interviewing the author, speaker and IT Pro Greg Shields. We've also got news, resources, and tips! Also, we are going to give away two Sapien Press books. Be sure to listen till the end to hear how to win!

News

Do you have what it takes to be the ultimate script warrior? Find out with Questâs PowerPack Challenge â08.Quest Software is sponsoring a PowerShell Scripting contest where you can test your skills and get paid. Just create some cool PowerShell scripts using Questâs PowerGUI and then post them to our site. Youâll get a score and our celebrity judges will weigh in as well.Do you have the muscle to bring home the prize? Check out the details here.

Interview

Our interview is brought to you by iTripoli

Admin Script Editor (which recently received Windows IT Pro's top award) provides a true integrated scripting environment for PowerShell.  Advanced features include an integrated PowerShell debugger, advanced code generating tools for Active Directory, Databases, XML files and more.  Let's not forget about the exclusive PowerShell forms designer.  Come see for yourself-- Admin Script Editor v3.5 is availble for a 45 day trial at AdminScriptEditor.com.

Greg Shields joins us from http://concentratedtechnology.com Don Jones was also scheduled to join us but was not able to attend so the interview ended up being more of a Server 2008 and Terminal Services interview than a PowerShell interview but it is great stuff anyway.ResourcesThis segment is brought to you by IderaWhatâs better than getting the new version of PowerShellPlus for $79? ...... Getting it for FREE! ... Dr. Tobias Weltner, well-known PowerShell guru, has partnered with Idera Software to bring you PowerShellPlus Professional Edition. The new version has vastly improved code completion and a slick interactive help center. Idera is offering listeners of this podcast a special deal. Download the beta during the month of September and while supplies last, you will get PowerShellPlus for free! To get this offer, go to www.idera.com/podcastpeople to download the beta.  Cmdlet of the Week

Our cmdlet this week is Stop-Process.

Contest

Two of you can win your choice of books from SAPIEN Press. To win, you need to write a review of our podcast. The review must be at least a full paragraph, no "<3" entries please :)  .  We would prefer for you to post the review in iTunes because we get a lot of traffic that way, but if you don't use iTunes, that's ok.  You can post your review on PodcastAlley or any other forum or your own blog.

To send in your entries, just let us know how your name appears in iTunes, or the URL of the review you have posted online. We'll give away the books on Episode 44, that's two from now.

Categories: Podcasts

PowerScripting Podcast - Episode 41

Tue, 09/16/2008 - 2:48am
In This Episode Today on the PowerScripting Podcast we are interviewing Jeffrey Hicks from SAPIEN Technologies. We've also got news, resources, and tips! News The news is brought to you today by iTripoli 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. Interactive C# Shell - Miguel de Icaza DevInfra-US: PowerShell and ASP.NET Part 3 VMware: VI Toolkit (for Windows): Announcing the winners of the VI Toolkit Scripting Contest! PowerShell Team Blog : PowerShell vs TSQL & Why Learn PowerShell Interview This segment is brought to you by Idera Whatâs better than getting the new version of PowerShellPlus for $79? ...... Getting it for FREE! ... Dr. Tobias Weltner, well-known PowerShell guru, has partnered with Idera Software to bring you PowerShellPlus Professional Edition. The new version has vastly improved code completion and a slick interactive help center. Idera is offering listeners of this podcast a special deal. Download the beta during the month of September and while supplies last, you will get PowerShellPlus for free! To get this offer, go to www.idera.com/podcastpeople to download the beta. Questions for our guest: Been in IT for 17 yrs, deployment, AD, Exchange. Works for SAPIEN full time as a Scripting Guru PowerShell MVP Columns Mr. Roboto column for Redmond Mag (http://redmondmag.com) "Professor PowerShell" for MCP Mag. Realtime Publishers, "Practical PowerShell" Latest book: Managing Active Directory with PowerShell: TFM ADSI Quest cmdlets, SDM, PSCX glnsize : ##really quest over [adsi], did i hear that right rfoust : ## what's the coolest script you've written Pasdargent : ## What need did PowerShell immediately meet for you that VBScript lacked? gaurhoth : ## Do you personally prefer VBScript or Powershell at this point? glnsize : ##what is your "wish microsoft would do that" cmdlet Get-Beer! Kryten: The Sapien Powershell Online Training. How did he feel it went? Will there be more courses? How does he think it might be improved? Kryten: Will there be any possibility of training in Europe? Tell us more about these 'Boot Camps' they run. Kryten: What can we say to our employers to get them to buy this training? Kryten: Why not issue training certificates Eg Sapien Certified Powershell Scripter(!). Something that we can stick in out resume' trac3r726 : ## How much to they Cost? go to ScriptingOutpost.com or ScriptingTraining.com meson : ## Will they ever come to Atlanta? rfoust : ## is on-site training available? Kryten: Where are ppl going WRONG when they try to learn Powershell? What are the 5 biggest mistakes, or misconceptions that walk into his classroom? aleksandar : ## if jeff can improve something in quest cmdlets what would that be? They need infrastructure cmdlets. The cmdlets there are great, but there's nothing for creating sites, subnets, replication, etc. jpavleck : ## What is the huge difference between x86 and x64 snapins, and why aren't there any available for x64 rfoust : ## whats the best way to handle script revision management in a large environment? subversion? source control PrimalScript does support VSS, SVN and others jpavleck : ## How do you figure out if you should be using a vbscript, posh or a C# app - especially when it comes to going overboard with a posh script JH: very good question, will be future blog post vbscript: end user related, login scripts, configuring user's desktop powershell: managing server, services, resources, disks compiled: run something as a service rfoust : ## how to determine when to write a script or a function? meson : ## Do you have problems with wanting to write scripts for CTP2 but having to write version 1 scripts for the masses? aleksandar : ## name the chapter in the latest book that has given you the hardest time AD permissions are HARD Group Policy chapter was time consuming and tedious DManVid : ## (Get-QADUser ).MemberOf does not list the Primary Group of the user jpavleck : ## Don't suppose the book has anything about System Center Operations Manager in it, hrm? meson : ## what application (ie robocopy) would you like to see as a cmdlet? netsh.exe DNS, DHCP (hal) 2008 new cmds rfoust : ## what blogs and forums do you read on a daily basis? (get his blogroll url) meson : ## So what new Sapien books are being written? When will your book be available? By the time you hear this podcast! Pasdargent : ## What PowerShell cmdlet or script could you not live without (day to day)? Get-Member Get-WMIObject What superhero are you most like? Where to find Jeff: twitter.com/jeffhicks blog.sapien.com scriptinganswers.com forums Resource This segment is brought to you by Quest Do you have what it takes to be the ultimate script warrior? Find out with Questâs PowerPack Challenge. Quest Software is sponsoring a PowerShell Scripting contest where you can test your skills and get paid. Do you have the muscle to bring home the prize? Check out the details at quest.com forward slash powerscript Lance Robinson from /n software:PowerShell: send-gmail Data Visualization with .NetMap Microsoft Research .NetMap and PowerShell James O'Neill's blog : Net maps - PowerShell and Excel Using PowerShell and World Data (now a public API) with Microsoftâs NetMap free graphing libraries Dmitry wrote and article for Windows IT Pro on using the AD cmdlets New-ComplexPassword Hate Add-Member? (PowerShell's Adaptive Type System to the Rescue) One-Liner This one-liner to start a process on a remote PC was submitted by jpavlek (Get-WMIObject Win32_Process -computer $computer).Start("notepad.exe")
Categories: Podcasts

PowerScripting Podcast - Episode 40

Mon, 09/08/2008 - 3:11am
In This Episode Today on the PowerScripting Podcast we have an awesome roundtable discussion with guests Jeffrey Snover, Keith Hill, Oisin Grehan, and Joel Bennett. Weâve also got news, tips, and some contest winners to announce. News The news is brought to you by Idera âWhatâs better than getting the new version of PowerShellPlus for $79? ââ Getting it for FREE! â Tobias Weltner, well-known PowerShell guru, has partnered with Idera Software to bring you PowerShellPlus Professional Edition. The new version has vastly improved code completion and a slick interactive help center. Idera is offering listeners of this podcast a special deal. Download the beta during the month of September and you get PowerShellPlus free. Go towww.idera.com/podcastpeople to download the beta. When PowerShellPlus goes GA at the end of September, Idera will automatically send you a license keyâfor free.â VMware has released VMware Infrastructure Toolkit (for Windows) 1.0 Update 1 to address some performance issues that some users had encountered. Marco Shaw blogged about an upcoming V2 book that he co-authored - Windows PowerShell 2.0 Unleashed Jeff Hicks blogged that his Managing Active Directory with PowerShell book is in the last stages of editing and should be available soon Icomasoft has released VI PowerScripter Quest has announced the winners of sprint 1 of the PowerPack contest. You can read about the results on Dmitryâs blog. Roundtable Todayâs roundtable is brought to you by Quest. Do you have what it takes to be the ultimate script warrior? Find out with Questâs PowerPack Challenge. Quest Software is sponsoring a PowerShell Scripting contest where you can test your skills and get paid. Do you have the muscle to bring home the prize? Check out the details at quest.com forward slash powerscript Resource This segment is brought to you by iTripoli! Admin Script Editor (which recently received Windows IT Proâs top award) provides a true integrated scripting environment for PowerShell. Advanced features include an integrated PowerShell debugger, advanced code generating tools for Active Directory, Databases, XML files and more. Letâs not forget about the exclusive PowerShell forms designer. Come see for yourselfâ Admin Script Editor v3.5 is availble for a 45 day trial at AdminScriptEditor.com. Jeffery Snover has updated his Update-Gac script Dmitry blogged that Add-Member is good and Select is bad PowerShell Code Repository - Remove-Trash Tips Determine the Windows - microsoft.public.windows.powershell Richard Siddawayâs Blog: Date Display Mailbag Stuart H. writes: âMy observation is that the show is not really about learning Powershell anymore is it? Itâs more a Powershell magazine now, with the interviews and prizes and all that jazz. When was the last time you reviewed a Powershell book? Holger Switzenbergers Powershell book came out and didnât get a mentionâ Not a complaint though!! I LOVE IT the way it is but Iâd quite like more Powershell instructional stuff too.â Contest Congratulations to Stefan D, he won a copy of PrimalScript Enterprise for guessing Alex Riedelâs country of origin (Germany). Congrats also to Robbie F.
Categories: Podcasts

Back to top