Today I needed to check if a customer had installed the latest versions of available Management Packs. And there are many tools that can help you with that, but I wanted to know if the downloaded MP files had a newer version than the ones installed in the Management Group.
I could have used Boris Yanushpolsky’s MPViewer to check which version the MP file had, but what better than use PowerShell to have a Sneak Preview of the Version of the downloaded MP file
Here is the script I created. Just save it to SneakPreviewSealedMPFile.ps1 and have fun.
# Loads an assembly from the application directory or from the global assembly cache using a partial name
# Create a new .Net Object
# Format the result