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 https://aka.ms/onescriptingallery