API Reference
Command
Get-ADXFileSid
Scans file system ACLs to locate SIDs of interest (including SIDHistory).
Examples
Example 1: Scan NTFS paths.
Get-ADXFileSid -Path "\\\\FS1\\Data"
Example 2: Skip SIDHistory correlation.
Get-ADXFileSid -Path "C:\\Shares" -NoSidHistory
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-ADXFileSid [-AllowList <string[]>] [-DeadPrefixFile <string>] [-Depth <int>] [-FollowReparse] [-NoResolve] [-NoSidHistory] [-NoTrusts] [-Parallelism <int>] [-Path <string[]>] [<CommonParameters>]#Parameters
- AllowList string[]
- Additional SID strings to allow.
- DeadPrefixFile string
- Path to a file containing dead/defunct domain SID prefixes (one per line).
- Depth int
- Maximum recursion depth; omit for unlimited.
- FollowReparse SwitchParameter
- Follow reparse points (junctions/symlinks).
- NoResolve SwitchParameter
- Skip SID-to-name resolution.
- NoSidHistory SwitchParameter
- Skip SIDHistory correlation lookups.
- NoTrusts SwitchParameter
- Exclude trusted forests/domains from the internal catalog.
- Parallelism int
- Max degree of parallelism for ACL reads.
- Path string[]
- Root paths to scan (local or UNC).
Outputs
ADPlayground.Acl.FileSidScanResult