Here is a nice “Windows Scripts” page from Microsoft All-In-One Code Framework.
http://blogs.technet.com/b/onescript/p/windows.aspx
The All-In-One Script Framework Windows and Windows Server script samples are based on frequently asked IT tasks that the team observed in TechNet Windows forums and Windows Server forums, Microsoft support incidents, and various Windows IT communities. They hope that these customer-driven automation script samples can help Windows and Windows Server administrators deal with some typical IT tasks in shorter time.
Here are some of their nice Windows script samples
Script to fix issues described in KB947222 (PowerShell)
Get Network Adapter Properties in Windows 8
How to batch create virtual machines in Windows Server 2012(PowerShell)
Remove Windows Store Apps in Windows 8
Script to fix issues described in KB947222 (VBScript)
Find user logon duration (PowerShell)