Creates a new group in yammer. Returns the ID of the new group.
New-YmGroup [-Name] <String> [-Description <String>] [-Private]
System.Int32
Parameter | Type | Required | Description |
---|---|---|---|
Name | String | true | The name of the new group |
Description | String | false | The description of the new group. |
Private | SwitchParameter | false | Whether the new group should be private. |
PS:> $groupId = New-YmGroup 'Business Administration' -Description 'This is a group for the team Business Administration!'
Creates a new group with the name Business Administration and a description. The ID gets saved in $groupId.
PS:> New-YmGroup 'YammerShell Test Group' -Private
Creates a new private group with the name YammerShell Test Group.