Welcome to MSDN Blogs Sign in | Join | Help

PowerScripting Podcast 3/19/08 Part 2

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

Enjoy!

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

Published Tuesday, April 01, 2008 3:26 PM by PowerShellTeam

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: PowerScripting Podcast 3/19/08 Part 2

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

--------------code-----------------------

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  

Tuesday, April 01, 2008 10:43 AM by Tao Ma

# re: PowerScripting Podcast 3/19/08 Part 2

@ 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\/\/

Tuesday, April 01, 2008 1:51 PM by /\/\o\/\/

# re: PowerScripting Podcast 3/19/08 Part 2

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!

Thursday, April 03, 2008 6:50 AM by PwrShell.net

# re: PowerScripting Podcast 3/19/08 Part 2

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

Friday, April 04, 2008 10:47 AM by alvinashcraft

# Pash

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.

Monday, April 07, 2008 12:00 PM by Badri

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker