This time I needed to build a two-state script monitor to test several file shares for availability. The script works in multiple steps… Try to access the shared folder Create a file within the share Check if the file exists Delete the file If one of the tests above would fail, we need to get […]
When writing scripts I like to use PowerShell ISE or VSCode a lot. It simplifies a lot of your daily scripting tasks like IntelliSense or Snippets. But sometimes these little helper don’t tell always the truth. Why? Well, I show you an example which is quite common. On problem there is if you are working […]
Quick Post – Import-SCOMManagementPack : The requested management pack is not valid. See inner exception for details.
I have seen in the forum there are some difficulties using the Import-SCOMManagementPack cmdlet for SCOM 2012. Some time ago I wrote a post about how to import multiple MPs using Import-SCOMManagementPack. If you try to import just one MP you might get a meaningless error in PowerShell like this…