New-HTMLWinBox
SYNOPSIS
Short description
SYNTAX
New-HTMLWinBox [[-HTML] <ScriptBlock>] [[-Title] <String>] [[-BackgroundColor] <String>] [[-Index] <Int32>]
[[-Border] <String>] [[-Height] <String>] [[-Width] <String>] [[-X] <String>] [[-Y] <String>]
[[-Top] <String>] [[-Right] <String>] [[-Bottom] <String>] [[-Left] <String>] [[-Url] <Uri>] [-Modal]
[-Maximize] [[-Theme] <String>] [-NoAnimation] [-NoShadow] [-NoHeader] [-NoMinmizeIcon] [-NoMaximizeIcon]
[-NoFullScreenIcon] [-NoCloseIcon] [-NoResizeCapability] [-NoMoveCapability] [<CommonParameters>]
DESCRIPTION
Long description
EXAMPLES
EXAMPLE 1
$Data = Get-Process | Select-Object -First 3
New-HTML -TitleText 'This is a test' -FilePath "$PSScriptRoot\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
PARAMETERS
-HTML
Parameter description
Type: System.Management.Automation.ScriptBlock
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Title
The window title.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-BackgroundColor
Set the background color for the title
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Index
Set the initial z-index of the window to this value (could be increased automatically when unfocused/focused).
Type: System.Nullable`1[System.Int32]
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Border
Set the border width of the window (supports all css units, like px, %, em, rem, vh, vmax).
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Height
Set the initial width/height of the window (supports units "px" and "%").
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Width
Set the initial width/height of the window (supports units "px" and "%").
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: 7
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-X
Set the initial position of the window (supports: "right" for x-axis, "bottom" for y-axis, "center" for both, units "px" and "%" for both).
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: 8
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Y
Set the initial position of the window (supports: "right" for x-axis, "bottom" for y-axis, "center" for both, units "px" and "%" for both).
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: 9
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Top
Set or limit the viewport of the window's available area (supports units "px" and "%").
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: 10
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Right
Set or limit the viewport of the window's available area (supports units "px" and "%").
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: 11
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Bottom
Set or limit the viewport of the window's available area (supports units "px" and "%").
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: 12
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Left
Set or limit the viewport of the window's available area (supports units "px" and "%").
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: 13
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Url
Open URL inside the window (loaded via iframe).
Type: System.Uri
Parameter Sets: (All)
Aliases: Uri
Required: False
Position: 14
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Modal
Shows the window as modal.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-Maximize
Automatically toggles the window into maximized state when created.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-Theme
{{ Fill Theme Description }}
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: 15
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-NoAnimation
Disables the windows transition animation
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-NoShadow
Disables the windows drop shadow
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-NoHeader
Hide the window header incl. title and toolbar
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-NoMinmizeIcon
Hide the minimize icon
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-NoMaximizeIcon
Hide the maximize icon
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-NoFullScreenIcon
Hide the fullscreen icon
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-NoCloseIcon
Hide the close icon
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-NoResizeCapability
Disables the window resizing capability
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-NoMoveCapability
Disables the window moving capability
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
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.
INPUTS
OUTPUTS
NOTES
General notes