Skip to content

Commit 0330ad7

Browse files
committed
Further updates
1 parent ebb7393 commit 0330ad7

File tree

3 files changed

+17
-9
lines changed

3 files changed

+17
-9
lines changed

teams/teams-ps/teams/Get-Team.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ This cmdlet supports retrieving teams with particular properties/information, in
1616
### Identity
1717
```
1818
Get-Team -GroupId <String> [-User <String>] [-Archived <Boolean>] [-Visibility <String>]
19-
[-DisplayName <String>] [-MailNickName <String>] [<CommonParameters>]
19+
[-DisplayName <String>] [-Alias <String>] [<CommonParameters>]
2020
```
2121

2222
### Filters
2323
```
2424
Get-Team [-User <String>] [-Archived <Boolean>] [-Visibility <String>] [-DisplayName <String>]
25-
[-MailNickName <String>] [<CommonParameters>]
25+
[-Alias <String>] [<CommonParameters>]
2626
```
2727

2828
## DESCRIPTION
@@ -37,6 +37,14 @@ Note: depending on the number of teams and O365 Groups in your organization and
3737
PS> Get-Team -User [email protected]
3838
```
3939

40+
Returns all teams that a user ([email protected]) belongs to
41+
42+
### Example 2
43+
```
44+
PS> Get-Team -Archived $true -Visibility Private
45+
```
46+
Returns all teams that are private and have been archived.
47+
4048
## PARAMETERS
4149

4250
### -User
@@ -136,8 +144,8 @@ Accept pipeline input: False
136144
Accept wildcard characters: False
137145
```
138146
139-
### -MailNickName
140-
Specify the mail nick name (also known as alias) of the team that is being returned. This is a unique identifier and returns exact match.
147+
### -Alias
148+
Specify the alias (also known as mailnickname) of the team that is being returned. This is a unique identifier and returns exact match.
141149
142150
```yaml
143151
Type: String

teams/teams-ps/teams/Get-TeamHelp.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ schema: 2.0.0
88
# Get-TeamHelp
99

1010
## SYNOPSIS
11-
Note: This cmdlet is currently in Beta.
1211

1312
Gets a list of commands for Microsoft Teams.
1413

teams/teams-ps/teams/New-Team.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ New-Team -GroupId <String> [-Owner <String>] [-AllowGiphy <Boolean>] [-GiphyCont
4040
```
4141

4242
## DESCRIPTION
43-
Creates a new team with user specified settings, and returns a Group object with a GroupID property.
43+
Creates a new team with user specified settings, and returns a Group object with a GroupID property. Note that Templates are not yet supported in our 1.0 PowerShell release.
4444

4545
## EXAMPLES
4646

@@ -51,20 +51,19 @@ New-Team -DisplayName "Tech Reads"
5151

5252
### Example 2
5353
```
54-
New-Team -DisplayName "Tech Reads" -Description "Team to post technical articles and blogs" -AccessType Public
54+
New-Team -DisplayName "Tech Reads" -Description "Team to post technical articles and blogs" -Visibility Public
5555
```
5656

5757
### Example 3
5858
```
5959
Connect-MicrosoftTeams -AccountId [email protected]
60-
$group = New-Team -alias "TestTeam" -displayname "Test Teams" -AccessType "private"
60+
$group = New-Team -alias "TestTeam" -displayname "Test Teams" -Visibility "private"
6161
Add-TeamUser -GroupId $group.GroupId -User "[email protected]"
6262
Add-TeamUser -GroupId $group.GroupId -User "[email protected]"
6363
Add-TeamUser -GroupId $group.GroupId -User "[email protected]"
6464
New-TeamChannel -GroupId $group.GroupId -DisplayName "Q4 planning"
6565
New-TeamChannel -GroupId $group.GroupId -DisplayName "Exec status"
6666
New-TeamChannel -GroupId $group.GroupId -DisplayName "Contracts"
67-
Set-TeamFunSettings -GroupId $group.GroupId -AllowCustomMemes true
6867
```
6968

7069
## PARAMETERS
@@ -136,6 +135,8 @@ Accept wildcard characters: False
136135
```
137136
138137
### -Template
138+
Note: this parameter is not supported in our 1.0 PowerShell release, only in Preview.
139+
139140
If you have an EDU license, you can use this parameter to specify which template you'd like to use for creating your group.
140141
Do not use this parameter when converting an existing group.
141142

0 commit comments

Comments
 (0)