Skip to content

Commit 09537ee

Browse files
committed
update documentation
1 parent 717eb86 commit 09537ee

File tree

4 files changed

+6
-90
lines changed

4 files changed

+6
-90
lines changed

documentation/Add-PnPAzureADGroupMember.md

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ Adds members to a particular Azure Active Directory Group. This can be a securit
2020
## SYNTAX
2121

2222
```powershell
23-
Add-PnPAzureADGroupMember -Identity <AzureADGroupPipeBind> -Users <String[]> [-RemoveExisting] [-Connection <PnPConnection>]
23+
Add-PnPAzureADGroupMember -Identity <AzureADGroupPipeBind> -Users <String[]> [-Connection <PnPConnection>]
2424
```
2525

2626
## DESCRIPTION
2727

28-
Allows to add users to Azure Active Directory Group. This can be a security, distribution or Microsoft 365 group. By specifying `-RemoveExisting` option it is possible to first clear the group of all existing members.
28+
Allows to add users to Azure Active Directory Group. This can be a security, distribution or Microsoft 365 group.
2929

3030
## EXAMPLES
3131

@@ -38,13 +38,6 @@ Adds the provided two users as additional members to the Azure Active Directory
3838

3939
### EXAMPLE 2
4040
```powershell
41-
Add-PnPAzureADGroupMember -Identity "Project Team" -Users "john@contoso.onmicrosoft.com","jane@contoso.onmicrosoft.com" -RemoveExisting
42-
```
43-
44-
Sets the provided two users as the only members of the Azure Active Directory group named "Project Team" by removing any current existing members first.
45-
46-
### EXAMPLE 3
47-
```powershell
4841
Add-PnPAzureADGroupMember -Identity "Project Team" -Users "125eaa87-7b54-41fd-b30f-2adfa68c4afe"
4942
```
5043

@@ -79,20 +72,6 @@ Accept pipeline input: True (ByValue)
7972
Accept wildcard characters: False
8073
```
8174
82-
### -RemoveExisting
83-
If provided, all existing members will be removed and only those provided through Users will become members.
84-
85-
```yaml
86-
Type: SwitchParameter
87-
Parameter Sets: (All)
88-
89-
Required: False
90-
Position: Named
91-
Default value: None
92-
Accept pipeline input: False
93-
Accept wildcard characters: False
94-
```
95-
9675
### -Users
9776
The UPN(s) of the user(s) to add to the Azure Active Directory group as a member.
9877

documentation/Add-PnPAzureADGroupOwner.md

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ Adds users to the owners of an Azure Active Directory group. This can be a secur
2020
## SYNTAX
2121

2222
```powershell
23-
Add-PnPAzureADGroupOwner -Identity <AzureADGroupPipeBind> -Users <String[]> [-RemoveExisting] [-Connection <PnPConnection>]
23+
Add-PnPAzureADGroupOwner -Identity <AzureADGroupPipeBind> -Users <String[]> [-Connection <PnPConnection>]
2424
```
2525

2626
## DESCRIPTION
2727

28-
Allows to add users to owners of an Azure Active Directory Group. This can be a security, distribution or Microsoft 365 group. By specifying `-RemoveExisting` option it is possible to first clear the group of all existing members.
28+
Allows to add users to owners of an Azure Active Directory Group. This can be a security, distribution or Microsoft 365 group.
2929

3030
## EXAMPLES
3131

@@ -38,13 +38,6 @@ Adds the provided two users as additional owners to the Azure Active Directory g
3838

3939
### EXAMPLE 2
4040
```powershell
41-
Add-PnPAzureADGroupOwner -Identity "Project Team" -Users "john@contoso.onmicrosoft.com","jane@contoso.onmicrosoft.com" -RemoveExisting
42-
```
43-
44-
Sets the provided two users as the only owners of the Azure Active Directory group named "Project Team" by removing any current existing members first.
45-
46-
### EXAMPLE 3
47-
```powershell
4841
Add-PnPAzureADGroupOwner -Identity "Project Team" -Users "125eaa87-7b54-41fd-b30f-2adfa68c4afe"
4942
```
5043

@@ -79,20 +72,6 @@ Accept pipeline input: True (ByValue)
7972
Accept wildcard characters: False
8073
```
8174
82-
### -RemoveExisting
83-
If provided, all existing members will be removed and only those provided through Users will become members.
84-
85-
```yaml
86-
Type: SwitchParameter
87-
Parameter Sets: (All)
88-
89-
Required: False
90-
Position: Named
91-
Default value: None
92-
Accept pipeline input: False
93-
Accept wildcard characters: False
94-
```
95-
9675
### -Users
9776
The UPN(s) of the user(s) to add to the Azure Active Directory group as a member.
9877

documentation/Add-PnPMicrosoft365GroupMember.md

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Adds members to a particular Microsoft 365 Group.
2020
## SYNTAX
2121

2222
```powershell
23-
Add-PnPMicrosoft365GroupMember -Identity <Microsoft365GroupPipeBind> -Users <String[]> [-RemoveExisting] [-Connection <PnPConnection>]
23+
Add-PnPMicrosoft365GroupMember -Identity <Microsoft365GroupPipeBind> -Users <String[]> [-Connection <PnPConnection>]
2424
```
2525

2626
## DESCRIPTION
@@ -36,13 +36,6 @@ Add-PnPMicrosoft365GroupMember -Identity "Project Team" -Users "john@contoso.onm
3636

3737
Adds the provided two users as additional members to the Microsoft 365 Group named "Project Team".
3838

39-
### EXAMPLE 2
40-
```powershell
41-
Add-PnPMicrosoft365GroupMember -Identity "Project Team" -Users "john@contoso.onmicrosoft.com","jane@contoso.onmicrosoft.com" -RemoveExisting
42-
```
43-
44-
Sets the provided two users as the only members of the Microsoft 365 Group named "Project Team" by removing any current existing members first.
45-
4639
## PARAMETERS
4740

4841
### -Connection
@@ -73,20 +66,6 @@ Accept pipeline input: True (ByValue)
7366
Accept wildcard characters: False
7467
```
7568
76-
### -RemoveExisting
77-
If provided, all existing members will be removed and only those provided through Users will become members.
78-
79-
```yaml
80-
Type: SwitchParameter
81-
Parameter Sets: (All)
82-
83-
Required: False
84-
Position: Named
85-
Default value: None
86-
Accept pipeline input: False
87-
Accept wildcard characters: False
88-
```
89-
9069
### -Users
9170
The UPN(s) of the user(s) to add to the Microsoft 365 Group as a member.
9271

documentation/Add-PnPMicrosoft365GroupOwner.md

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Adds users to a Microsoft 365 Group as Owners.
2020
## SYNTAX
2121

2222
```powershell
23-
Add-PnPMicrosoft365GroupOwner -Identity <Microsoft365GroupPipeBind> -Users <String[]> [-RemoveExisting] [-Connection <PnPConnection>]
23+
Add-PnPMicrosoft365GroupOwner -Identity <Microsoft365GroupPipeBind> -Users <String[]> [-Connection <PnPConnection>]
2424
```
2525

2626
## DESCRIPTION
@@ -36,13 +36,6 @@ Add-PnPMicrosoft365GroupOwner -Identity "Project Team" -Users "john@contoso.onmi
3636

3737
Adds the provided two users as additional owners to the Microsoft 365 Group named "Project Team".
3838

39-
### EXAMPLE 2
40-
```powershell
41-
Add-PnPMicrosoft365GroupOwner -Identity "Project Team" -Users "john@contoso.onmicrosoft.com","jane@contoso.onmicrosoft.com" -RemoveExisting
42-
```
43-
44-
Sets the provided two users as the only owners of the Microsoft 365 Group named "Project Team" by removing any current existing members first.
45-
4639
## PARAMETERS
4740

4841
### -Connection
@@ -73,20 +66,6 @@ Accept pipeline input: True (ByValue)
7366
Accept wildcard characters: False
7467
```
7568
76-
### -RemoveExisting
77-
If provided, all existing owners will be removed and only those provided through Users parameter will become owners.
78-
79-
```yaml
80-
Type: SwitchParameter
81-
Parameter Sets: (All)
82-
83-
Required: False
84-
Position: Named
85-
Default value: None
86-
Accept pipeline input: False
87-
Accept wildcard characters: False
88-
```
89-
9069
### -Users
9170
The UPN(s) of the user(s) to add to the Microsoft 365 Group as an owner.
9271

0 commit comments

Comments
 (0)