Cmdlet Parameters
Cmdlet parameters provide the mechanism that allows a cmdlet to accept input. Parameters can accept input directly from the command line, or from objects passed to the cmdlet through the pipeline, The arguments (also known as values) of these parameters can specify the input that the cmdlet accepts, how the cmdlet should perform its actions, and the data that the cmdlet returns to the pipeline.
In This Section
Declaring Properties as Parameters Provides basic information you must understand before you declare the parameters of a cmdlet.
Types of Cmdlet Parameters Describes the different types of parameters that you can declare in cmdlets.
Cmdlet Parameter Name and Functionality Guidelines Discusses the names, recommended data type, and functionality of standard parameters.
Parameter Aliases Discusses the aliases that you can define for parameters.
Common Parameter Names This topic describes the parameters that Windows PowerShell adds to cmdlets.
Cmdlet Parameter Sets Discusses how parameter sets enable you to write a single cmdlet that can perform different actions for different scenarios.
Cmdlet Dynamic Parameters Discusses parameters that are available to the user under special conditions.
Supporting Wildcard Characters in Cmdlet Parameters Describes how to provide support for wildcard characters when you design a cmdlet that will be run against a group of resources.
Validating Parameter Input Describes how Windows PowerShell validates the arguments passed to cmdlet parameters.
Input Filter Parameters
Discusses the Filter
, Include
, and Exclude
parameters that filter the set of input objects that the cmdlet affects.
Related Sections
How to Validate Parameter Input
See Also
PowerShell
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기