🐛 FIX: Fix hardcoded description for new teams
Signed-off-by: Luke Tainton <luke@tainton.uk>
This commit was merged in pull request #9.
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
# RootModule = ''
|
# RootModule = ''
|
||||||
|
|
||||||
# Version number of this module.
|
# Version number of this module.
|
||||||
ModuleVersion = '2.1.1'
|
ModuleVersion = '2.1.2'
|
||||||
|
|
||||||
# Supported PSEditions
|
# Supported PSEditions
|
||||||
# CompatiblePSEditions = @()
|
# CompatiblePSEditions = @()
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ Function Import-TeamsUsers {
|
|||||||
} Elseif ($NewTeamPriv -Eq "r") {
|
} Elseif ($NewTeamPriv -Eq "r") {
|
||||||
$NewTeamVis = "Private"
|
$NewTeamVis = "Private"
|
||||||
}
|
}
|
||||||
$NewTeam = New-Team -DisplayName $NewTeamName -MailNickName $NewTeamName -Description "Testing team creation from PowerShell" -Visibility $NewTeamVis
|
$NewTeam = New-Team -DisplayName $NewTeamName -MailNickName $NewTeamName -Description $NewTeamDesc -Visibility $NewTeamVis
|
||||||
$GroupId = $NewTeam.GroupId
|
$GroupId = $NewTeam.GroupId
|
||||||
} Else {
|
} Else {
|
||||||
##### GET USER'S TEAMS #####
|
##### GET USER'S TEAMS #####
|
||||||
|
|||||||
Reference in New Issue
Block a user