Sign In
TechNet Blogs
Technet Blog Images
More ...
Tweet tweet!
Translate this page
Powered by
Microsoft® Translator
Related Links
Blog Home
Script Center Home
Scripting Library
Learn to Script
Script Repository
Scripting Forum
2011 Scripting Games
Common Tasks
Blog Home
RSS for comments
RSS for posts
Atom
OK
Email Blog Author
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
2010 Scripting Games
2011 Scripting Games
Active Directory
basic hardware and firmware
Bhargav Shukla
CSV and other delimited files
getting started
Glenn Sizemore
guest blogger
hardware
Klaus Schulte
Quick-Hits Friday
Scripting Guy!
searching Active Directory
Weekend Scripter
Windows PowerShell
WMI
wrap up
writing
Archives
Archives
May 2012
(29)
April 2012
(97)
March 2012
(44)
February 2012
(31)
January 2012
(31)
December 2011
(31)
November 2011
(30)
October 2011
(31)
September 2011
(30)
August 2011
(31)
July 2011
(31)
June 2011
(30)
May 2011
(31)
April 2011
(97)
March 2011
(41)
February 2011
(28)
January 2011
(31)
December 2010
(31)
November 2010
(30)
October 2010
(31)
September 2010
(30)
August 2010
(33)
July 2010
(31)
June 2010
(30)
May 2010
(67)
April 2010
(65)
March 2010
(34)
February 2010
(29)
January 2010
(23)
December 2009
(23)
November 2009
(22)
October 2009
(23)
September 2009
(22)
August 2009
(25)
July 2009
(24)
June 2009
(38)
May 2009
(22)
April 2009
(22)
March 2009
(22)
February 2009
(20)
January 2009
(22)
December 2008
(8)
November 2008
(17)
October 2008
(9)
September 2008
(8)
August 2008
(6)
July 2008
(5)
June 2008
(21)
May 2008
(21)
April 2008
(22)
March 2008
(21)
February 2008
(21)
January 2008
(22)
December 2007
(10)
November 2007
(20)
October 2007
(23)
September 2007
(19)
August 2007
(23)
July 2007
(21)
June 2007
(21)
May 2007
(22)
April 2007
(21)
March 2007
(22)
February 2007
(21)
January 2007
(21)
December 2006
(11)
November 2006
(20)
October 2006
(22)
September 2006
(20)
August 2006
(23)
July 2006
(20)
June 2006
(22)
May 2006
(22)
April 2006
(20)
March 2006
(23)
February 2006
(20)
January 2006
(21)
December 2005
(16)
November 2005
(20)
October 2005
(21)
September 2005
(21)
August 2005
(23)
July 2005
(20)
June 2005
(22)
May 2005
(21)
April 2005
(21)
March 2005
(22)
February 2005
(20)
January 2005
(21)
December 2004
(16)
November 2004
(20)
October 2004
(21)
September 2004
(21)
August 2004
(22)
Browse by Tags
TechNet Blogs
>
Hey, Scripting Guy! Blog
>
All Tags
>
scripting techniques
>
error handling
Browse by Tags
2010 Scripting Games
2011 Scripting Games
Active Directory
basic hardware and firmware
Bhargav Shukla
CSV and other delimited files
getting started
Glenn Sizemore
guest blogger
hardware
Klaus Schulte
Quick-Hits Friday
Scripting Guy!
searching Active Directory
Weekend Scripter
Windows PowerShell
WMI
wrap up
writing
Blog Post:
Simplify Your PowerShell Script with Parameter Validation
ScriptingGuy1
Summary : Learn how to simplify your Windows PowerShell Script by using parameter validation attribute. Weekend Scripter Microsoft Scripting Guy, Ed Wilson, is here. I thought I would ask Glenn Sizemore to write today’s blog about parameter validation attributes. Glenn Sizemore is...
on
15 May 2011
Blog Post:
PowerShell Error Handling and Why You Should Care
ScriptingGuy1
Summary : Learn how to use error handling in your Windows PowerShell scripts. Microsoft Scripting Guy, Ed Wilson, is here. Guest Blogger Week continues with Bhargav Shukla. Bhargav Shukla is a senior premier field engineer—unified communications, with his primary focus on the Exchange...
on
12 May 2011
Blog Post:
Lessons Learned from the 2011 Scripting Games
ScriptingGuy1
Summary : The winner of the beginner division of the 2011 Scripting Games shares his thoughts and insights. Weekend Scripter Microsoft Scripting Guy, Ed Wilson, is here. This week we will have a combination of guest bloggers and me with a recap of the 2011 Scripting Games. Today we have Klaus Schulte...
on
8 May 2011
Blog Post:
Error Handling and Exporting Active Directory Users to CSV
ScriptingGuy1
Summary: Learn how to handle errors in Windows PowerShell and how to export user information from Microsoft Active Directory to a CSV file. In this post: Exporting Active Directory Users to CSV Adding Comments to a Script File Error Handling in Windows PowerShell Exporting...
on
12 Nov 2010
Blog Post:
Query Active Directory with PowerShell and Run WMI Commands
ScriptingGuy1
Summary : Use Windows PowerShell to Query Active Directory for computers and then run WMI commands on the remote machines. The Scripting Guys show you how. Hey, Scripting Guy! We have a major problem at my company. We have a standard corporate desktop we are deploying by using the Windows Deployment...
on
26 Aug 2010
Blog Post:
Query Active Directory and Ping Each Computer in the Domain by Using PowerShell
ScriptingGuy1
Summary : Query Active Directory and ping each computer in the domain by using Windows PowerShell. The Scripting Guys show you how. Hey, Scripting Guy! I am THE IT person at my company. I am also a chemical engineer who has daily production responsibilities in our process plant. You see, I am...
on
25 Aug 2010
Blog Post:
Hey, Scripting Guy! How Can I Use Windows PowerShell to Retrieve Information About Computer Hardware?
ScriptingGuy1
Hey, Scripting Guy! I need to use Windows PowerShell to retrieve information about my computer hardware. Specifically I am interested in the make, the model, and the speed of my CPU by using a script. Can this be done? -- DH Hello DH, Microsoft Scripting Guy Ed Wilson here. The 2010 Scripting...
on
4 Jun 2010
Blog Post:
Hey, Scripting Guy! How Can I Use Try/Catch/Finally in Windows PowerShell?
ScriptingGuy1
Hey, Scripting Guy! One thing I miss in Windows PowerShell is the ability to use a Try/Catch/Finally block that I can use in C#. To me it is an elegant solution to error handling. You attempt something, catch any resulting errors, and clean up the mess you made. Are there any plans in Windows PowerShell...
on
11 Mar 2010
Blog Post:
Hey, Scripting Guy! How Can I Use the Test-Path Cmdlet to Check for Resources?
ScriptingGuy1
Hey, Scripting Guy! Ignoring errors or bubbling up errors to the user of a script seems a bit inefficient. I mean, wouldn’t it be better to avoid the errors in the first place? I am only a beginner when it comes to writing scripts, and maybe I just do not get it, but why can’t you just write code that...
on
10 Mar 2010
Blog Post:
Hey, Scripting Guy! How Can I Use the –ErrorAction Preference Parameter?
ScriptingGuy1
Hey, Scripting Guy! I enjoyed reading your blog post yesterday about using $ErrorActionPreference to control the behavior of a script. One thing I never liked about using “On Error Resume Next” from VBScript was that it seemed to be an all-or-nothing type of proposition. There are certain errors I do...
on
9 Mar 2010
Blog Post:
Hey, Scripting Guy! How Can I Use $ErrorActionPreference to Control Cmdlet Handling of Errors?
ScriptingGuy1
Hey, Scripting Guy! One thing I liked about using VBScript is that I could add On Error Resume Next to the top of a script, and all my problems with the script went away. It was like magic, and I used it to fix many of my scripts. I really miss this capability in Windows PowerShell. -- MW Hello...
on
8 Mar 2010
Page 1 of 1 (11 items)