API Reference
Command
Invoke-ADXDirectoryEssentials
Generates a Directory Essentials HTML report for user, computer, group, and security hygiene.
Examples
Generated fallback example from command syntax.
Invoke-ADXDirectoryEssentials -LogoPath 'C:\Path'
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
Invoke-ADXDirectoryEssentials [-Type <All>] [-Author <string>] [-Data <DirectoryEssentialsSnapshot>] [-Description <string>] [-ExcludeDomains <string[]>] [-FooterText <string>] [-Forest <string>] [-HeaderText <string>] [-HideHTML] [-HideSteps] [-IncludeBitLocker] [-IncludeCannotChangePassword] [-IncludeDomains <string[]>] [-IncludeExchange] [-IncludeGroupMemberCount] [-IncludeLapsAcl] [-IncludeLapsHistory] [-IncludeManagerAcl] [-IncludeManagerDetails] [-IncludeOwners] [-LogoAltText <string>] [-LogoPath <string>] [-NoBitLocker] [-NoCannotChangePassword] [-NoExchange] [-NoGroupMemberCount] [-NoLapsAcl] [-NoLapsHistory] [-NoManagerAcl] [-NoManagerDetails] [-NoOwners] [-Online] [-PageSize <int>] [-PassThru] [-ReportPath <string>] [-ResolveTrueLastLogon] [-RowLimitPerDomain <int>] [-ShowError] [-ShowWarning] [-SplitReports] [-Subtitle <string>] [-Title <string>] [-TrueLastLogonDegreeOfParallelism <int>] [-UseGroupMemberCountRangeQuery] [-UseManagerDetailsLookup] [-UseOwnerSecurityDescriptor] [<CommonParameters>]#Parameters
- Type DirectoryEssentialsReportType[]
- Report types to include (omit for all). Possible values: All, Users, Computers, Groups, PasswordPolicies, LapsAndBitLocker, LapsOnly, BitLockerOnly, LapsAcl, ForestAclOwners
- Possible values:
All,Users,Computers,Groups,PasswordPolicies,LapsAndBitLocker,LapsOnly,BitLockerOnly,LapsAcl,ForestAclOwners - Author string
- Override the report author.
- Data DirectoryEssentialsSnapshot
- Optional pre-collected report data (primarily for testing).
- Description string
- Override the report description.
- ExcludeDomains string[]
- Exclude domains from the scan (DNS names).
- FooterText string
- Footer text (optional).
- Forest string
- Target a different forest (DNS name). When omitted, the current forest is used.
- HeaderText string
- Header text (optional).
- HideHTML SwitchParameter
- Do not automatically open the report in the default browser.
- HideSteps SwitchParameter
- Do not show remediation steps/wizards in the report.
- IncludeBitLocker SwitchParameter
- Include BitLocker recovery scan for computers (default on for ADEssentials parity).
- IncludeCannotChangePassword SwitchParameter
- Compute CannotChangePassword flag (ACL-based, default on for ADEssentials parity).
- IncludeDomains string[]
- Include only specific domains (DNS names). When omitted, all forest domains are scanned.
- IncludeExchange SwitchParameter
- Include Exchange-specific attributes when present in schema (default on for ADEssentials parity).
- IncludeGroupMemberCount SwitchParameter
- Include group member counts (expensive for very large groups). Default on for ADEssentials parity.
- IncludeLapsAcl SwitchParameter
- Include LAPS ACL scanning (SELF write permissions, default on for ADEssentials parity).
- IncludeLapsHistory SwitchParameter
- Include Windows LAPS history attributes where available (default on for ADEssentials parity).
- IncludeManagerAcl SwitchParameter
- Include manager membership update ACL checks for groups (default on for ADEssentials parity).
- IncludeManagerDetails SwitchParameter
- Include manager details (display name, status, last logon). Default on for ADEssentials parity.
- IncludeOwners SwitchParameter
- Include ACL owner details (default on for ADEssentials parity).
- LogoAltText string
- Logo alt text (optional).
- LogoPath string
- Logo path for report branding (optional).
- NoBitLocker SwitchParameter
- Disable BitLocker recovery scan for computers.
- NoCannotChangePassword SwitchParameter
- Disable CannotChangePassword computation.
- NoExchange SwitchParameter
- Disable Exchange-specific attribute collection.
- NoGroupMemberCount SwitchParameter
- Disable group member counts (reduces memory for very large groups).
- NoLapsAcl SwitchParameter
- Disable LAPS ACL scanning.
- NoLapsHistory SwitchParameter
- Disable Windows LAPS history attributes.
- NoManagerAcl SwitchParameter
- Disable manager membership update ACL checks for groups.
- NoManagerDetails SwitchParameter
- Disable manager details for users/groups/computers.
- NoOwners SwitchParameter
- Disable ACL owner details (default includes owners for ADEssentials parity).
- Online SwitchParameter
- Use online resources in HTML (CDN). When omitted, the report is generated offline (inlined).
- PageSize int
- LDAP page size used for Directory Essentials queries.
- PassThru SwitchParameter
- Return collected data after generating the report.
- ReportPath string
- Output path (file or directory). When omitted, a temp-like path is chosen.
- ResolveTrueLastLogon SwitchParameter
- Resolve true lastLogon across domain controllers (expensive).
- RowLimitPerDomain int
- Optional server-side row limit per domain.
- ShowError SwitchParameter
- Show captured errors in the HTML report (best-effort).
- ShowWarning SwitchParameter
- Show captured warnings in the HTML report (best-effort).
- SplitReports SwitchParameter
- Split report into multiple files (one per report type).
- Subtitle string
- Override the report subtitle.
- Title string
- Override the report title.
- TrueLastLogonDegreeOfParallelism int
- Maximum concurrent DC lookups when resolving true lastLogon.
- UseGroupMemberCountRangeQuery SwitchParameter
- Use LDAP range retrieval to count group members (reduces memory, increases LDAP round-trips). Requires -IncludeGroupMemberCount.
- UseManagerDetailsLookup SwitchParameter
- Resolve manager details via targeted LDAP lookups (reduces memory, increases LDAP round-trips). Requires -IncludeManagerDetails.
- UseOwnerSecurityDescriptor SwitchParameter
- Prefer owner SID from ntSecurityDescriptor during the main query (reduces per-object binds). Requires -IncludeOwners.
Outputs
ADPlayground.DirectoryEssentials.DirectoryEssentialsSnapshot