Powerscripting Podcast
Episode 53 - PowerScripting Podcast - Jeffrey Snover and Bruce Payette
- 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.
- 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â!
Episode 52 - PowerScripting Podcast - CloudBerry Labs
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!- Network troubleshooting script from Thomas Lee: Send-UDPDatagran.ps1. You can also download all of his scripts in one go at his script library.
- The latest RTWA eJournal has an article by Jeff Hicks titled "Practical PowerShell: Managing WMI Events with Windows PowerShell, Part 1".
- Correlate VMware disk usage withthis script by Hugo Peeters. Goes from VM's logical disks, to partitions, to vmdks, to datastores.
- The guys at Microsoft's security vulnerability blog have posted a script that will disable protocol handlers to reduce the attack surface on a PC.
- Script to download all of the PDC content
- Here's a great list of one-liners
- PowerShell WMI Wizard from Jeff Hicks
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-LinerThis was modified from an idea originally by the PowerShell Jedi. Go check out his new blog.
([wmiclass]"\\$computer\root\cimv2:win32_product").Install($msi)
Episode 51 - PowerScripting Podcast - Doug Finke
Today we interview Doug Finke, software developer and blogger. Plus our usual news, resources, and tips.
NewsWhat 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.
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.
- 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
- Speed up PowerShell V1 with update-GAC...why?
- The joy of hashtablesGotcha
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.
Episode 50 - PowerScripting Podcast - Ed Wilson
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.
NewsThis 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!- PowerShell boot camp coming up Feb 9-11 in Dallas, TX
- SAPIEN's got a Facebook group where they are giving out coupons
- Cool blog post about executing PowerShell commands from Linux and the iPhone
- Hyper-V PowerPack Updated  Poshoholic (release notes )
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:
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.
- .NET Format String Quick Reference
- The Official Scripting Guys Forum! : Scripting : Microsoft TechNet Forums
"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"
DB4O update
Episode 49 - PowerScripting Podcast - Susan Bradley
Today we interview Susan Bradley, SBS MVP. We also bring you lots of new, tips and resources.
NewsThis 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!
- Oisin gives us some info on new/changed cmdlets in the PDC build
- Dmitry gives us the full list of AD cmdlets in the PDC build
- Hal's got a survey up to get everyone's opinion on PowerShellCommunity.org's future show plans.
-
Nivot Ink - Changes from CTP2 in PowerShell 2.0 in the Windows 7 M3 âPDCâ Build
- TechEd EMEA wrap up: noble musings: PowerShell at TechEd EMEA 2008 IT Professionals
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.
- One more video from TechEd, this is Dmitry Sotnikov's speaker idol video.
- Joel Bennett has been kind enough tolink to all of the videos of the powershell sessions from TechEd EMEA.
- Dmitry posted the Quest connect session he did about PowerShell AdCmdlets and PowerGUI
-
Jonathan Medd's panel discussion at TechEd EMEA was videotaped! PowerShell V2 Tech Talk from TechEd EMEA (video)
-
David Mohundro - Simple PowerShell script to generate thumbnails
- 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
- 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."
Episode 48 - PowerScripting Podcast - Lee Holmes
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.
NewsWhen 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 finally have some release schedule information for PowerShell v2 from Dmitry
- Sapien has released PrimalForms
- The stakes have risen for our PowerShell Challenge with DB4o! - Community News : db4o Powershell Provider Challenge - with prizes
- Marco Shaw is holding a PowerShell Virtual User Group meeting on Nov 13th at 12PM EST
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!
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!
- Jonathan Medd posted a cool panel discussion on the Get-Scripting Podcast Ep4
- Dr. Tobias Weltner is doing an online powershell book
- It looks like Microsoft is starting to do some PowerShell training
- /\/\o\/\/ noticed that The Scripting Guys are putting out some new PowerShell content
- PowerShell Posters - search for PowerShell
- Jeffreyâs talk from PDC: ES24: Using PowerShell To Create Manageable Web Services
Gotcha
- Gotcha: MS Data Protection Manager cmdlets donât support -Confirm:$false - Marco Shaw to the rescue! Setting $ConfirmPreference = ânoneâ prevents the prompt when that is desirable.
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.â
Episode 47 - PowerScripting Podcast - MVP Systems JAMS
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!
- Wow! Were do we start? How about 574 cmdlets
- Rumor: IBM will be providing cmdlets for hardware management
- Powershell will be installed by default on Windows Server 2008 R2 and W7
- TechEd Barcelona is coming up next week and several MVPs will be there
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?
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."
Episode 46 - PowerScripting Podcast - Chad Miller on SQL PSX
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.
- PowerGUI: Now with 100% more Hyper-V! Â Poshoholic
- Southeast Management User Group Nov 14th meeting schedule and registration link
- SaaS: Announcing Windows PowerShell Snap-In for GoGrid (and commentary from Jeffrey Snover )
- glnsize : ## is powershell speading throughout his it dept?
- mwjcomputing : ##How much of his day to day operations are managed using Powershell?
- glnsize : ## have you looked at V2 script cmdlets?
- mwjcomputing : ## When dealing with Auditors, do they have any objection to Powershell being the tool to gather the security information?
- stahler : ## ADO.NET through PowerShell or SQLCMD through PowerShell?
- meson : ## Any comments on a SQL database PSProvider?
- mwjcomputing : ## When gathering security information, does Powershell cause any performance hit on the database?
- glnsize : ##from a DBA perspective what is powershell missing?
- Working with NetApp in PowerShell
- Another Great Don Jones Video Demo
- Dev Resources!
- PowerShell Tunnel - Make your app scriptable using PowerShell
- Creating Subversion Repositories using PowerShell
- Doug Finke - Displaying SVN Info On Your PowerShell Prompt
Episode 45 - PowerScripting Podcast - Roundtable
Today we have a rockin' roundtable which includes:
- Jeffrey Snover
- Don Jones
- Alex Reidel
- Kirk Munro
- Sapien has announced a forthcoming forms editor called PrimalForms which will allow you to create forms, save them as XML and create PowerShell code. On top of that they are going to release it for free!
- Be sure to catch the UK PowerShell UG: November 20th in Reading
- Dmitry will be presenting some PowerShell sessions at Quest Connect on Oct 22nd-23rd.
New software release on IIS.net: Microsoft Web Deployment Tool - Beta 1 Go Live
If you'd like to get an early peek at Richard Siddaway's new book PowerShell in Practice, you can do so on Manning's site.
- A Thousand Things 1% Better
- What's most important for a posh newbie to learn?
- JeffHicks : ## What do you see as the biggest obstacles to PowerShell adoption?
- "PowerShell isn't complete?"
- <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
- cartershanklin : ## Jeffrey, do you think user adoption of PS is faster or slower than you anticipated?
- Script vs. Shell
- Coolest use of PowerShell that you've seen--and what's to come.
- What third-party software is missing?
- Is PowerShell useful for <insert concept here>?
- e.g. cloud computing
Ustream Questions
- rfoust : ## what is the easiest way for non-developers to find .net methods to work with in powershell? searching msdn is a pain
- JeffHicks : ## Where will PowerShell be in 3-5 years?
- JeffHicks : ## What will MS take responsiblity for in PowerShell and what do they expect 3rd parties to support or add?
- rfoust : ## whats a good bridge for scripters wanting to convert scripts into real c# compiled cmdlets
- rfoust : ## do you see cmdlet naming conflicts becoming a problem in the future? not the namespace but the actual cmdlet name
- rfoust : ## do you see scripts running as a service anytime in the future?
- cartershanklin : ## script scheduling, same question.
- ye110wbeard : ## Can Powershell be used to email backup logs made in W2K8 Server backup?
- rfoust : ## is microsoft helping Pash devlopment any?
- JeffHicks : ## Is MS promoting PowerShell at the management level in orgs or letting it bubble up from the admins?
- makson : ## is there a cmdlet for powershell that is equivelent to sed in bash?
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!
- From the SAPIEN blog: PrimalScript: Did you know about Snippets?
- New PowerGUI PowerPack: PowerShell for WSUS
From Brandon Shell, now writing on TurboChargeAD.org: Bulking Importing User from CSV file using Quest cmdlets
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`,fullEpisode 44 - PowerScripting Podcast - with Tobias Weltner
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.
- Hal is an MVP!!!
- PowerShellPlus v2 is out of beta and on the shelves. Also, PowerShell Analyzer is now 100% free
- Sapien's PowerShell Boot Camp is coming to Dallas in February
- StackOverflow by Joel Spolsky & Jeff Atwood
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!
- Specops Remote Admin CTP - Jonathan Medd does a good review over at Get-Scripting
- Brad Rutkowski has a great post about using Invoke-Command to launch a script on a remote computer which connects to network resources
- Brad also brings some good info using Set-Acl on a registry key
- Hat trick!!! Brad again with a solution to a problem using Get-WMIObject against Windows 2008
- 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.
Stack Overflow questions on PowerShell
Get-User function on PoshCode
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!
Episode 43 - PowerScripting Podcast - with Brandon Shell
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!
NewsQuest 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.
- VMware's future with PS Providers, "The plan is to have a vi: drive which is created automatically and contains the whole inventory. And when operation is executed within specific location, the operation to be restricted to this location. I hope that this will be valuable in interactive mode where it can provide the confidence that operation won't affect unexpected entities." -- Andrey from VMware
Blain Barton's Blog : Second Life â Windows PowerShell 3-Part Series by Max Trinidad
- Jeff Hick's eagerly awaited "Managing Active Directory with PowerShell TFM" is now available.
PowerShell OnTAP: new codeplex project to manage NetApp services
- Quest acquires NetPro, and NetPro has PowerShell news!
Session 1: Saturday, September 27th , 2008 â 1:00PM SL Time â PST,4:00pm EST
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!
- rfoust : ## why don't you hang out in #powershell anymore???
- stuwee-3 : ## what about running scripts under different credentials?
- Kemis : ## I want to secure AD so my Domain Users can't see other user's names
- rfoust : ## still looking for a good "sudo" replacement for windows. Any ideas?
- rfoust : ## what's the latest powershell script/project you've worked on?
- ## not a question but thank's for the replication latency script!
- glnsize : ## what permisions are required to conduct these tests?
- rfoust : ## how much is posh used where you work? Are other admins catching on?
- seaJhawk : ## what tools do you use when you're writing scripts
- Kemis : ## As an admin, how would I go about getting started writing my own cmdlets?
- rfoust : ## best poweshell book you've read?
- glnsize : ## which 3rd party has done the best job integrating powershell
- 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?
- glnsize : ## my env is small enough to use quest, but I still use ADSI b/c of 3rd party dependancy... Am I an idiot?
- rfoust : ## what do the unix admins think about posh
- rfoust : ## how would you explain to other admins what "object oriented" means
- glnsize : ## what superhero are you
- rfoust : ## have you used powershell with web services much?
- seaJhawk : ## do you plan to keep writing cmdlets when you can use script cmdlets?
- 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?
- ustreamer-7480 : ## How do you organize your scripts?
- 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!
ResourcesAdmin 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.
PowerShell Script: How to upload a file via HTTP POST - Thomas R. made this in answer to "how to pass a parameter to XMLHttp" which came up on the PowerShell newsgroup
- Carter Shanklin posted the slides and demos from the managing VMWare with PowerShell session at VMWorld
- Mow's put up his Robocopy part 4 article, this has the full script.
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).
Episode 42 - PowerScripting Podcast - with Greg Shields
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!
NewsDo 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.
- Dmitry has announced the release of PowerGui 1.5.2
- RunAs Radio #75 Michiel Wories Uses Powershell with SQL Server!
- Jeff Hicks has posted a follow up to a question from our last show called PowerShell Hurdles
- PowerPack Challenge Countdown
- There is now an installation guide available for PoshBoard
- Dmitry has posted a link to a 10 minute video from VMWorld on Managing VMWare with PowerShell
- JAMS job scheduling software includes PowerShell snapin
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.- PowerShell dig (nslookup) Cmdlet!
- The PowerShell Guy (/\/\o\/\/) - has started a cool series where he wraps robocopy for PowerShell
- Lance Robinson posted the other two entries to the Netcmdlets contest from a few weeks ago:
- Lee Holmes posted a script to provide suggestions while you are using PowerShell
- Keep a local copy of the SysInternals tools up to date with this script from Shay Levy
Our cmdlet this week is Stop-Process.
ContestTwo 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.
Development-Cycle



