public static IOrderedEnumerable<ITestScenario> SearchForScenariosPS(ISearchCmdletBaseDataObject cmdlet) { var scenarios = SearchForScenarios(cmdlet); return scenarios.Any() ? scenarios : null; }