Skip to content

Commit

Permalink
Update docs for cmdlets
Browse files Browse the repository at this point in the history
  • Loading branch information
Gautam Sheth committed Oct 19, 2024
1 parent 86f5e12 commit f8b6d9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
2 changes: 1 addition & 1 deletion documentation/Remove-PnPAvailableSiteClassification.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -Confirm
### -Force
If provided or set to $true, a confirmation will be asked before the actual remove takes place. If omitted or set to $false, it will remove the site classification(s) without asking for confirmation.
```yaml
Expand Down
18 changes: 1 addition & 17 deletions documentation/Remove-PnPUser.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,27 +47,13 @@ Remove the user with e-mail address [email protected] from the User In

### EXAMPLE 4
```powershell
Remove-PnPUser -Identity i:0#.f|membership|[email protected] -Confirm:$false
Remove-PnPUser -Identity i:0#.f|membership|[email protected] -Force:$false
```

Remove the user with LoginName i:0#.f|membership|[email protected] from the User Information List of the current site collection without asking to confirm the removal first

## PARAMETERS

### -Confirm
Specifying the Confirm parameter will allow the confirmation question to be skipped

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

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -Connection
Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

Expand Down Expand Up @@ -110,8 +96,6 @@ Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```
## RELATED LINKS
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)
Expand Down

0 comments on commit f8b6d9c

Please sign in to comment.