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

Get-PSUFolder

Returns folders defined within PSU.

SYNOPSIS

Returns folders defined within PSU.

SYNTAX

All (Default)

Get-PSUFolder [-ComputerName <String>] [-AppToken <String>] [-Credential <PSCredential>]
 [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
 [<CommonParameters>]

Children

Get-PSUFolder [-Parent <Folder>] [-ComputerName <String>] [-AppToken <String>] [-Credential <PSCredential>]
 [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
 [<CommonParameters>]

Id

Get-PSUFolder [-Id <Int64>] [-ComputerName <String>] [-AppToken <String>] [-Credential <PSCredential>]
 [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
 [<CommonParameters>]

Name

DESCRIPTION

Returns folders defined within PSU. Folders will be based on the internal and\or remote git repo.

EXAMPLES

Example 1

Returns all folders within PSU.

Example 2

Returns the folder with the name 'Folder 1'

Example 3

Returns all the children folders for the specified folder.

PARAMETERS

-AppToken

An app token to access the PSU API.

-ComputerName

The HTTP address of the PSU REST API server.

-Id

The ID of the folder to return.

-Integrated

Executes the command internally rather than using the Management API. Only works when running script from within PowerShell Universal.

-Name

The name of the folder to return.

-Parent

The parent folder to return children for.

-UseDefaultCredentials

Use default credentials when connecting to the management API

-Credential

Credentials to login to the PowerShell Universal Management API.

-TrustCertificate

Whether the cmdlet should ignore certificate issues.

-Cookies

Reuses and persists authentication cookies for the current PowerShell session.

CommonParameters

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

INPUTS

None

OUTPUTS

System.Object

NOTES

Last updated

Was this helpful?