Returns the parameters of the specified cmdlet.
Get-CommandParameters.ps1 [-CommandName] <String> [-ParameterSet <String>] [-NamesOnly] [-IncludeCommon]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-CommandParameters.ps1 Write-Verbose
Name : Message ParameterType : System.String ParameterSets : {[__AllParameterSets, System.Management.Automation.ParameterSetMetadata]} IsDynamic : False Aliases : {Msg} Attributes : {, System.Management.Automation.AllowEmptyStringAttribute, System.Management.Automation.AliasAttribute} SwitchParameter : False
Get-CommandParameters.ps1 Out-Default -NamesOnly
Transcript InputObject
The name of a cmdlet.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The name of a parameter set defined by the cmdlet.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Return only the parameter names (otherwise)
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Includes common parameters such as -Verbose and -WhatIf.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.