API Reference
Command
Get-TestimoXRuleOverview
Lists all discovered rules with metadata or emits copy/paste‑ready names.
Examples
Example 1: List the full discovered rule overview across built-in C# and PowerShell rules.
PS>
Get-TestimoXRuleOverview
Example 2: Emit only enabled PowerShell-backed rules and narrow the list by a name filter.
PS>
Get-TestimoXRuleOverview -Type PowerShell -EnabledOnly -Filter RecycleBin
Example 3: Generate copy/paste-ready enum entries for embedding into C# rule selections.
PS>
Get-TestimoXRuleOverview -Type CSharp -NameOnly -AsSnippet -Indent 8
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
Get-TestimoXRuleOverview [-AsSnippet] [-EnabledOnly] [-Filter <string>] [-Indent <int>] [-Inventory] [-NameOnly] [-PowerShellRulesDirectory <string>] [-Profile <AdSecurityAssessment>] [-Type <string>] [<CommonParameters>]#Parameters
- AsSnippet SwitchParameter
- When used with NameOnly, outputs lines with indentation and commas.
- EnabledOnly SwitchParameter
- Return only rules that are enabled by default.
- Filter string
- Optional substring filter applied to Name and DisplayName (case‑insensitive).
- Indent int
- Indentation used by AsSnippet lines.
- Inventory SwitchParameter
- Emit migration inventory instead of the compact overview.
- NameOnly SwitchParameter
- Emits only qualified enum names instead of table rows.
- PowerShellRulesDirectory string
- Optional path to a directory containing user PowerShell rules (.ps1). Overrides TESTIMOX_PS_RULES_DIR.
- Profile RuleSelectionProfile
- Optional curated profile used to classify inventory rows into assessment areas. Possible values: None, AdSecurityAssessment
- Possible values:
AdSecurityAssessment - Type string
- Limits results to a specific source: Both, CSharp or PowerShell.
Outputs
System.String, TestimoX.Execution.RuleInventoryEntry, TestimoX.Execution.RuleOverview