PowerScripting Podcast 3/19/08 Part 2

PowerScripting Podcast 3/19/08 Part 2

  • Comments 5

Part 2 of my interview for the PowerScripting Podcast is now available HERE.


Jeffrey Snover [MSFT]
Windows Management Partner Architect
Visit the Windows PowerShell Team blog at:    http://blogs.msdn.com/PowerShell
Visit the Windows PowerShell ScriptCenter at:  http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx

Leave a Comment
  • Please add 3 and 8 and type the answer here:
  • Post
  • Hey, guys

    I encounter a weird problem when I create a scriptblock in multiple-lines. It always adds some syntax error objects in the $error variable without any warning message printted on the screen.

    I already post this problem on the newsgroup, but there is no any progress on the problem.

    finally, I construct a hash object using the following code also generated an Error Ojbect...


    PS C:\Users\Eden> $h = @{ "my_key" = 1;

    >> "other_key" = 2;

    >> }


    PS C:\Users\Eden> $error[0]



    Sorry for Chinese characters, It just means "hash literal incomplete".

    If this behavior is not a bug, where can I find some help information talk about it.

    I just  

  • @ JPS

    Realy enjoyed this second part

    @Tou Ma

    ; means new line you do NOT want a new line in this case, so leave them.

    PS C:\Windows\System32> $h = @{ "my_key" = 1

    >> "other_key" = 2

    >> }


    PS C:\Windows\System32> $h

    Name                           Value

    ----                           -----

    my_key                         1

    other_key                      2

    No progress on the NG can hardly believe it ;-)

    Greeting /\/\o\/\/

  • We have seen powershell for the first time at school now really nice thing and I decided to make a website (+ forum) about it.

    Content is being filled at regular times :)

    PowerShell looks nice!

  • Thanks for the heads-up, Jeffrey. I really enjoyed part 1.

  • Abuse of commenting system... Did you guys know about Pash http://pash.sourceforge.net/

    An open source implementaion of powershell for unixes as well as windows.

Page 1 of 1 (5 items)