API Reference
Get-TestimoXRuleOverview
Lists discovered TestimoX rules as metadata rows or emits copy/paste-ready enum names.
Examples
Example 1: List the full rule overview and review it in a table
PS>
Get-TestimoXRuleOverview | Format-Table Name, Type, Enabled, Categories, DisplayName -AutoSize
This is a good first pass when you want to see what the current build exposes across both rule catalogs.
Example 2: Inspect only enabled PowerShell-backed rules that mention recycle bin
PS>
Get-TestimoXRuleOverview -Type PowerShell -EnabledOnly -Filter RecycleBin
Use this to verify that a targeted subset is still enabled after rule-generation changes.
Example 3: Generate snippet-ready C# enum entries for a hand-curated rule list
PS>
Get-TestimoXRuleOverview -Type CSharp -NameOnly -AsSnippet -Indent 8
The output includes indentation and trailing commas so it can be pasted directly into a source file.
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
- Returns only rules that are enabled by default.
- Filter string
- Optional case-insensitive substring filter applied to both Name and DisplayName.
- Indent int
- Number of leading spaces used when AsSnippet is requested.
- Inventory SwitchParameter
- Emits the richer migration inventory instead of the compact overview.
- NameOnly SwitchParameter
- Emits only qualified enum names instead of overview or inventory 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, DnsSecurityAudit, NistDnsAudit, GeneralDnsConfigurationAudit, AdDnsCleanupAudit
- Possible values:
AdSecurityAssessment,DnsSecurityAudit,NistDnsAudit,GeneralDnsConfigurationAudit,AdDnsCleanupAudit - Type string
- Limits results to a specific source catalog: Both, CSharp, or PowerShell.
Outputs
System.String, TestimoX.Execution.RuleInventoryEntry, TestimoX.Execution.RuleOverview