Episode 58 – PowerShell ISE panel

8 02 2009

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.





Ask PowerScripting: Accessing Sharepoint database from Server 2008

3 02 2009

Mark from San Jose California writes:

I have a powershell script currently running on a Windows2003 server.  It acts upon an Access DB (I know – not ideal but it is the only way I could figure out how to add / manipulate records in a Sharepoint list ( the Access DB is just link tables from SharePoint)) – via the following Conn String:  $ConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=$mdb"

When I attempt to run in this our new Windows2008 server, I run into the following error:  Exception calling "Open" with "0" argument(s): "The ‘Microsoft.Jet.OLEDB.4.0’ provider is not registered on the local machine."

Everything I have found on the web states that you can’t install the 32bit jet oledb driver on Windows2008.

Do you have any suggestions on how to get around this issue?

If you have any tips for Mark, please leave them as comments on this post or email them to feedback@powerscripting.net. We’ll be reading the question and any helpful answers on an upcoming show. You’ll also be entered to win a prize in our most recent contest from Episode 57.





Episode 57 – Carter Shanklin and the VI Toolkit

1 02 2009

A Podcast about Windows PowerShell.

Listen:

In This Episode

Tonight on the PowerScripting Podcast Carter Shanklin from VMWare joins us to talk about the new version of the VI toolkit for PowerShell.

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

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!

New stuff:

  1. buncha new cmdlets
  2. invoke-vmscript, remoting into VMs

Questions:

meson : ## So what about a XenServer PowerShell book? 😉
rfoust : ## what is the best way to get started with the vi toolkit – is there a “getting started” guide?
jeffculb-1 : ## Why aren’t the release notes for the vitoolkit accessible from the download page

palen : ## Is 1.5 developed with PoSh v2 in mind, or is it still largely targetted at v1?
rfoust : ## are there any limitations in this version or is all of the api stuff available through cmdlets?
bsonposh : ## make vmotion easier
jon_medd : ## can Carter tell us about the new command that lets you run powershell code into vm guests?
rfoust : ## does vmware provide an opsmgr mp? if not, why?
meson : ## Does the toolkit allow you to manage DPM?
jeffculb-1 : ## Will there be more videos upcoming demonstrating new commandlets
meson : ## Any chance of allowing V2 remoting through VMWare?
Pasdargent : ## When running one of these scripts into the VM, does it show the shell on the VM server or is it completely “behind the scenes” to anyone on that box?
Pasdargent : This is probably too newbie a question but is the remoting traffic secure?
glnsize : ## does the explosion of powershell in vmworld, and it’s presence at the virtual congress surprise you?
glnsize : ## why must i include host credentials the guest i get but if im auth through VC
Pasdargent : ## Will it pass throough your logged on credentials or do you HAVE to send creds?
Jaykul : ## So, is there a way to Invoke-VMScript from, say, ‘nix?
Jaykul : ## And, do you get results back? (sync? async?)
meson : ## Is there anything that any PowerShell toolkits can’t do?
bmichel7150 : ## Is it possible to pipe in multiple text files as variables, i.e., 1 text file with VM names and 2 text files with username and password, kind of like arrays in PS?
jon_medd : ## what’s it like being a product manager for a windows based product in a company that doesn’t always have the most friendly relationship with microsoft?
glnsize : ## do you oversee all the toolkits?
Pasdargent : ## Aside from PowerShell installed on your guest OS, what else has to be installed or opened to use invoke command?
A) Needs 3.5 U2 or higher
meson : ## can you interact with the host or VMFS partitions within POwerSHell
meson : ## Can I get rid of the VC Client is a good way to ask the question.
palen : ## Have any of the new cmdlets in v1.5 originate from the VI Toolkit community extensions?
bmichel7150 : ## Can the VI Toolkit talk into the ESX services themselves, I.E, a script to restart mgmt-vmware service?
jon_medd : ## will hal update his book for 1.5? i know he is not very busy 🙂
glnsize : ## what corner of the API are you looking at next, or at this point is it all fit and finish
jeffculb-1 : ## is version specific info referenced in the help for the commandlets
glnsize : ## what does the release cycle for the toolkit look like only major revs, or will you release as you go?
aleksandar : ## could carter say something about his experience with running ThinApped PowerShell?
Pasdargent : ## Are there plans to monetize the VI Toolkit or are you determined for this to be free indefinitely?

Resources

One-Liner

Write-Host -ForegroundColor Yellow “Modules loaded: $(get-module)”

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.





Win a copy of Managing VMware Infrastructure with PowerShell: TFM on the podcast!

29 01 2009

Managing VMware Infrastructure with Windows PowerShell cover (Large)

You can be one of the first to receive a copy of my book when it comes out (not long, I swear!), for free!  Be sure to listen to Episode 57 for details.

And let me give you a tip.  Last time I looked, we had around 1,800 subscribers who listen to the recorded show.  We typically have between 15 and 40 people show up to the live show on our Ustream channel. We’ll give away a book or two live, and save some for the “regular podcast”.  Odds are a bit better if you show up tonight for the live show.  🙂





Join our Facebook Group

28 01 2009

If you were a member of our group on Facebook, you’d see this today:

image

I think we’ll be doing some sort of promotion with the group in the next month or so, so stay tuned for that.





Episode 56 – James Kovacs talks about PSake

25 01 2009

A Podcast about Windows PowerShell.

Listen:

In This Episode

Tonight on the PowerScripting Podcast we talk to developer James Kovacs about his PowerShell build tool, psake.

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 http://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

James  Kovacs , B.Sc., M.Sc., MCSD, MCT

Primary Profile:

James Kovacs is an independent architect, developer, trainer, and jack-of-all-trades specializing in agile development using the .NET Framework. He is passionate about helping developers create flexible software using test-driven development (TDD), unit testing, object-relational mapping, dependency injection, refactoring, continuous integration, and related techniques. He assists clients in building smart clients, web applications, web services, and even full-fledged servers using the .NET Framework and Microsoft server technologies.

You can listen to him and his fellow plumbers, John and Bil on their podcast, Plumbers at Work – http://www.plumbersatwork.com – which is syndicated by MSDN Canada Community Radio. He is a frequent speaker at user groups and events. He published an article on memory leaks in managed code in MSDN Magazine (http://msdn.microsoft.com/msdnmag/issues/07/01/ManagedLeaks/default.aspx).

James is a Microsoft MVP – Solutions Architect and card-carrying member of ALT.NET – a group of software professionals continually looking for more effective ways to develop applications.. He holds a variety of designations, including MCP, MCAD, MCSD, and MCT. He received his Bachelors degree from the University of Toronto and his Masters degree from Harvard University.

  • stevenmurawski: ##how does psake differ from tools like Nant and MSBuild?
  • stevenmurawski: ##Do you think there is an advantage to using psake over Nant and MSBuild?
  • stevenmurawski: ##MSBuild and Nant have a number of tasks (included and community provided), is there a task library for psake under development, or do we have to start from scratch?
  • stevenmurawski: ##if you are calling MSBuild from psake, aren’t you adding a layer of complexity to your build process?
  • ebgreen: ##So something like a DSL for builds?
  • ## what in your background makes you concerned with the pains of deploying apps in the enterprise?

Resources

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.

Tips

Gotcha






Ustream FAIL.

22 01 2009

So we got ready to record the show tonight and to start the live stream and…Ustream’s servers were choking.  We ended up doing an on-the-fly move to Stickam to complete the interview which thankfully, worked fine.  But then the stickam stream froze on Jon’s PC multiple times, and it froze on the end-user side as well for some.  So…

Looks like we need a better live streaming service.  We are open to suggestions.  Here are some that we’ll check out based on feedback already tonight:

You guys got anything else we should try? Please leave comments or email us: feedback@powerscripting.net.





Tonight on the PowerScripting Podcast

22 01 2009

Tonight on the show we’re interviewing James Kovacs. 

James Kovacs is an independent architect, developer, trainer, and jack-of-all-trades specializing in agile development using the .NET Framework. He is passionate about helping developers create flexible software using test-driven development (TDD), unit testing, object-relational mapping, dependency injection, refactoring, continuous integration, and related techniques. He assists clients in building smart clients, web applications, web services, and even full-fledged servers using the .NET Framework and Microsoft server technologies.
You can listen to him and his fellow plumbers, John and Bil on their podcast, Plumbers at Work – http://www.plumbersatwork.com – which is syndicated by MSDN Canada Community Radio. He is a frequent speaker at user groups and events. He published an article on memory leaks in managed code in MSDN Magazine (http://msdn.microsoft.com/msdnmag/issues/07/01/ManagedLeaks/default.aspx).
James is a Microsoft MVP – Solutions Architect and card-carrying member of ALT.NET – a group of software professionals continually looking for more effective ways to develop applications.. He holds a variety of designations, including MCP, MCAD, MCSD, and MCT. He received his Bachelors degree from the University of Toronto and his Masters degree from Harvard University.





Episode 55 – Jeff Hicks in for Hal and an interview with James Brundage

18 01 2009

A Podcast about Windows PowerShell.

Listen:

In This Episode

This episode features PowerShell MVP, author, and scripting guru Jeff Hicks as a guest co-host and an excellent, information pack interview with PowerShell Quality Expert James Brundage.

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

Interview

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

  • James, tell us a bit about yourself, where you come from and how you ended up on the PowerShell team?
  • What is a typical day like for you?
  • I see you part of a PowerShell script club.  How is that working out? What can you tell us about it?
  • Being involved with testing and QA there must be times when you get to be a thorn in the sides of Jeffrey Snover, Bruce Payette and the rest.  Deep down, secretly, doesn’t that feel good?  But seriously, what is it like to work with them?
  • I know you’ve developed a lot of testing tools for PowerShell, you’ve even shown them to me. Any chance some of them will be released to the community?
  • Do you have any performance or benchmarking scripts that you can publish?
  • James’s personal blog

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 http://www.idera.com/PodcastPeople to get your copy today!

Tips

  • Use PowerShell’s transcript feature to assist in learning PowerShell. Put Start-Transcript into your profile to start recording your entire PowerShell session. A great way to review your work, especially when trying to learn PowerShell from the beginning.
  • Increase your Powershell history buffer by setting $MaximumHistoryCount to a value higher than 64. You may also want to change the command buffer in the window settings to match.

One-Liner

(dir $env:temp -r | measure-object length -sum).sum /1MB

Here is a PowerShell script to clean up your temp directory





Episode 54 – the case of the missing interview

15 01 2009

A Podcast about Windows PowerShell.

Listen:

 

In This Episode

We’ve got a ton of news and resources for you as well as a new tip.

News

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.

  • PowerShell CTP3 was released!
  • Jeffrey Snover will be on the Mind of Root podcast next Wednesday to talk about WSMAN and WinRM

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

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 http://www.idera.com/PodcastPeople to get your copy today!

 

  • PowerShell is not case sensitive, except for when it is
    • ADSI (example)
    • Get-ChildItem -Filter
    • .NET classes

 








Design a site like this with WordPress.com
Get started