Skip to content
This repository was archived by the owner on Jan 19, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Commands/Branding/SetMinimalDownloadStrategy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ public class SetMinimalDownloadStrategy : PnPWebCmdlet

[Parameter(ParameterSetName = "Off", Mandatory = true, HelpMessage = "Turn minimal download strategy off")]
public SwitchParameter Off;

[Parameter(Mandatory = false, HelpMessage = "Specifying the Force parameter will skip the confirmation question.")]
[Parameter(Mandatory = false, HelpMessage = "Specifies whether to overwrite (when activating) or continue (when deactivating) an existing feature with the same feature identifier. This parameter is ignored if there are no errors.")]
public SwitchParameter Force;

protected override void ExecuteCmdlet()
Expand Down
2 changes: 1 addition & 1 deletion Commands/Features/DisableFeature.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class DisableFeature : PnPWebCmdlet
[Parameter(Mandatory = true, Position = 0, ParameterSetName = ParameterAttribute.AllParameterSets, HelpMessage = "The id of the feature to disable.")]
public GuidPipeBind Identity;

[Parameter(Mandatory = false, ParameterSetName = ParameterAttribute.AllParameterSets, HelpMessage = "Forcibly disable the feature.")]
[Parameter(Mandatory = false, ParameterSetName = ParameterAttribute.AllParameterSets, HelpMessage = "Specifies whether to continue if an error occurs when deactivating the feature.")]
public SwitchParameter Force;

[Parameter(Mandatory = false, HelpMessage = "Specify the scope of the feature to deactivate, either Web or Site. Defaults to Web.")]
Expand Down
2 changes: 1 addition & 1 deletion Commands/Features/EnableFeature.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class EnableFeature : PnPWebCmdlet
[Parameter(Mandatory = true, Position=0, ValueFromPipeline=true, HelpMessage = "The id of the feature to enable.")]
public GuidPipeBind Identity;

[Parameter(Mandatory = false, HelpMessage = "Forcibly enable the feature.")]
[Parameter(Mandatory = false, HelpMessage = "Specifies whether to overwrite an existing feature with the same feature identifier. This parameter is ignored if there are no errors.")]
public SwitchParameter Force;

[Parameter(Mandatory = false, HelpMessage = "Specify the scope of the feature to activate, either Web or Site. Defaults to Web.")]
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Disable-PnPFeature.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ This will disable the feature with the id "99a00f6e-fb81-4dc7-8eac-e09c6f9132fe"
## PARAMETERS

### -Force
Forcibly disable the feature.
Specifies whether to continue if an error occurs when deactivating the feature.

```yaml
Type: SwitchParameter
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Enable-PnPFeature.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ This will enable the feature with the id "99a00f6e-fb81-4dc7-8eac-e09c6f9132fe"
## PARAMETERS

### -Force
Forcibly enable the feature.
Specifies whether to overwrite an existing feature with the same feature identifier. This parameter is ignored if there are no errors.

```yaml
Type: SwitchParameter
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Set-PnPMinimalDownloadStrategy.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Will activate minimal download strategy (MDS) for the current web.
## PARAMETERS

### -Force
Specifying the Force parameter will skip the confirmation question.
Specifies whether to overwrite (when activating) or continue (when deactivating) an existing feature with the same feature identifier. This parameter is ignored if there are no errors.

```yaml
Type: SwitchParameter
Expand Down