Project

PowerBGInfo

Generate support-ready Windows desktop and logon backgrounds from PowerShell data, charts, and topology.

Stars 312
Forks 27
PowerShell Gallery downloads 612,914
Release v2.0.3
Language: C# Updated: 2026-09-02

API Reference

Command

New-BGInfoVisualCanvas

Namespace PowerBGInfo
Inputs
None
Outputs
PowerBGInfo.BgInfoVisualCanvas

Creates a BGInfo visual canvas definition backed by ChartForgeX.

Remarks

Visual canvases render a reusable HUD-style overlay with a central title, side information boxes, and an optional feature strip.

Examples

Authored help example

EXAMPLE 1


$tiles = @(
    New-BGInfoVisualCanvasTile -Side Left -IconKind Computer -SurfaceStyle Raised -Label HOSTNAME -Value '{{HostName}}'
    New-BGInfoVisualCanvasTile -Side Right -IconKind Cpu -SurfaceStyle Raised -Label 'CPU LOAD' -Value '31% active' -MiniChartKind Area -MiniChartValues 22,28,25,36,31 -MiniChartMaximum 100
)

New-BGInfo -Target File {
    New-BGInfoVisualCanvas -Title 'PowerBGInfo' -Subtitle 'High-contrast information boxes' -Tile $tiles -TileGlassTop '#FFF7EDD9' -TileGlassBottom '#DBEAFECC' -TileValueColor '#0F172AFF'
} -FilePath .\Examples\Samples\TapC-Evotec-2560x1080.jpg -ConfigurationDirectory .\Examples\Output -OutputFileName 'PowerBGInfo.VisualCanvas.ContrastBox.jpg' -WallpaperFit Fill
        

EXAMPLE 2


New-BGInfoVisualCanvas -Title 'PowerBGInfo' -Feature $features -FeatureAnchor BottomRight -FeatureWidth 610 -FeatureOffsetX 165 -FeatureOffsetY 120
        

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-BGInfoVisualCanvas [-Accent <Object>] [-BackgroundBottom <Object>] [-BackgroundTop <Object>] [-CenterTileOffsetX <Int32>] [-CenterTileOffsetY <Int32>] [-CenterTileWidth <Int32>] [-Feature <BgInfoVisualCanvasFeature[]>] [-FeatureAnchor <TopLeft>] [-FeatureHeight <Int32>] [-FeatureOffsetX <Int32>] [-FeatureOffsetY <Int32>] [-FeatureWidth <Int32>] [-Height <Int32>] [-HeroBadgeBottom <Object>] [-HeroBadgeImageFit <Stretch|Contain|Cover|Center|Tile>] [-HeroBadgeImageOpacity <Double>] [-HeroBadgeImagePadding <Int32>] [-HeroBadgeImagePath <String>] [-HeroBadgeText <String>] [-HeroBadgeTextColor <Object>] [-HeroBadgeTop <Object>] [-LayoutPreset <Default|Compact|Comfortable|WideRails|Dense>] [-LeftTileOffsetX <Int32>] [-LeftTileOffsetY <Int32>] [-LeftTileWidth <Int32>] [-NoHeroBadge] [-NoHeroContent] [-NoTechBackdrop] [-Opaque] [-PositionX <Int32>] [-PositionY <Int32>] [-RightTileOffsetX <Int32>] [-RightTileOffsetY <Int32>] [-RightTileWidth <Int32>] [-SecondaryAccent <Object>] [-Subtitle <String>] [-SubtitleColor <Object>] [-Template <PowerBgInfoHero>] [-Tile <BgInfoVisualCanvasTile[]>] [-TileDetailColor <Object>] [-TileGap <Int32>] [-TileGlassBottom <Object>] [-TileGlassTop <Object>] [-TileHeight <Int32>] [-TileLabelColor <Object>] [-TileProgressTrackColor <Object>] [-TileTextFitPolicy <Auto|SingleLineEllipsis|Wrap|ShrinkToFit|WrapThenShrink>] [-TileValueColor <Object>] [-TileWidth <Int32>] [-Title <String>] [-TitleAccentColor <Object>] [-TitleColor <Object>] [-Width <Int32>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

Accent Object optionalposition: namedpipeline: False
Primary accent color.
BackgroundBottom Object optionalposition: namedpipeline: False
Bottom background color.
BackgroundTop Object optionalposition: namedpipeline: False
Top background color.
CenterTileOffsetX Int32 optionalposition: namedpipeline: False
Horizontal centered-lane offset in pixels. Positive values move the lane to the right.
CenterTileOffsetY Int32 optionalposition: namedpipeline: False
Vertical centered-lane offset in pixels.
CenterTileWidth Int32 optionalposition: namedpipeline: False
Default centered-lane tile width in pixels. Zero uses TileWidth or the template default.
Feature BgInfoVisualCanvasFeature[] optionalposition: namedpipeline: False
Feature strip item definitions.
FeatureAnchor BgInfoTextPosition optionalposition: namedpipeline: Falsevalues: 9
Optional feature-strip anchor. When omitted, the template keeps its default centered strip placement.
Possible values: TopLeft, TopCenter, TopRight, MiddleLeft, MiddleCenter, MiddleRight, BottomLeft, BottomCenter, BottomRight
FeatureHeight Int32 optionalposition: namedpipeline: False
Optional feature-strip height in pixels. Zero uses the template default height.
FeatureOffsetX Int32 optionalposition: namedpipeline: False
Horizontal feature-strip offset. For right anchors, positive values inset from the right edge.
FeatureOffsetY Int32 optionalposition: namedpipeline: False
Vertical feature-strip offset. For bottom anchors, positive values inset from the bottom edge.
FeatureWidth Int32 optionalposition: namedpipeline: False
Optional feature-strip width in pixels. Zero uses the template default width.
Height Int32 optionalposition: namedpipeline: False
Canvas height in pixels. Zero uses the target wallpaper height.
HeroBadgeBottom Object optionalposition: namedpipeline: False
Hero badge bottom fill color.
HeroBadgeImageFit BgInfoImageFit optionalposition: namedpipeline: Falsevalues: 5
How the hero badge image is fitted inside the badge.
Possible values: Stretch, Contain, Cover, Center, Tile
HeroBadgeImageOpacity Double optionalposition: namedpipeline: False
Hero badge image opacity from zero to one.
HeroBadgeImagePadding Int32 optionalposition: namedpipeline: False
Padding inside the hero badge image area.
HeroBadgeImagePath String optionalposition: namedpipeline: False
Optional image path rendered inside the central hero badge.
HeroBadgeText String optionalposition: namedpipeline: Falsealiases: HeroBadgeSymbol
Text rendered in the central hero badge when no image is configured.
HeroBadgeTextColor Object optionalposition: namedpipeline: False
Hero badge symbol color.
HeroBadgeTop Object optionalposition: namedpipeline: False
Hero badge top fill color.
LayoutPreset BgInfoVisualCanvasLayoutPreset optionalposition: namedpipeline: Falsevalues: 5
Responsive side-rail sizing preset.
Possible values: Default, Compact, Comfortable, WideRails, Dense
LeftTileOffsetX Int32 optionalposition: namedpipeline: False
Horizontal left side-rail offset in pixels.
LeftTileOffsetY Int32 optionalposition: namedpipeline: False
Vertical left side-rail offset in pixels.
LeftTileWidth Int32 optionalposition: namedpipeline: False
Default left side-rail tile width in pixels. Zero uses TileWidth or the template default.
NoHeroBadge SwitchParameter optionalposition: namedpipeline: False
Hide the central hero badge while keeping the title, subtitle, tiles, and feature strip.
NoHeroContent SwitchParameter optionalposition: namedpipeline: False
Hide the central hero badge, title, and subtitle while keeping tiles and the feature strip.
NoTechBackdrop SwitchParameter optionalposition: namedpipeline: False
Disable the built-in technology backdrop.
Opaque SwitchParameter optionalposition: namedpipeline: False
Render a full ChartForgeX background instead of floating over the wallpaper.
PositionX Int32 optionalposition: namedpipeline: False
Explicit X position on the generated wallpaper.
PositionY Int32 optionalposition: namedpipeline: False
Explicit Y position on the generated wallpaper.
RightTileOffsetX Int32 optionalposition: namedpipeline: False
Horizontal right side-rail inset in pixels.
RightTileOffsetY Int32 optionalposition: namedpipeline: False
Vertical right side-rail offset in pixels.
RightTileWidth Int32 optionalposition: namedpipeline: False
Default right side-rail tile width in pixels. Zero uses TileWidth or the template default.
SecondaryAccent Object optionalposition: namedpipeline: False
Secondary accent color for badge and backdrop highlights.
Subtitle String optionalposition: namedpipeline: False
Canvas subtitle text.
SubtitleColor Object optionalposition: namedpipeline: False
Subtitle text color.
Template BgInfoVisualCanvasTemplate optionalposition: namedpipeline: Falsevalues: 1
Visual canvas template.
Possible values: PowerBgInfoHero
Tile BgInfoVisualCanvasTile[] optionalposition: namedpipeline: False
Tile lane definitions.
TileDetailColor Object optionalposition: namedpipeline: False
Tile detail text color.
TileGap Int32 optionalposition: namedpipeline: False
Default vertical gap between tiles in pixels. Zero uses the template default gap.
TileGlassBottom Object optionalposition: namedpipeline: False
Glass tile bottom color.
TileGlassTop Object optionalposition: namedpipeline: False
Glass tile top color.
TileHeight Int32 optionalposition: namedpipeline: False
Default tile height in pixels. Zero uses the template default height.
TileLabelColor Object optionalposition: namedpipeline: False
Tile label text color.
TileProgressTrackColor Object optionalposition: namedpipeline: False
Tile progress track color.
TileTextFitPolicy BgInfoVisualCanvasTileTextFitPolicy optionalposition: namedpipeline: Falsevalues: 5
Default tile text fitting policy.
Possible values: Auto, SingleLineEllipsis, Wrap, ShrinkToFit, WrapThenShrink
TileValueColor Object optionalposition: namedpipeline: False
Tile value text color.
TileWidth Int32 optionalposition: namedpipeline: False
Default tile width in pixels. Zero uses the template default width.
Title String optionalposition: namedpipeline: False
Canvas title or brand text.
TitleAccentColor Object optionalposition: namedpipeline: False
Accent hero title color.
TitleColor Object optionalposition: namedpipeline: False
Primary hero title color.
Width Int32 optionalposition: namedpipeline: False
Canvas width in pixels. Zero uses the target wallpaper width.

Outputs

PowerBGInfo.BgInfoVisualCanvas