Skip to main content

Microsoft Script Center

Welcome to the Microsoft Script Center. We are dedicated to the system administrator scripters of the world. At the Microsoft Script Center, we focus on teaching people how to use Windows PowerShell to reduce time spent performing mundane tasks.

 

What's new?

Check out the Hey, Scripting Guy! blog to catch all the latest news, events, and, of course, scripts!

 

Join the conversation

The Scripting Guys forum is the place to share your knowledge and get help from other scripting fanatics.

 

Learn

Visit our learning center to start scripting or hone your skills.

 

Get scripts

Find scripting resources in the vast Script Center repository.

 

 

Events

The 2013 Scripting Games have begun!

It's not too late to get involved. Visit PowerShell.org's 2013 Scripting Games page for details about how to participate.

  

TechEd 2013 - New Orleans, LA, June 3 - 6

TechEd 2013: Hands-on learning, deep product exploration, & countless opportunities to build relationships with a community of Microsoft experts and your peers.

About the Script Center

Who We Are

FAQ

Today's Hey, Scripting Guy! blog article

Script Center Home Page

Variable Substitution in a PowerShell Script Block
Summary: Microsoft Scripting Guy, Ed Wilson, talks about performing variable substitution inside a Windows PowerShell script block. Hey, Scripting Guy! I am trying to create a command. The command contains variables that I would like to assign prior to creating the command. However, when I get to the script block portion of my code, it does not do the variable substitution for the value the way an expanding string normally works. Can you help m... More >
Wednesday, May 22

 

 

 

Follow Us

Hey, Scripting Guy! @ScriptingGuys