The following table lists the recommended names and functionality for property parameters.
| Parameter | Functionality |
|---|---|
| Count Data type: Int32 |
Implement this parameter so that the user can specify the number of objects to be processed. |
| Description Data type: String |
Implement this parameter so that the user can specify a description for a resource. |
| From Data type: String |
Implement this parameter so that the user can specify the reference object to get information from. |
| Id Data type: Resource dependent |
Implement this parameter so that the user can specify the identifier of a resource. |
| Input Data type: String |
Implement this parameter so that the user can specify the input file specification. |
| Location Data type: String |
Implement this parameter so that the user can specify the location of the resource. |
| LogName Data type: String |
Implement this parameter so that the user can specify the name of the log file to process or use. |
| Name Data type: String |
Implement this parameter so that the user can specify the name of the resource. |
| Output Data type: String |
Implement this parameter so that the user can specify the output file. |
| Owner Data type: String |
Implement this parameter so that the user can specify the name of the owner of the resource. |
| Property Data type: String |
Implement this parameter so that the user can specify the name or the names of the properties to use. |
| Reason Data type: String |
Implement this parameter so that the user can specify why this cmdlet is being invoked. |
| Regex Data type: SwitchParameter |
Implement this parameter so that regular expressions are used when the parameter is specified. When this parameter is specified, wildcard characters are not resolved. |
| Speed Data type: Int32 |
Implement this parameter so that the user can specify the baud rate. The user sets this parameter to the speed of the resource. |
| State Data type: Keyword array |
Implement this parameter so that the user can specify the names of states, such as KEYDOWN. |
| Value Data type: Object |
Implement this parameter so that the user can specify a value to provide to the cmdlet. |
| Version Data type: String |
Implement this parameter so that the user can specify the version of the property. |
See Also
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
PowerShell