New-GocsParameter
SYNOPSIS
{{Fill in the Synopsis}}
SYNTAX
New-GocsParameter [-Description] <String> [-Key] <String> [[-DefaultValue] <String>] [[-Widget] <WidgetEnum>]
[-Required] [-Hidden] [-Hint <String>] [<CommonParameters>]
DESCRIPTION
{{Fill in the Description}}
EXAMPLES
Example 1
PS C:\> {{ Add example code here }}
{{ Add example description here }}
PARAMETERS
-DefaultValue
{{Fill DefaultValue Description}}
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Description
{{Fill Description Description}}
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Hidden
{{Fill Hidden Description}}
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Hint
{{ Fill Hint Description }}
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Key
{{Fill Key Description}}
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Required
{{Fill Required Description}}
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Widget
{{Fill Widget Description}}
Widget Type | Description |
---|---|
TextBox | Plain text box that accepts strings. |
Numeric | Numeric box that accepts negative or positive integers. |
CheckBox | A boolean check box. |
OpenFile | Text box and a browse button to select a file from file system. |
SaveFile | Text box and a browse button to select a location to save a file. |
Password | A password text box. |
OpenFolder | A text box and a browse button to select a directory. |
Database | A field to select a database instance, database and to provide a user and password. |
OpenDatabase | A field to select a database instance, database and to provide a user and password. Database must exists. |
NewDatabase | A field to select a database instance, database and to provide a user and password. Database must not exists. |
Type: WidgetEnum
Parameter Sets: (All)
Aliases:
Accepted values: TextBox, Password, Numeric, CheckBox, Database, OpenFile, SaveFile, OpenFolder, OpenDatabase, NewDatabase
Required: False
Position: 4
Default value: None
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.