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

Get-PSUSchedule

Returns schedules defined in PSU.

SYNOPSIS

Returns schedules defined in PSU.

SYNTAX

All (Default)

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

Id

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

Name

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

Identity

Script

DESCRIPTION

Returns schedules defined in PSU. Schedules define when scripts will be run.

EXAMPLES

Example 1

Returns all schedules defined in PSU.

Example 2

Returns all schedules created by the identity 'Adam'

Example 3

Returns all schedules for the script 'Script.ps1'

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 schedule to return.

-Identity

The Identity assigned to schedules that should be returned.

-Integrated

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

-Script

The script for which their schedules should be returned.

-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.

-Name

Gets a schedule by name.

-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

UniversalAutomation.Identity

UniversalAutomation.Script

OUTPUTS

System.Object

NOTES

Last updated

Was this helpful?