public static void RunAndCheckCmdletParameters_ParameterMissing(string codeSnippet) { RunAndGetTheException( codeSnippet, "ParameterBindingException", "Cannot process command because of one or more missing mandatory parameters:"); }