| external help file | SPClientCore.dll-Help.xml |
|---|---|
| Module Name | SPClientCore |
| online version | |
| schema | 2.0.0 |
Retrieves one or more groups.
Get-KshGroup [-Identity] <Group> [<CommonParameters>]
Get-KshGroup [-GroupId] <Int32> [<CommonParameters>]
Get-KshGroup [-GroupTitle] <String> [<CommonParameters>]
Get-KshGroup [-NoEnumerate] [<CommonParameters>]
The Get-KshGroup cmdlet retrieves groups of the current site.
PS C:\> Get-KshGroup -GroupId 1Retrieves a group by group ID.
PS C:\> Get-KshGroup -GroupName 'Blog Owners'Retrieves a group by group title.
PS C:\> Get-KshGroupRetrieves all groups.
Specifies the group ID.
Type: Int32
Parameter Sets: ParamSet2
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies the group title.
Type: String
Parameter Sets: ParamSet3
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies the group.
Type: Group
Parameter Sets: ParamSet1
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: FalseIf specified, suppresses to enumerate objects.
Type: SwitchParameter
Parameter Sets: ParamSet4
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.