Tomorrow on PowerScripting Live – James Brundage

14 01 2009

James Brundage has been on the PowerShell team since February 2007 as a software tester.   During the time on the PowerShell Test Team, James has tested large portions of the C# engine APIs, the Add-Type cmdlet, and he has explored the interaction between WPF and PowerShell.  Prior to working on the PowerShell team, he worked on the Task Scheduler team and the WMI team during Windows Vista.  Prior to working at Microsoft, James built a scriptable UI builder for video applications called the Motion Video System, which was used to produce a couple of video mixing applications (Trigger and Mix) as well as a digital advertising platform (BrandAlone).  He has been programming for 19 years and has also worked as a network administrator at Kent State University, as a Film critic for filmcritic.com, and has done promotions and atmospherics (lighting and video) for nightclubs and concerts.

We’ll see you on the Ustream!





We are ON for tonight’s PowerScripting Live!

8 01 2009

Come check out the show at 9pm EST tonight and chat with fellow listeners. You can even interact with our guests. Tonight we’re having a couple of nice fellows from Compellent to talk to us about their new PowerShell snapin.





Happy New Year! No PowerShell Live Today

1 01 2009

Happy New Year from Jon and Hal!

Just wanted to let you all know not to stay up for us. Hal’s wife was admitted to the hospital so of course our schedule will be out of whack for a little bit. But don’t worry, we haven’t gone anywhere.  In fact, we’ve got plans for some new stuff that we’ll hopefully get out soon.

And in case you are curious, Hal’s wife is fine, she just needs some help to keep a l’il baby inside until it’s done cooking.

Oh, and don’t forget to follow Jon and Hal on Twitter. While you are at it, you can also follow Jeffrey Snover now, and Steve Murawski is maintaining a list of PowerShell Twitterers. I think he’s even made a script to help you auto-subscribe to them.





No PowerScripting Live This Thursday

24 12 2008

For what should be an obvious reason, we won’t be recording this Thursday.  🙂

Merry Christmas!





Episode 53 – Jeffrey Snover and Bruce Payette!

22 12 2008

A Podcast about Windows PowerShell.

Listen:

In This Episode

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





Getting ready for the big show

17 12 2008

We’ll be giving away two copies each of these wonderful PowerShell books—but only to those who ask questions during the interview.





Big show coming this Thursday!

15 12 2008

Coming up on the PowerScripting Live show this Thursday will be Jeffrey Snover, the architect for PowerShell as I’m sure you all know, and he’ll be accompanied by none other than Bruce Payette, author of PowerShell in Action and a core developer on the PowerShell team.

We’re excited and we hope you can make it this Thursday at 9pm EST!





Episode 52 – CloudBerry Labs

15 12 2008

A Podcast about Windows PowerShell.

Listen:

In This Episode

Today on the PowerScripting Podcast 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)





Episode 51 – Doug Finke

8 12 2008

A Podcast about Windows PowerShell.

Listen:

In This Episode

Today on the PowerScripting Podcast 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.

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





Introductory and Advanced PowerShell Webcasts

4 12 2008

We just noticed this today on mow’s blog. It’s too late to really get it in a podcast, so here are the details for you today:

TechNet Webcasts about PowerShell

TechNet Webcast: Introduction to Windows PowerShell (Level 200)

Language(s):
English.

Product(s):
Windows Server 2008.

Audience(s):
IT Professional.

Duration:
90 Minutes

Start Date:

Monday, December 08, 2008 11:30 AM Pacific Time (US & Canada)

Event Overview

In this webcast, we provide an introduction to Windows PowerShell for IT professionals and show how to automate client administrative activities in the Windows Server 2008 and Windows Vista operating systems. We explore the features and capabilities of Windows PowerShell, describe customer scenarios to manage day-to-day server and client administration activities, and discuss command-line syntax usage.
Presenters: John Baker, IT Pro Evangelist, Microsoft Corporation, and Yung Chou, IT Pro Evangelist, Microsoft Corporation

TechNet Webcast: Advanced Windows Powershell Scripting (Level 400)

Language(s):
English.

Product(s):
Windows Server 2008.

Audience(s):
IT Professional.

Duration:
90 Minutes

Start Date:

Monday, December 15, 2008 11:30 AM Pacific Time (US & Canada)

Event Overview

In this webcast, we look at some of the powerful scripting capabilities of Windows PowerShell. First, we introduce some of the basics of Windows PowerShell.  We examine how the help system works and review the Windows PowerShell command structure. We also discuss how to format output and some basic Windows PowerShell commands. Next, we explore variable declaration and scripting constructs in Windows PowerShell to perform basic programmatic functions, like loops and branching. Then we look at advanced scripting techniques involving functions, filters, script blocks, and error handling. We also look briefly at how to use Windows PowerShell with Windows Management Instrumentation (WMI) to gain access to a wide variety of system objects and settings. Finally, we look at how to use the Microsoft .NET Framework to build a simple form using Windows PowerShell.
Presenters: John Baker, IT Pro Evangelist, Microsoft Corporation, and Yung Chou, IT Pro Evangelist, Microsoft Corporation








Design a site like this with WordPress.com
Get started