### New-ChartLine Example Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-ChartLine.md Provides a basic example of how to use the New-ChartLine cmdlet. ```powershell An example ``` -------------------------------- ### Basic Process Output to HTML Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/Out-HtmlView.md This example demonstrates the basic usage of Out-HtmlView by piping the first 5 processes to the function for HTML display. ```powershell Get-Process | Select-Object -First 5 | Out-HtmlView ``` -------------------------------- ### Install PSWriteHTML Module Source: https://github.com/evotecit/pswritehtml/blob/master/readme.md Use this command to install the PSWriteHTML module from the PowerShell Gallery. The -AllowClobber and -Force parameters can help skip potential errors during installation. ```powershell Install-Module -Name PSWriteHTML -AllowClobber -Force ``` -------------------------------- ### Create HTML Diagram with Basic Dimensions Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-HTMLDiagram.md This example demonstrates creating a new HTML diagram with specified height and width, utilizing default options for other settings. ```powershell New-HTMLDiagram -Diagram { // More diagram configuration settings } -Height 600 -Width 1000 ``` -------------------------------- ### Install PSWriteHTML from PowerShell Gallery Source: https://github.com/evotecit/pswritehtml/blob/master/Website/content/project-docs/docs/install.md Use this command to install the PSWriteHTML module for the current user from the PowerShell Gallery. Ensure you have an active internet connection. ```powershell Install-Module PSWriteHTML -Scope CurrentUser ``` -------------------------------- ### Create a Light Mode Chart Theme Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-ChartTheme.md Use this example to create a chart theme with light mode, a specific palette, a base color, and defined shading with intensity. ```powershell New-ChartTheme -Mode 'light' -Palette 'palette7' -Color 'Blue' -ShadeTo 'light' -ShadeIntensity 0.6 ``` -------------------------------- ### Create a Chart with Custom Markers Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-ChartMarker.md This example demonstrates how to create an HTML chart with custom-defined markers. It uses New-HTMLChart to generate the chart and New-ChartMarker to specify the appearance of data points. ```powershell New-HTMLChart -Title 'Incidents Reported vs Solved' -TitleAlignment center { New-ChartMarker -Size 30 -Color red -Shape square -StrokeColors yellow } ``` -------------------------------- ### Create a Time Series Chart with Customizations Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-ChartTimeLine.md Use this example to create a time series chart with a specific name, date range, color, time zone offset, and date format pattern. ```powershell New-ChartTimeLine -Name "TimeSeries1" -DateFrom (Get-Date) -DateTo (Get-Date).AddDays(7) -Color "Blue" -TimeZoneOffset "+3" -DateFormatPattern "MM/dd/yyyy HH:mm:ss" ``` -------------------------------- ### Create HTML Chart with Title, Subtitle, and Styling Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-HTMLChart.md This example demonstrates creating an HTML chart with a title, subtitle, specific dimensions, gradient colors, and a unique ID. ```powershell New-HTMLChart -Title "Sales Data" -SubTitle "Quarterly Sales" -Height 400 -Width 600 -Gradient -Id "SalesChart" ``` -------------------------------- ### Create a Spark Chart with Name and Value (Default Color) Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-ChartSpark.md This example demonstrates creating a spark chart using only the name and value parameters. The default color will be applied. ```powershell New-ChartSpark -Name "Spark2" -Value 50 Creates a new spark chart object named "Spark2" with a value of 50 using the default color. ``` -------------------------------- ### New-HTMLPanel Cmdlet Documentation Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-HTMLPanel.md This snippet details the New-HTMLPanel cmdlet, which allows for the creation of HTML panels with various styling options. It includes parameter descriptions and an example of its usage. ```APIDOC ## New-HTMLPanel ### Description Creates a new HTML panel with customizable styling options. The New-HTMLPanel function creates a new HTML panel with various styling options such as background color, width, margin, alignment, and more. ### Syntax ```powershell New-HTMLPanel [[-Content] ] [-BackgroundColor ] [-Invisible] [-Width ] [-Height ] [-Margin ] [-AlignContentText ] [-BorderRadius ] [-Density ] [-AnchorName ] [-StyleSheetsConfiguration ] [] ``` ### Parameters #### -AlignContentText Specifies the alignment of the content within the panel. - **Type**: String - **Parameter Sets**: __AllParameterSets - **Aliases**: None - **Possible values**: center, left, right, justify - **Required**: False - **Position**: named - **Default value**: None - **Accept pipeline input**: False - **Accept wildcard characters**: True #### -AnchorName Specifies the anchor name of the panel. - **Type**: String - **Parameter Sets**: __AllParameterSets - **Aliases**: None - **Possible values**: - **Required**: False - **Position**: named - **Default value**: None - **Accept pipeline input**: False - **Accept wildcard characters**: True #### -BackgroundColor Specifies the background color of the HTML panel. - **Type**: String - **Parameter Sets**: __AllParameterSets - **Aliases**: BackgroundShade - **Possible values**: - **Required**: False - **Position**: named - **Default value**: None - **Accept pipeline input**: False - **Accept wildcard characters**: True #### -BorderRadius Specifies the border radius of the panel. - **Type**: String - **Parameter Sets**: __AllParameterSets - **Aliases**: None - **Possible values**: 0px, 5px, 10px, 15px, 20px, 25px - **Required**: False - **Position**: named - **Default value**: None - **Accept pipeline input**: False - **Accept wildcard characters**: True #### -Content Specifies the content of the HTML panel as a ScriptBlock. - **Type**: ScriptBlock - **Parameter Sets**: __AllParameterSets - **Aliases**: None - **Possible values**: - **Required**: False - **Position**: 0 - **Default value**: None - **Accept pipeline input**: False - **Accept wildcard characters**: True #### -Density Specifies the density of the panel. This will automatically enable responsive wrapping for the panel. The options are: Spacious, Comfortable, Compact, Dense, VeryDense. - **Type**: String - **Parameter Sets**: __AllParameterSets - **Aliases**: None - **Possible values**: Spacious, Comfortable, Compact, Dense, VeryDense - **Required**: False - **Position**: named - **Default value**: None - **Accept pipeline input**: False - **Accept wildcard characters**: True #### -Height {{ Fill Height Description }} - **Type**: Object - **Parameter Sets**: __AllParameterSets - **Aliases**: None - **Possible values**: - **Required**: False - **Position**: named - **Default value**: None - **Accept pipeline input**: False - **Accept wildcard characters**: True #### -Invisible Indicates whether the panel should be invisible. - **Type**: SwitchParameter - **Parameter Sets**: __AllParameterSets - **Aliases**: None - **Possible values**: - **Required**: False - **Position**: named - **Default value**: False - **Accept pipeline input**: False - **Accept wildcard characters**: True #### -Margin Specifies the margin of the panel. - **Type**: String - **Parameter Sets**: __AllParameterSets - **Aliases**: None - **Possible values**: - **Required**: False - **Position**: named - **Default value**: None - **Accept pipeline input**: False - **Accept wildcard characters**: True #### -StyleSheetsConfiguration Specifies the style sheets configuration for the panel. - **Type**: IDictionary - **Parameter Sets**: __AllParameterSets - **Aliases**: None - **Possible values**: - **Required**: False - **Position**: named - **Default value**: None - **Accept pipeline input**: False - **Accept wildcard characters**: True #### -Width Specifies the width of the panel. - **Type**: String - **Parameter Sets**: __AllParameterSets - **Aliases**: flex-basis - **Possible values**: - **Required**: False - **Position**: named - **Default value**: None - **Accept pipeline input**: False - **Accept wildcard characters**: True ### Examples #### EXAMPLE 1 ```powershell New-HTMLPanel -Content { "This is the content of the panel" } -BackgroundColor "lightblue" -Width "50%" -Margin "10px" -AlignContentText "center" -BorderRadius "5px" -AnchorName "myPanel" -StyleSheetsConfiguration @{ Panel = "customPanel" } ``` Creates a new HTML panel with specified content, background color, width, margin, alignment, border radius, anchor name, and custom style sheet configuration. ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). ### Inputs - `None` ``` -------------------------------- ### Create a Dark Mode Monochrome Chart Theme Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-ChartTheme.md Use this example to create a chart theme with dark mode, a specific palette, monochrome enabled, a base color, and defined shading with intensity. ```powershell New-ChartTheme -Mode 'dark' -Palette 'palette3' -Monochrome -Color 'Red' -ShadeTo 'dark' -ShadeIntensity 0.8 ``` -------------------------------- ### Create Another Navigation Link with Nested Link Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-NavLink.md This example demonstrates creating another navigation link with a nested link, showcasing different color and href values. Useful for building out menu structures. ```powershell New-NavLink -NestedLinks { New-NavLink -Name "Sublink 2" -Href "/sublink2" } -Name "Another Link" -NameColor "red" -Href "/anotherlink" -InternalPageID "another" -IconColor "yellow" ``` -------------------------------- ### Create a basic HTML WinBox with content Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-HTMLWinBox.md This example demonstrates creating a simple HTML WinBox with a title, red background, and text content. It also shows how to set the width, height, and position using 'center' for both X and Y coordinates. ```powershell $Data = Get-Process | Select-Object -First 3 New-HTML -TitleText 'This is a test' -FilePath ".\Example-WinBox01.html" { New-HTMLWinBox -Title 'This is a test Window' -BackgroundColor Red { New-HTMLText -Text 'This is a text within modal dialog' New-HTMLTable -DataTable $Data } -Width 50% -Height 50% -X center -Y center } -Online -ShowHTML ``` -------------------------------- ### Set Gradient Start Opacity Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-ChartDesign.md Defines the opacity for the start color of the gradient. An array of numbers can be provided for different opacities per series. ```powershell New-ChartDesign -GradientOpacityFrom ``` -------------------------------- ### Create HTML Diagram with Custom Options Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-HTMLDiagram.md Use this example to create a new HTML diagram with custom configuration settings. It includes options for height, width, bundling images, setting a background image with specific sizing, disabling the loading bar, and enabling filtering with a minimum character count and a dedicated button. ```powershell New-HTMLDiagram -Diagram { // Diagram configuration settings here } -Height 500 -Width 800 -BundleImages -BackGroundImage 'https://example.com/background.jpg' -BackgroundSize 'cover' -DisableLoader -EnableFiltering -MinimumFilteringChars 2 -EnableFilteringButton ``` -------------------------------- ### Create HTML Wizard Step with FontAwesome Regular Icon Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-HTMLWizardStep.md This example demonstrates creating a wizard step with specific HTML data, a heading, a name, and a FontAwesome Regular icon. Verify the HTML file path is correct. ```powershell New-HTMLWizardStep -HtmlData { Get-Content -Path "C:\another.html" } -Heading "Step 2" -Name "Second Tab" -IconRegular "fa fa-github" ``` -------------------------------- ### VerticalLevel Parameter Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-HTMLOrgChart.md Aligns the nodes vertically starting from the specified level. ```APIDOC ## -VerticalLevel ### Description Aligns the nodes vertically starting from the specified level. ### Type Int32 ### Required False ### Default Value 0 ``` -------------------------------- ### Create a Fully Customized HTML Section Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-HTMLSection.md Use this example to create a section with all available styling options applied. It demonstrates setting text properties, background colors, dimensions, flexbox behavior, and custom styles. ```powershell New-HTMLSection -Content { "This is the content of the section." } -HeaderText "Section Title" -HeaderTextColor "blue" -HeaderTextSize "20px" -HeaderTextAlignment "center" -HeaderBackGroundColor "lightgray" -BackgroundColor "white" -CanCollapse -Height "200px" -Width "50%" -Wrap "wrap" -Direction "row" -AlignContent "center" -AlignItems "center" -JustifyContent "flex-start" -BorderRadius "10px" -AnchorName "section1" -StyleSheetsConfiguration @{ Section = 'customSection'; SectionText = 'customSectionText' } ``` -------------------------------- ### Inverse Gradient Colors Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-ChartDesign.md Inverts the start and end colors of the gradient. This option reverses the color flow of the gradient effect. ```powershell New-ChartDesign -GradientInverseColors ``` -------------------------------- ### Clone PSWriteHTML from Source Source: https://github.com/evotecit/pswritehtml/blob/master/Website/content/project-docs/docs/install.md Clone the PSWriteHTML repository from GitHub to install it from source. This is useful for development or if you need the latest unreleased features. ```bash git clone https://github.com/EvotecIT/PSWriteHTML.git ``` -------------------------------- ### Create a search builder button with minimal configuration Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-TableButtonSearchBuilder.md This example demonstrates creating a search builder button with only a name and default logic. It's suitable for basic configurations where advanced options like depth limit or greyscale are not required. ```powershell New-TableButtonSearchBuilder -ButtonName "Filter" -DefaultLogic "OR" ``` -------------------------------- ### ListIcons Parameter Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-HTMLFontIcon.md Enables listing icons for use within UL/LI elements, linking to Material Design Iconic Font examples. ```APIDOC ## -ListIcons ### Description For using within UL/LI http://zavoloklom.github.io/material-design-iconic-font/examples.html ### Type SwitchParameter ### Parameter Sets FontMaterial ### Required False ### Default Value False ``` -------------------------------- ### Define HTML Content with Set-Tag Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/Add-HTML.md Use a ScriptBlock with Set-Tag to define HTML elements and their attributes. This example creates a div element. ```powershell $HTMLContent = { Set-Tag -HtmlObject @{ Tag = 'div' Attributes = @{ 'class' = 'container' } Value = 'Hello, World!' } } ``` -------------------------------- ### Create HTML Wizard Step with FontAwesome Brands Icon Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-HTMLWizardStep.md Use this example to create a wizard step with custom HTML content, a heading, a name, and a FontAwesome Brands icon. Ensure the HTML file exists at the specified path. ```powershell New-HTMLWizardStep -HtmlData { Get-Content -Path "C:\example.html" } -Heading "Step 1" -Name "First Tab" -IconBrands "fa fa-facebook" ``` -------------------------------- ### Add Heatmap Row with Categories and Values Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-ChartHeatmap.md Use this example to add a heatmap row by specifying the name, X-axis categories, and Y-axis values. ```powershell PS > New-ChartHeatmap -Name 'Monday' -X 'AM', 'PM' -Y 12, 18 ``` -------------------------------- ### Create a Sample HTML Section with Specific Styles Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-HTMLSection.md This example creates an HTML section with a predefined content block and applies a specific set of styling parameters, including text color, size, alignment, background colors, dimensions, and flexbox properties. ```powershell $content = { "This is a sample content." } New-HTMLSection -Content $content -HeaderText "Sample Section" -HeaderTextColor "red" -HeaderTextSize "18px" -HeaderTextAlignment "left" -HeaderBackGroundColor "lightblue" -BackgroundColor "lightyellow" -Height "150px" -Wrap "nowrap" -Direction "column" -AlignContent "flex-start" -AlignItems "flex-start" -JustifyContent "center" -BorderRadius "5px" -AnchorName "sampleSection" -StyleSheetsConfiguration @{ Section = 'customSection'; SectionText = 'customSectionText' } ``` -------------------------------- ### Create a Top Navigation Bar with PSWriteHTML Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-HTMLNavTop.md Use this example to create a basic top navigation bar with navigation links, a logo, and custom colors. Ensure the logo file exists at the specified path. ```powershell New-HTMLNavTop -NavigationLinks { "Link 1", "Link 2", "Link 3" } -Logo "logo.png" -LogoLink "https://example.com" -LogoLinkHome -MenuItemsWidth '250px' -MenuColor 'Blue' -MenuColorBackground 'White' -HomeColor 'Red' -HomeColorBackground 'White' -HomeLink "https://example.com/home" -HomeLinkHome ``` -------------------------------- ### Generate HTML Table with Styles Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-HTMLTableStyle.md Generates an HTML file containing a styled table. This example demonstrates how to combine New-HTMLTableStyle with New-HTMLTable and other PSWriteHTML cmdlets. ```powershell New-HTML -ShowHTML -HtmlData { New-HTMLTable -DataTable $table -HideButtons { } -DisablePaging } -FilePath $PSScriptRoot\Example7_TableStyle.html -Online ``` -------------------------------- ### Set Tab Panel Colors Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-HTMLTabPanelColor.md Use this example to set the background color, border color, and default anchor colors for an HTML tab panel. ```powershell Set-HTMLTabPanelColor -BackgrounColor '#f0f0f0' -BorderColor '#cccccc' -AnchorDefaultPrimaryColor '#333333' ``` -------------------------------- ### Create a Styled HTML Panel Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-HTMLPanel.md Use this example to create a basic HTML panel with custom styling. Specify content, background color, width, margin, text alignment, border radius, an anchor name, and custom stylesheet configuration. ```powershell New-HTMLPanel -Content { "This is the content of the panel" } -BackgroundColor "lightblue" -Width "50%" -Margin "10px" -AlignContentText "center" -BorderRadius "5px" -AnchorName "myPanel" -StyleSheetsConfiguration @{ Panel = "customPanel" } ``` -------------------------------- ### Create a search builder button with specific configurations Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-TableButtonSearchBuilder.md Use this example to create a search builder button with a specified name, depth limit, default logic, and greyscale option. This is useful when you need fine-grained control over the search builder's appearance and behavior. ```powershell New-TableButtonSearchBuilder -ButtonName "Search" -DepthLimit 3 -DefaultLogic "AND" -GreyScale ``` -------------------------------- ### Create a Basic Status Item Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-HTMLStatusItem.md This example demonstrates the simplest usage of New-HTMLStatusItem to create a status item with a name. Further customization can be applied using other parameters. ```powershell New-HTMLStatusItem -Name 'Name' ``` -------------------------------- ### Add HTML Content to Email Body Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/Add-HTML.md Pass the defined HTML ScriptBlock to the Add-HTML cmdlet to include it in the email body. This example adds a div. ```powershell Add-HTML -HTML $HTMLContent ``` -------------------------------- ### New-NavTopMenu Parameters Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-NavTopMenu.md This snippet outlines the parameters available for the New-NavTopMenu cmdlet, including their types, requirements, and descriptions. ```APIDOC ## New-NavTopMenu ### Description Creates a navigation top menu item. ### Parameters #### Path Parameters - **-InternalPageID** (String) - Optional - Specifies the internal page ID associated with the menu item. - **-MenuItem** (ScriptBlock) - Optional - Specifies the script block defining the menu item properties. - **-Name** (String) - Required - Specifies the name of the menu item. - **-PullLeft** (SwitchParameter) - Optional - Used for left alignment in FontMaterial parameter set. - **-PullRight** (SwitchParameter) - Optional - Used for right alignment in FontMaterial parameter set. - **-Rotate** (String) - Optional - Specifies the rotation for FontMaterial icons. Possible values: 90, 180, 270. - **-Spinning** (SwitchParameter) - Optional - Enables spinning animation for FontMaterial icons. - **-SpinningReverse** (SwitchParameter) - Optional - Enables reverse spinning animation for FontMaterial icons. ### Common Parameters Supports common parameters like -Debug, -ErrorAction, -Verbose, etc. ``` -------------------------------- ### Add Scatter Series to Chart Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-ChartScatter.md Use this example to add a scatter series named 'Samples' with specified X and Y data points and a purple color to a chart. ```powershell PS > New-ChartScatter -Name 'Samples' -X 1, 2, 3 -Y 10, 25, 18 -Color Purple ``` -------------------------------- ### Save HTML Content to File and Display Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/Save-HTML.md Saves generated HTML content to a file and opens it in the default browser. This example demonstrates creating a disclaimer and saving it. ```powershell $Company = 'Evotec' $Text = @" This email is from Evotec. It may contain confidential information. It is intended for the addressee only and may not be copied or disclosed to any third party without our permission. If you are not the intended recipient please contact the sender as soon as possible and delete the material from any computer. If this email has been sent as a personal message to the addressee, the sender is not acting in his/her capacity as an employee or officer of $Company Limited and no liability is accepted for the content of any such email. Outgoing email may be monitored for the purpose of ensuring compliance with our email policy and relevant laws "@ $HTML = New-HTMLText -FontSize 10 -FontFamily 'Source Sans Pro' -Text $Text Save-HTML -FilePath $PSScriptRoot\Disclaimer.html -HTML $HTML -ShowHTML ``` -------------------------------- ### Configure HTML Table Options and Generate Table Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-HTMLTableOption.md This example demonstrates how to configure table options like DateTimeFormat and BoolAsString, and then use these options when generating an HTML table within a PSWriteHTML structure. It shows two tables with the same data but different DataStore settings. ```powershell New-HTML { New-HTMLTableOption -DateTimeFormat "yyyy-MM-dd HH:mm:ss" -BoolAsString New-HTMLSection -Invisible { New-HTMLSection -HeaderText 'Standard Table with PSCustomObjects' { New-HTMLTable -DataTable $DataTable1 } New-HTMLSection -HeaderText 'Standard Table with PSCustomObjects' { New-HTMLTable -DataTable $DataTable1 -DataStore JavaScript } } } -ShowHTML ``` -------------------------------- ### Create a New HTML Carousel Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-HTMLCarousel.md This example demonstrates how to create a fully configured HTML carousel with various options including slide content, mode, alignment, per-view settings, dimensions, looping, pagination, speed, autoplay, and custom arrow/count templates. Use this to build complex carousels with specific visual and interactive requirements. ```powershell New-HTMLCarousel -Slide { "Slide Content Here" } -Mode Horizontal -Align center -PerView 3 -Height adaptive -Margin '10px' -Loop -Pagination -Speed 500 -MoveBy 1 -StartAt 0 -MoveOnClick -AutoPlay -AutoPlayEvery 3000 -AutoPlayRewind -AutoPlayPauseOnFocus -AutoPlayPauseOnHover -AutoPlaySyncID 'carousel1' -DisableArrows -ArrowTemplate @('left-arrow', 'right-arrow') -PaginationTemplate 'index' -Count -CountTemplate 'Slide {index} of {total}' ``` -------------------------------- ### Create a Linkable Document Node - PowerShell Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-HTMLTreeNode.md This example demonstrates creating a tree node that acts as a hyperlink. Specify the URL with -HrefLink and the target window with -Target. ```powershell New-HTMLTreeNode -Title "Document" -Id "doc1" -HrefLink "https://example.com" -Target "_blank" ``` -------------------------------- ### Create Table Footer with ValueByColumn Source: https://github.com/evotecit/pswritehtml/blob/master/Docs/New-TableFooter.md This example demonstrates how to create a table footer using the ValueByColumn parameter, assigning values by column name. It also shows how to apply styling like bold font weight. ```powershell PS > New-HTMLTable -DataTable $Data { New-TableFooter -ValueByColumn @{ Name = 'Total'; Amount = 42 } -FontWeight bold } ```