File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Note: This cmdlet is currently in Beta and functionality may change.
18
18
19
19
```
20
20
New-Team [-Group <String>] [-DisplayName <String>] [-Description <String>] [-Alias <String>]
21
- [-Classification <String>] [-AccessType <String>] [-AddCreatorAsMember <Boolean>] [<CommonParameters>]
21
+ [-Classification <String>] [-Visibility <String>] [-AddCreatorAsMember <Boolean>] [<CommonParameters>]
22
22
```
23
23
24
24
## DESCRIPTION
@@ -33,13 +33,13 @@ New-Team -DisplayName "Tech Reads"
33
33
34
34
### Example 2
35
35
```
36
- New-Team -DisplayName "Tech Reads" -Description "Team to post technical articles and blogs" -AccessType Public
36
+ New-Team -DisplayName "Tech Reads" -Description "Team to post technical articles and blogs" -Visibility Public
37
37
```
38
38
39
39
### Example 3
40
40
```
41
41
Connect-MicrosoftTeams -AccountId [email protected]
42
- $group = New-Team -alias "TestTeam" -displayname "Test Teams" -AccessType "private"
42
+ $group = New-Team -alias "TestTeam" -displayname "Test Teams" -Visibility "private"
43
43
Add-TeamUser -GroupId $group.GroupId -User "[email protected] "
44
44
Add-TeamUser -GroupId $group.GroupId -User "[email protected] "
45
45
Add-TeamUser -GroupId $group.GroupId -User "[email protected] "
@@ -51,8 +51,8 @@ Set-TeamFunSettings -GroupId $group.GroupId -AllowCustomMemes true
51
51
52
52
## PARAMETERS
53
53
54
- ### -AccessType
55
- Team access type .
54
+ ### -Visibility
55
+ Team visibility .
56
56
Valid values are "Private" and "Public".
57
57
Default is "Private".
58
58
(This parameter has the same meaning as -AccessType in New-UnifiedGroup.)
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Updates a team.
18
18
19
19
```
20
20
Set-Team -GroupId <String> [-DisplayName <String>] [-Description <String>] [-Alias <String>]
21
- [-Classification <String>] [-AccessType <String>]
21
+ [-Classification <String>] [-Visibility <String>]
22
22
```
23
23
24
24
## DESCRIPTION
@@ -27,7 +27,7 @@ Set-Team -GroupId <String> [-DisplayName <String>] [-Description <String>] [-Ali
27
27
28
28
### -------------------------- Example 1 --------------------------
29
29
```
30
- Set-Team -GroupId 2f162b0e-36d2-4e15-8ba3-ba229cecdccf -DisplayName "Updated TeamName" -AccessType Public
30
+ Set-Team -GroupId 2f162b0e-36d2-4e15-8ba3-ba229cecdccf -DisplayName "Updated TeamName" -Visibility Public
31
31
```
32
32
33
33
## PARAMETERS
@@ -115,8 +115,8 @@ Accept pipeline input: False
115
115
Accept wildcard characters : False
116
116
` ` `
117
117
118
- ### -AccessType
119
- Team access type .
118
+ ### -Visibility
119
+ Team visibility .
120
120
Valid values are "Private" and "Public"
121
121
122
122
` ` ` yaml
You can’t perform that action at this time.
0 commit comments