Add-UDElement
Synopsis
Adds an element to a parent element.
Syntax
Add-UDElement [-ParentId] <String> [-Content] <ScriptBlock> [-Broadcast] [<CommonParameters>]Description
Adds an element to a parent element. This cmdlet may behave differently depending on the type of parent element.
Parameters
-ParentId
The parent element ID to add the item to.
Required? true
Position? 1
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false-Content
The content to add to the parent element.
-Broadcast
Whether to update all connected dashboards (all users).
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: Add Element
Adds an element to a parent element.
Example 2: Broadcast
Adds an element to a parent element and broadcasts it to all connected dashboards.
Last updated
Was this helpful?