API Reference
New-HTMLSummaryItem
Creates a new HTML summary item with specified parameters.
Remarks
This function creates a new HTML summary item with customizable text, icons, and other visual properties.
Examples
EXAMPLE 1
New-HTMLSummaryItem -Text "Summary Item 1" -IconBrands "fa-windows" -IconSize 2 -IconColor "blue" -Open
Creates a new HTML summary item with the text "Summary Item 1", using the Windows icon brand, a size of 2, blue color, and initially open.
EXAMPLE 2
New-HTMLSummaryItem -Text "Summary Item 2" -IconRegular "fa-address-book" -IconSize 3 -IconColor "green"
Creates a new HTML summary item with the text "Summary Item 2", using the address book regular icon, a size of 3, and green color.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
New-HTMLSummaryItem [-IconColor <String>] [-IconSize <Int32>] [-IconSolid <String>] [-NestedItems <ScriptBlock>] [-Open] [-Text <String>] [<CommonParameters>]
#
FontAwesomeSolidParameters
- IconColor String
- Specifies the color of the icon in the summary item.
- IconSize Int32
- Specifies the size of the icon in the summary item.
- IconSolid String
- ICON SOLID
- NestedItems ScriptBlock
- Specifies the nested items to include within the summary item.
- Open SwitchParameter
- Indicates whether the summary item should be initially open or closed.
- Text String
- Specifies the text content of the summary item.
New-HTMLSummaryItem [-IconColor <String>] [-IconRegular <String>] [-IconSize <Int32>] [-NestedItems <ScriptBlock>] [-Open] [-Text <String>] [<CommonParameters>]
#
FontAwesomeRegularParameters
- IconColor String
- Specifies the color of the icon in the summary item.
- IconRegular String
- Specifies the regular icon to use for the summary item. Valid values are retrieved from the available FontAwesome regular icons.
- IconSize Int32
- Specifies the size of the icon in the summary item.
- NestedItems ScriptBlock
- Specifies the nested items to include within the summary item.
- Open SwitchParameter
- Indicates whether the summary item should be initially open or closed.
- Text String
- Specifies the text content of the summary item.
New-HTMLSummaryItem [-IconBrands <String>] [-IconColor <String>] [-IconSize <Int32>] [-NestedItems <ScriptBlock>] [-Open] [-Text <String>] [<CommonParameters>]
#
FontAwesomeBrandsParameters
- IconBrands String
- Specifies the icon brand to use for the summary item. Valid values are retrieved from the available FontAwesome brands.
- IconColor String
- Specifies the color of the icon in the summary item.
- IconSize Int32
- Specifies the size of the icon in the summary item.
- NestedItems ScriptBlock
- Specifies the nested items to include within the summary item.
- Open SwitchParameter
- Indicates whether the summary item should be initially open or closed.
- Text String
- Specifies the text content of the summary item.