Script Download:AddhidefilesToContext(PowerShell).zip
http://gallery.technet.microsoft.com/scriptcenter/Add-showhide-hidden-files-e085f1d5
This PowerShell script sample shows how to add "show/hide hidden files" to the context menu in Windows 8.
Sometimes, a user may want to show hidden files and then hide them again later. This process can be tedious by using the UI in Windows 8. This script contains one advanced function, Set-OSCContextHiddenFiles.
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery