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.

 

 

2013 Scripting Games Wrap-Up

The 2013 Scripting Games have ended, and it was a Games to remember! Read all about it in Ed's wrap-up blog article.

Events

There are currently no events scheduled.

Please check back frequently for information about new events.

About the Script Center

Who We Are

FAQ

Today's Hey, Scripting Guy! blog article

Script Center Home Page

PowerTip: Count Your PowerShell Scripts
Summary: Learn how to count how many PowerShell scripts you have written. My boss asked me how many Windows PowerShell scripts I have written. I keep all my scripts in a specific folder. How can I use Windows PowerShell to count them? Use the Get-ChildItem cmdlet (dir is an alias), and specify the path, a filter, and the Recurse parameter; then pipe the results to the Measure-Object cmdlet: dir -Path C:\data -Filter *.ps1 -Recurse | measure
Wednesday, Jul 24

 

 

 

Follow Us

Hey, Scripting Guy! @ScriptingGuys