Sign in
Browse by Tags
TechNet Blogs
»
Hey, Scripting Guy! Blog
»
All Tags
»
windows powershell
»
getting started
Server & Tools Blogs
>
Server & Management Blogs
>
Hey, Scripting Guy! Blog
All About Windows Server
Windows Server
Windows Server Essentials Blog
Partner & Customer Solutions
Ask The
Performance Team
Ask Premier Field Engineering
Ask the Core Team
Cloud OS Blogs
Brad Anderson - In the Cloud
Building Clouds
Server & Cloud
Datacenter Management
The System Center Team Blog
System Center Virtual Machine Manager
System Center Service Manager
System Center Operations Manager
System Center Data Protection Manager
System Center Orchestrator
Partner & Customer Solutions
Client Management
System Center Configuration Manager
System Center Service Manager
MDOP
Malware Protection Center
Windows Intune
SUS
Partner and Customer Solutions
Virtualization, VDI & Remote Desktop
Virtualization Team Blog
Ben Armstrong’s Virtualization Blog
Jose Barreto Blog on Hyper-V
Partner & Customer Solutions
Remote Desktop Services
Windows Multipoint Server
Ask the Core Team on Hyper-V
File & Storage & High Availability
File & Storage
Jose Barreto
Partner & Customer Solutions
Ask the Core Team on Failover Cluster
Clustering & High Availability
Windows Server Management
PowerShell
Hey Scripting Guy (PowerShell)
Server Manager
Group Policy
Networking
Identity & Access
Ask Directory Services
Active Directory Team Blog
Hey, Scripting Guy! Blog
Learn about Windows PowerShell
Live Now on Server & Tools Blogs
Subscribe
Comments
Contact
Menu
Home
Atom
Translate this page
Powered by
Microsoft® Translator
Twitter Feed
Recent Posts
‘Twas the Night of Before Scripting: Part 1
Posted
6 hours ago
by
The Scripting Guys
The Scripting Guys
PowerTip: Debug a Workflow with PowerShell 4.0
Posted
18 hours ago
by
The Scripting Guys
The Scripting Guys
1
Comment
Security Series: Using PowerShell to Enable BYOD–Part 2
Posted
1 day ago
by
The Scripting Guys
The Scripting Guys
PowerTip: Use PowerShell to Discover Console Colors
Posted
1 day ago
by
The Scripting Guys
The Scripting Guys
Tags
2010 Scripting Games
2011 Scripting Games
Active Directory
Admin First Steps
arrays hash tables and dictionary objects
error handling
files
Guest Blogger
Logs and monitoring
Modules
operating system
Profiles
Quick-Hits Friday
Registry
Remoting
running
Scripting Guy!
scripting techniques
Scripting Wife
Storage
Troubleshooting
VBScript
Weekend Scripter
Windows PowerShell ISE
WMI
Related Resources
Script Center Home
Scripting Library
Learn to Script
Script Repository
Scripting Forum
2012 Scripting Games
Archives
Archives
December 2013
(46)
November 2013
(60)
October 2013
(65)
September 2013
(61)
August 2013
(63)
July 2013
(63)
June 2013
(69)
May 2013
(68)
April 2013
(61)
March 2013
(62)
February 2013
(56)
January 2013
(62)
December 2012
(62)
November 2012
(68)
October 2012
(62)
September 2012
(62)
August 2012
(63)
July 2012
(32)
June 2012
(39)
May 2012
(33)
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)
More
▼
Less
▲
Tagged Content List
Blog Post:
Understanding the PowerShell While Statement
The Scripting Guys
Summary : Learn how to use the While statement in Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today I am happy to provide you with an excerpt from my new book Windows PowerShell 3.0 Step by Step , published by Microsoft Press. In VBScript, you had the While…Wend loop...
on
12 Dec 2013
Blog Post:
Use PowerShell to Create Remote Session
The Scripting Guys
Summary : Learn how to use Windows PowerShell to create a remote management session. Microsoft Scripting Guy, Ed Wilson, is here. Today I am happy to provide you with an excerpt from my new book, Windows PowerShell 3.0 Step by Step , published by Microsoft Press. For a simple configuration on...
on
11 Dec 2013
Blog Post:
A PowerShell Object Lesson: Part 3
The Scripting Guys
Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to create custom objects. Microsoft Scripting Guy, Ed Wilson, is here. Tonight is the PowerScripting PodCast . It is always a big deal around the Scripting House, because the Scripting Wife does all their scheduling...
on
7 Nov 2013
Blog Post:
Understanding the Six PowerShell Profiles
The Scripting Guys
Summary : Microsoft Scripting Guy, Ed Wilson, discusses the six different Windows PowerShell profiles, and when to use each. Hey, Scripting Guy! Dude, I have been reading some of the posts in your most excellent blog; and first of all, I want to say I think you are great. Now for the question: I do...
on
21 May 2012
Blog Post:
Use the Get-Command PowerShell Cmdlet to Find Parameter Set Information
The Scripting Guys
Summary : Microsoft Scripting Guy, Ed Wilson, shows how to use the Windows PowerShell Get-Command cmdlet to discover information about parameter sets. Hey, Scripting Guy! One thing I don’t understand is parameter sets. I have heard about them, but I do not really find a good source of documentation...
on
16 May 2012
Blog Post:
Use PowerShell to Easily Create New Registry Keys
The Scripting Guys
Summary : Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell to create new registry keys on local and remote computers. Hey, Scripting Guy! I am often required to create new registry keys on our computers. One of the reasons for this is for occasional system configuration. You...
on
9 May 2012
Blog Post:
Weekend Scripter: Handle the PowerShell Pipeline and Use the Console
The Scripting Guys
Summary : Microsoft Scripting Guy, Ed Wilson, talks about handling output to the Windows PowerShell console while using the pipeline. Microsoft Scripting Guy, Ed Wilson, is here. The Scripting Wife and I are enjoying Virginia Beach. We have met some really cool and smart people here at the Mark Minasi...
on
29 Apr 2012
Blog Post:
Learn Keyboard Tricks to Use the PowerShell ISE Easier
The Scripting Guys
Summary : Learn how to use the Windows PowerShell ISE more effectively by leveraging keyboard shortcuts. Hey, Scripting Guy! I am the network administrator for a large company, and we have to go through very rigorous testing before we can download and install software on our servers. This requirement...
on
8 Feb 2012
Blog Post:
Learn How to Use the Free PowerShell ISE to Edit Scripts
The Scripting Guys
Summary : Learn about using the Windows PowerShell ISE to edit scripts, and to modify the script execution policy in this step-by-step blog. Hey, Scripting Guy! I have a problem. I was following your blog yesterday about typing long commands inside the Windows PowerShell ISE , and I saved my work...
on
7 Feb 2012
Blog Post:
Use PowerShell to Choose Unique Objects from a Sorted List
The Scripting Guys
Summary : Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell to select unique objects and properties from a sorted list. Microsoft Scripting Guy, Ed Wilson, is here. I have been busy working on the study guide for the 2012 Scripting Games. It will look similar to the 2011 Scripting...
on
15 Jan 2012
Blog Post:
Learn How to Save PowerShell Objects for Offline Analysis
The Scripting Guys
Summary : Learn how to use Windows PowerShell to save objects for later offline analysis. Hey, Scripting Guy! I have a problem. I am trying to examine processes that are consuming resources on my computer. The problem is that when I use the Get-Process cmdlet, my results keep changing before I...
on
6 Sep 2011
Blog Post:
Automatically Create a PowerShell Hash Table
The Scripting Guys
Summary : Learn how to automatically create a Windows PowerShell hash table and extra process data. Hey, Scripting Guy! I thought your article introducing hash tables was pretty interesting. I was wondering how I might populate a hash table. Can you explain how to do this easily? —AC ...
on
5 Jul 2011
Blog Post:
Sort Output Before Sending to PowerShell Out-GridView
ScriptingGuy1
Summary : Learn how to sort data before you send it to the Windows PowerShell Out-GridView cmdlet. Microsoft Scripting Guy, Ed Wilson here. The weekend has finally arrived, following on the heels of a rather hectic week. I decided to download and install Service Pack 1 for Windows 7 and Windows Server...
on
26 Feb 2011
Blog Post:
Run PowerShell Scripts Stored on a Central File Share
ScriptingGuy1
Summary: Learn about Windows PowerShell Script Execution policies and how they effect running scripts from a central file share. Hey, Scripting Guy! I am curious as to the best place to store scripts. I want to maintain a master list of approved scripts, but I am not certain as to the best way...
on
4 Jan 2011
Blog Post:
To Script, or Not To Script - That is the Question
ScriptingGuy1
Summary: Scripting Guy Ed Wilson talks about the design considerations that govern writing Windows PowerShell scripts. Hey, Scripting Guy! I am trying to decide when it is best to write a script, and when not to write a script. Can you help me? -- BL Hello BL, Microsoft Scripting Guy Ed...
on
28 Dec 2010
Blog Post:
Use .NET Framework Classes to Explore Windows PowerShell Processes
ScriptingGuy1
Summary: Microsoft Scripting Guy teaches you how to use .NET Framework classes to explore the Windows PowerShell process in this beginner how-to post Hey, Scripting Guy! I want to first tell you that I appreciate all the hard work you do. I find your articles to be both funny and educational. I...
on
25 Oct 2010
Blog Post:
Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (9/3/10)
ScriptingGuy1
In this post : How to Identify COM Objects for Use by Windows PowerShell or VBScript How Can I Make My Scripts Take Less Time? How to Identify COM Objects for Use by Windows PowerShell or VBScript Hey, Scripting Guy! I usually create simple scripts (network mapping, printers...
on
3 Sep 2010
Blog Post:
Hey, Scripting Guy! Weekend Scripter: The Scripting Wife Works with Dates in Windows PowerShell
ScriptingGuy1
Microsoft Scripting Guy Ed Wilson here. I love getting up early on Saturday morning and spending an hour or so on breakfast. I boil a pot of fresh spring water, carefully pour it into my large ceramic teapot, measure out English Breakfast tea leaves, some lemon grass, and a cinnamon stick, and set it...
on
10 Apr 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 Transactions to Write to the Registry?
ScriptingGuy1
Hey, Scripting Guy! I am interested in using transactions when writing to the registry, but if something does not work, I want the entire transaction to fail. It does not seem that this actually works in Windows PowerShell. Am I missing something? -- TW Hello TW, Microsoft Scripting Guy Ed...
on
24 Feb 2010
Blog Post:
Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (1/15/10)
ScriptingGuy1
In this post : How Can I Repair WMI Installations Remotely? How Can I Determine CPU Usage Information with WMI? Can I Use Windows PowerShell to Add a Path Value to a Windows XP Registry Key? Where Should I Store My Windows PowerShell Functions? Help Me Write a Function That Accepts...
on
15 Jan 2010
Blog Post:
Hey, Scripting Guy! What Should I Include in Windows PowerShell Script Help?
ScriptingGuy1
Hey, Scripting Guy! I heard your interview the other day on the PowerScripting podcast , and I was really impressed. It is not every day I get to hear one of my heroes be interviewed on a podcast. I wanted to submit a question, but I got too carried away with the flow of things, and before I knew it...
on
6 Jan 2010
Blog Post:
Hey, Scripting Guy! How Can I Create Variables in Windows PowerShell?
ScriptingGuy1
Hey, Scripting Guy! In VBScript, it was easy to create a variable; all I had to do was use the DIM statement. I did not need to specify a type or a value or anything. I just used DIM and the variable would be created. How do I create variables in Windows PowerShell? Please tell me you haven’t made it...
on
12 Nov 2009
Blog Post:
Hey, Scripting Guy! How Can I Loop Through Collections with Windows PowerShell?
ScriptingGuy1
Hey, Scripting Guy! Your article yesterday was fairly interesting. The problem is that every time that you looped through something, you needed to basically know how many times that you would loop because you needed to be able to count it. Also your analogy about walking on the beach was somewhat dumb...
on
6 May 2009
Blog Post:
Hey, Scripting Guy! How Can I Use Windows PowerShell to Handle Mind-Numbing, Repetitive Tasks?
ScriptingGuy1
Hey, Scripting Guy! I have a number of tasks that I always have to do. These tasks are somewhat repetitive, and I want to be able to write a Windows PowerShell script to eliminate the repetition. Is there something I can use to help with the mind-numbing repetition? - CH Hi CH, Ed here. Some repetition...
on
4 May 2009