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

Clear-UDElement

Synopsis

Removes all children from the specified element.

Syntax

Clear-UDElement [-Id] <String> [-Broadcast] [<CommonParameters>]

Description

Removes all children from the specified element. This cmdlet may behave differently depending on the type of parent element.

Parameters

-Id

The ID of the element to clear.

Required?                    true
Position?                    1
Default value
Accept pipeline input?       false
Aliases
Accept wildcard characters?  false

-Broadcast

Whether to clear the element on all connected clients.

Common parameters

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

Outputs

Examples

Example 1: Clear Element

Clears an element.

Example 2: Broadcast

Clears an element and broadcasts it to all connected dashboards.

Last updated

Was this helpful?