API Reference
New-HTMLTab
Creates a new HTML tab with customizable content and icons.
Remarks
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 building
Creates 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.
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-HTMLTab [-AnchorName <String>] [-Heading <String>] [-HtmlData <ScriptBlock>] [-IconBrands <String>] [-IconColor <String>] [-IconSize <Object>] [-Name <String>] [-TextColor <String>] [-TextSize <Object>] [-TextTransform <uppercase|lowercase|capitalize>] [<CommonParameters>]
#
FontAwesomeBrandsParameters
- 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
New-HTMLTab [-AnchorName <String>] [-Heading <String>] [-HtmlData <ScriptBlock>] [-IconColor <String>] [-IconSize <Object>] [-IconSolid <String>] [-Name <String>] [-TextColor <String>] [-TextSize <Object>] [-TextTransform <uppercase|lowercase|capitalize>] [<CommonParameters>]
#
FontAwesomeSolidParameters
- 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.
- IconColor String
- IconSize Object
- IconSolid String
- The icon to be displayed for FontAwesomeSolid. Use tab completion to select from available options.
- Name String
- The name of the tab.
- TextColor String
- TextSize Object
- TextTransform String
- Possible values:
uppercase,lowercase,capitalize
New-HTMLTab [-AnchorName <String>] [-Heading <String>] [-HtmlData <ScriptBlock>] [-IconColor <String>] [-IconRegular <String>] [-IconSize <Object>] [-Name <String>] [-TextColor <String>] [-TextSize <Object>] [-TextTransform <uppercase|lowercase|capitalize>] [<CommonParameters>]
#
FontAwesomeRegularParameters
- 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.
- IconColor String
- IconRegular String
- The icon to be displayed for FontAwesomeRegular. Use tab completion to select from available options.
- IconSize Object
- Name String
- The name of the tab.
- TextColor String
- TextSize Object
- TextTransform String
- Possible values:
uppercase,lowercase,capitalize