When passed in from a MOF the bool will actually be a string and parameter binding doesn't work for those, especially for switches. So we need to parse them to make sure they get splatted correctly.
This was the simplest fix I could implement that didn't involve looping through the hashtable and creating a new one with each value parsed if needed.
When passed in from a MOF the bool will actually be a string and parameter binding doesn't work for those, especially for switches. So we need to parse them to make sure they get splatted correctly.
This was the simplest fix I could implement that didn't involve looping through the hashtable and creating a new one with each value parsed if needed.