Check if PowerShell snap-ins have been loaded within your scripts

As I am releasing several scripts for VMM over the next month, the details of of each weigh on my mind during spare cycles.  One problem I thought I should solve is checking to see if the VMM snap-in has been loaded and then taking action based on the results.

Turns out Jeffrey Hicks, one of my favorite author/trainers, has already knocked this one out!

Skip to main content