Script Download: The script is available for download from http://gallery.technet.microsoft.com/How-to-fix-broken-Windows-8f77bfd4. You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.
This script shows how to broken Windows Store apps with a black X mark in Windows 8.1.
Some users find that there are some Windows Apps broken with black X when they update Window 8 to Windows 8.1. This script is try to solve this problem.
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery
The link has a script that says something about mounting a VHD file.