The directory name is invalid SharePoint 2010 Management Pack on SCOM 2012

Failed to create process due to error ‘0x8007010b : The directory name is invalid.’, this workflow will be unloaded.

Solution:

We need to have folder and configuration file 'SharePointMP.Config' on all MS, cause you don't know which MS will trigger script.

Just create folder (if doesn't exist already) C:\Program Files\ System Center Management Packs\ on all MSs and copy 'SharePointMP.Config' to all MSs.