Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 939 Bytes

NewYmGroup.md

File metadata and controls

38 lines (25 loc) · 939 Bytes

New-YmGroup

Creates a new group in yammer. Returns the ID of the new group.

Syntax

New-YmGroup [-Name] <String> [-Description <String>] [-Private]

Returns

System.Int32

Parameters

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.

Examples

Example 1

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.

Example 2

PS:> New-YmGroup 'YammerShell Test Group' -Private

Creates a new private group with the name YammerShell Test Group.