New-UDHeading
Synopsis
Defines a new heading
Syntax
New-UDHeading [-Id <String>] [-Content <ScriptBlock>] [-Size <String>] [-Color <DashboardColor>] [-ClassName <String>] [<CommonParameters>]
New-UDHeading [-Id <String>] [-Text <String>] [-Size <String>] [-Color <DashboardColor>] [-ClassName <String>] [<CommonParameters>]Description
Defines a new heading. This generates a new H tag.
Parameters
-Id
The ID of this component.
Required? false
Position? named
Default value ([Guid]::NewGuid())
Accept pipeline input? false
Aliases
Accept wildcard characters? false-Content
The content of the heading.
-Text
The text of the heading.
-Size
This size of this heading. This can be 1,2,3,4,5 or 6.
-Color
The text color.
-ClassName
A CSS class to apply to the heading.
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: Basic Heading
Creates a basic heading.
Last updated
Was this helpful?