Episode 58 - PowerShell ISE panel

A Podcast about Windows PowerShell.

Listen:

In This Episode

Tonight on the PowerScripting Podcast we have a panel discussion to discuss the PowerShell Integrated Script Editor. And of course we'll bring you news, tips and resources.

News

This segment is brought to you by SAPIEN Technologies

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

Guests

Andy Schneider, orginally an Electrical Engineer, has worked in the IT Industry for the last 10 years. He now works with a team of IT Infrastructure Engineers for Avanade, a Global IT Consulting firm. Specializing in automation, Andy has been a huge fan of PowerShell since the Monad days and is very interested in using PowerShell as a
means to bridge the gap between the world of IT Pros and Developers.

Ibrahim Abdul Rahim, MSFT, the primary tester on the ISE since its beginning days. I have a Perl background, loved PowerShell from day one, and use it everywhere to try to automate everything. Sadly I have never been an IT Admin, other than to setup and mess around with HyperV, Apache, MySQL/PostGres stuff.

Agenda

  1. Open
  2. Introduce old guys
    1. Karl Prosser
  3. Introduce new guys
    1. Andy Schneider
    2. Ibrahim Abdul Rahim
  4. Topics
  5. Close

Topics

  • The Object Model ($psISE)
  • Legacy non-support story
  • PowerShell compatibility (Host, command execution, remoting etc)
  • Known bugs
  • Karl's PowerShell ISE-Cream project, and other third-party organized efforts
  • Questions from the audience
    • glnsize : ## why do the ISE, what does the ISE provide that the console doesn't besides tabs
    • halr9000: ## how does ISE handle $profile stuff?
    • glnsize : ## I'm an admin... explain what the ISE having an object model means.  What can i do with it?
    • klumsykarl : ## what about console input. will that work in ISE going forward?
    • glnsize : ## will the help return help from advanced functions
    • JeffHicks : ##Why did you separate the console from the output?
    • klumsykarl : ## will it have the ability to put panes through $psise
    • KirkAMunro : ## What will you _not_ be able to do with the object model in v2?
    • klumsykarl : ## will there be codefolding?
    • klumsykarl : ## will there be any pulldown intellisense?
    • glnsize : ## is there an option to just use the ISE as an editor
    • JeffHicks : ##will we be able to move the panels around or even undock them?
    • aleksandar : ## could we add more than one Custom menu?
    • ustreamer-20790 : ## any plans for a runspace browser?  something that allows you to snoop around the execution environment?
    • glnsize : ## is the ISE intended to be a gateway for a none cli admin, or is it to be a day to day replacement for the console?
    • JeffHicks : ##Is there any usability data on whether people want a GUI vs the console?

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!

Tips

  • Shay posted a CTP3 tip for finding static members of a type

One-Liner

This one is from Jeffrey Snover:


New-PsDrive -Name Mod -PSProvider FileSystem -Root (($env:PSMODULEPATH -split ";")[0])

Mailbag

This was a post to PowerShellCommunity.org forums, but we think it fits well here.  🙂

One of our clients has a very convoluted file/folder structure on a file share. Due to regulations and practices in place, they need specific permissions on certain folders. This seems simple at first glance, but it gets murky when you notice they have a top level folder, named Insurance, then below that they have one folder for each letter of the alphabet, and below that a name of their client. Below each of the client folders, there is a folder called Financial statements.

That Financial statements folder needed special permissions, and there was close to a thousand individual folders to change.

With a relatively simple powershell script I setup a example folder, which had the permissions I needed. Then using a powershell script I did multiple get-childitem commands, until I found the right folder, then using a variable I populated with the ACL of my test folder, I stamped it on all the Financial statements folders.

In about 1.5 hours, I did the work of one of their summer students for the entire two months(no kidding they had one person doing this manually).

- Darrin

Giveaway

Our book offer is brought to you by SAPIEN Press.  You can find information about their books at sapienpress.com.

We're giving away two copies of Hal's upcoming book: Managing VMware Infrastructure with PowerShell: TFM.  If you'd like to win a copy, leave us a review on iTunes, or Podcast Alley, or your own blog, or mention us on your Facebook page or whatever. Send a link to feedback@powerscripting.net and let us know what and where to verify and you are entered to win!  Be sure to include your mailing address and name.

About the Author

Jonathan Walz

Since March 2007, Jonathan Walz has been the co-host and technical brains for the PowerScripting Podcast. Conceived as a radio show for the PowerShell community, the podcast is the longest-lived PowerShell show in existence, and has featured dozens of weekly guests.