Skip to content
Open
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
37 changes: 0 additions & 37 deletions documentation/Enable-PnPFeature.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,6 @@ This will enable the feature with the id "99a00f6e-fb81-4dc7-8eac-e09c6f9132fe"

### EXAMPLE 2
```powershell
Enable-PnPFeature -Identity 99a00f6e-fb81-4dc7-8eac-e09c6f9132fe -Force
```

This will enable the feature with the id "99a00f6e-fb81-4dc7-8eac-e09c6f9132fe" with force.

### EXAMPLE 3
```powershell
Enable-PnPFeature -Identity 99a00f6e-fb81-4dc7-8eac-e09c6f9132fe -Scope Web
```

Expand All @@ -62,20 +55,6 @@ Accept pipeline input: False
Accept wildcard characters: False
```

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

```yaml
Type: SwitchParameter
Parameter Sets: (All)

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Identity
The id of the feature to enable.

Expand All @@ -90,20 +69,6 @@ Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```

### -Sandboxed
Specify this parameter if the feature you're trying to activate is part of a sandboxed solution.

```yaml
Type: SwitchParameter
Parameter Sets: (All)

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Scope
Specify the scope of the feature to activate, either Web or Site. Defaults to Web.

Expand All @@ -119,8 +84,6 @@ Accept pipeline input: False
Accept wildcard characters: False
```



## RELATED LINKS

[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)
Expand Down
1 change: 1 addition & 0 deletions src/Commands/Features/EnableFeature.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public class EnableFeature : PnPWebCmdlet
[Parameter(Mandatory = true, Position = 0, ValueFromPipeline = true)]
public Guid Identity;

[Obsolete("The Force parameter is obsolete and will be removed in future versions. Please update your scripts accordingly.")]
[Parameter(Mandatory = false)]
public SwitchParameter Force;

Expand Down
Loading