The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Cmdlet.OptionalCommonParameters Property


Updated: April 27, 2016

Applies To: Windows PowerShell

Lists the common parameters that are added by the PowerShell engine when a cmdlet defines additional capabilities (SupportsShouldProcess, SupportsTransactions). Introduced in Windows PowerShell 4.0.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

Public Shared ReadOnly Property OptionalCommonParameters As HashSet(Of String)

Property Value

Type: System.Collections.Generic.HashSet(Of String)

Returns HashSet(Of T).

Return to top

Community Additions