New-HTMLTab
Creates a new HTML tab with customizable content and icons.
Syntax
New-HTMLTab
[-AnchorName <String>]
[[-Heading] <String>]
[[-HtmlData] <ScriptBlock>]
[-IconBrands <String>]
[-IconColor <String>]
[-IconSize <Object>]
[-Name <String>]
[-TextColor <String>]
[-TextSize <Object>]
[-TextTransform <uppercase| lowercase| capitalize>]
[<CommonParameters>]#FontAwesomeBrandsNew-HTMLTab
[-AnchorName <String>]
[[-Heading] <String>]
[[-HtmlData] <ScriptBlock>]
[-IconColor <String>]
[-IconSize <Object>]
[-IconSolid <String>]
[-Name <String>]
[-TextColor <String>]
[-TextSize <Object>]
[-TextTransform <uppercase| lowercase| capitalize>]
[<CommonParameters>]#FontAwesomeSolidNew-HTMLTab
[-AnchorName <String>]
[[-Heading] <String>]
[[-HtmlData] <ScriptBlock>]
[-IconColor <String>]
[-IconRegular <String>]
[-IconSize <Object>]
[-Name <String>]
[-TextColor <String>]
[-TextSize <Object>]
[-TextTransform <uppercase| lowercase| capitalize>]
[<CommonParameters>]#FontAwesomeRegularDescription
The New-HTMLTab function creates a new HTML tab with the specified content, heading, and icon. It supports different parameter sets for FontAwesomeBrands, FontAwesomeRegular, and FontAwesomeSolid icons.
Examples
Example 1
New-HTMLTab -HtmlData { Get-Process } -Heading "Processes" -Name "ProcessTab" -IconBrands "windows"Creates a new tab displaying the list of processes with a Windows icon.
Example 2
New-HTMLTab -HtmlData { Get-Service } -Heading "Services" -Name "ServiceTab" -IconRegular buildingCreates a new tab displaying the list of services with a hard drive icon.
Example 3
New-HTMLTab -HtmlData { Get-EventLog -LogName System } -Heading "System Events" -Name "EventTab" -IconSolid "exclamation-triangle"Creates a new tab displaying the system events log with an exclamation triangle icon.
Parameters
- -AnchorName String
- New-HTMLTab - Add text-transform
- -Heading String
- The heading or title of the tab.
- -HtmlData ScriptBlock
- The HTML content to be displayed within the tab. This should be provided as a ScriptBlock.
- -IconBrands String
- The icon to be displayed for FontAwesomeBrands. Use tab completion to select from available options.
- -IconColor String
- -IconSize Object
- -Name String
- The name of the tab.
- -TextColor String
- -TextSize Object
- -TextTransform String
- Possible values:
uppercase,lowercase,capitalize - -IconSolid String
- The icon to be displayed for FontAwesomeSolid. Use tab completion to select from available options.
- -IconRegular String
- The icon to be displayed for FontAwesomeRegular. Use tab completion to select from available options.
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.