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

Sync-PSUComponent

Causes a dashboard component to reload.

SYNOPSIS

Causes a dashboard component to reload.

SYNTAX

Sync-PSUComponent -Id <String> [-Broadcast] [-ComputerName <String>] [-AppToken <String>]
 [-Credential <PSCredential>] [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
 [<CommonParameters>]

DESCRIPTION

Causes a dashboard component to reload. This cmdlet can be used in APIs and scripts to reload components in dashboards.

EXAMPLES

Example 1

PS C:\> Sync-UDComponent -Id 'myDynamic'

Reloads the 'myDynamic' component.

PARAMETERS

-AppToken

The app token used to connect to the PSU management API.

-ComputerName

The computer name or URL of the PSU management API.

-Id

The ID of the component to reload.

-Integrated

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

-UseDefaultCredentials

Whether to use default credentials when connecting to the PSU management API.

-Broadcast

Broadcast the sync across all nodes.

-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

System.String

OUTPUTS

System.Object

NOTES

Last updated

Was this helpful?