File tree Expand file tree Collapse file tree
5.1/Microsoft.PowerShell.Core/About
7.4/Microsoft.PowerShell.Core/About
7.5/Microsoft.PowerShell.Core/About
7.6/Microsoft.PowerShell.Core/About Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,12 +73,10 @@ Setting the `ParameterSetName` of a the **Parameter** attribute to
7373cases the parameter belongs to all parameter sets.
7474
7575> [ !NOTE]
76- > ` DefaultParameterSetName ` should not be explicitly set to ` __AllParameterSets ` .
77-
78- The ** CmdletBinding** attribute allows the ` DefaultParameterSetName ` to be
79- explicitly set to ` __AllParameterSets ` . This is not recommended as it causes
80- creation of an explicit parameter set which cannot be properly referenced by the
81- ** Parameter** attribute.
76+ > The ** CmdletBinding** attribute doesn't prevent you from setting the
77+ > ` DefaultParameterSetName ` to be to ` __AllParameterSets ` . If you do this,
78+ > PowerShell creates an explicit parameter set that can't be properly
79+ > referenced by the ** Parameter** attribute.
8280
8381## Examples
8482
Original file line number Diff line number Diff line change @@ -73,12 +73,10 @@ Setting the `ParameterSetName` of a the **Parameter** attribute to
7373cases the parameter belongs to all parameter sets.
7474
7575> [ !NOTE]
76- > ` DefaultParameterSetName ` should not be explicitly set to ` __AllParameterSets ` .
77-
78- The ** CmdletBinding** attribute allows the ` DefaultParameterSetName ` to be
79- explicitly set to ` __AllParameterSets ` . This is not recommended as it causes
80- creation of an explicit parameter set which cannot be properly referenced by the
81- ** Parameter** attribute.
76+ > The ** CmdletBinding** attribute doesn't prevent you from setting the
77+ > ` DefaultParameterSetName ` to be to ` __AllParameterSets ` . If you do this,
78+ > PowerShell creates an explicit parameter set that can't be properly
79+ > referenced by the ** Parameter** attribute.
8280
8381## Examples
8482
Original file line number Diff line number Diff line change @@ -73,12 +73,10 @@ Setting the `ParameterSetName` of a the **Parameter** attribute to
7373cases the parameter belongs to all parameter sets.
7474
7575> [ !NOTE]
76- > ` DefaultParameterSetName ` should not be explicitly set to ` __AllParameterSets ` .
77-
78- The ** CmdletBinding** attribute allows the ` DefaultParameterSetName ` to be
79- explicitly set to ` __AllParameterSets ` . This is not recommended as it causes
80- creation of an explicit parameter set which cannot be properly referenced by the
81- ** Parameter** attribute.
76+ > The ** CmdletBinding** attribute doesn't prevent you from setting the
77+ > ` DefaultParameterSetName ` to be to ` __AllParameterSets ` . If you do this,
78+ > PowerShell creates an explicit parameter set that can't be properly
79+ > referenced by the ** Parameter** attribute.
8280
8381## Examples
8482
Original file line number Diff line number Diff line change @@ -73,12 +73,10 @@ Setting the `ParameterSetName` of a the **Parameter** attribute to
7373cases the parameter belongs to all parameter sets.
7474
7575> [ !NOTE]
76- > ` DefaultParameterSetName ` should not be explicitly set to ` __AllParameterSets ` .
77-
78- The ** CmdletBinding** attribute allows the ` DefaultParameterSetName ` to be
79- explicitly set to ` __AllParameterSets ` . This is not recommended as it causes
80- creation of an explicit parameter set which cannot be properly referenced by the
81- ** Parameter** attribute.
76+ > The ** CmdletBinding** attribute doesn't prevent you from setting the
77+ > ` DefaultParameterSetName ` to be to ` __AllParameterSets ` . If you do this,
78+ > PowerShell creates an explicit parameter set that can't be properly
79+ > referenced by the ** Parameter** attribute.
8280
8381## Examples
8482
You can’t perform that action at this time.
0 commit comments