For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get-DSFolder

Synopsis

Return a folder by ID

Syntax

__AllParameterSets

Get-DSFolder [-FolderId] <guid> [-IncludedAdvancedProperties] [-AsLegacyResponse]
 [<CommonParameters>]

Description

Return a folder by ID, with possibility of including advanced folder properties

Examples

PS C:\> Get-DSFolder -FolderId $folderId -IncludeAdvancedProperties

Fetch a specific folder, including its advanced properties

Parameters

-AsLegacyResponse

In versions prior to 2024.2, many DS cmdlets returned a ServerResponse object. Enabling this backward compatibility switch allows scripts developed for earlier versions to function correctly.

-FolderId

Folder's ID

-IncludedAdvancedProperties

Used to select if advanced properties should be included

CommonParameters

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

Notes

For more information, type "Get-Help Get-DSFolder -detailed". For technical information, type "Get-Help Get-DSFolder -full".

Last updated

Was this helpful?