The script is available for download from http://gallery.technet.microsoft.com/How-to-restore-default-in-ebaffbf3. You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.
The goal of this script is to restore startup type and status of default services in Windows 8.
Sometime due to some software or personal reason, system default services startup type and status will be changed. This script is to restore the services to default startup type and status.
You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery