Skip to content

New-PWFCard

Description

Create a card wich can contains differents types of data.

SYNTAX

New-PWFCard -Content <scriptblock> [-BackgroundColor <string>]

EXAMPLES

EXAMPLE 1

New-PWFCard -Content { ... } -BackgroundColor "#f9fafb"

EXAMPLE 2

New-PWFCard -Content { ... }

PARAMETERS

-Content

The content of the card.

Type: Scriptblock
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-BackgroundColor

An hexadecimal color with sharp.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False