Script Download:RefreshWindows8(PowerShell).zip
http://gallery.technet.microsoft.com/scriptcenter/Script-to-refresh-Windows-eca1e59a

This PowerShell script shows how to create custom refresh image. 

Windows Refresh gives you a quick and easy way to start with a clean slate while also maintaining your apps, data, Windows settings, and user profile. 

image image
image

You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery