< Back

Add-Button

Mon Jan 13, 2020 2:36 am

NAME Add-Button



SYNOPSIS





SYNTAX

Add-Button [[-Title] <String>] [-Class] <String> [-ButtonText] <String> [-ButtonValue] <String> [-ID] <String>

[-Name] <String> [[-OnClick] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Adds Button Element





PARAMETERS

-Title <String>

Title, used for comment



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Class <String>

class to determine color



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ButtonText <String>

Text of the Button



Required? true

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ButtonValue <String>

Value to identify the button



Required? true

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ID <String>

ID for Button Action



Required? true

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Name <String>

Reference name for button Action



Required? true

Position? 6

Default value

Accept pipeline input? false

Accept wildcard characters? false



-OnClick <String>

Description of action to perform when pressed.



Required? false

Position? 7

Default value

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

System.String



System.Boolean





NOTES





No notes at this time.



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Add-Button -Title MyCard -Class btn-success -OnClick '' -ButtonText MyButton -ButtonValue 'Button01' -ID

'thisButton' -Name 'Button001'















RELATED LINKS