Skip to content

Get‑TaskFolderSecurityDescriptor

raandree edited this page Sep 6, 2026 · 1 revision

SYNOPSIS

Gets DACL descriptors for local Task Scheduler folders.

SYNTAX

Get-TaskFolderSecurityDescriptor [-Path] <Object[]> [-ThrottleLimit <Int32>]
 [<CommonParameters>]

DESCRIPTION

Resolves canonical local Task Scheduler folder paths and reads only their DACL through the in-box Task Scheduler COM API. No remote target or credential parameter is exposed.

EXAMPLES

EXAMPLE 1

Get-TaskFolderSecurityDescriptor -Path '\Operations'

Gets the DACL descriptor for the local Operations task folder.

PARAMETERS

-Path

One or more absolute local Task Scheduler folder paths.

Type: Object[]
Parameter Sets: (All)
Aliases: TaskPath

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-ThrottleLimit

Limits concurrently processed canonical folder targets from 1 to 64.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: [Math]::Max(1, [Math]::Min(8, [Environment]::ProcessorCount))
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.String

OUTPUTS

WindowsAccessControl.TaskFolderSecurityDescriptor

NOTES

RELATED LINKS

Home

Commands

DSC resources

Clone this wiki locally