Get-AADGroupMember
SYNOPSIS
Returns the members for the given Group
SYNTAX
Get-AADGroupMember [-Group] <Object[]> [[-BaseUrl] <String>] [[-APIVersion] <String>]
[[-ResultsPerPage] <Int32>] [-WhatIf] [-Confirm]
DESCRIPTION
Returns the members for the given Group
EXAMPLES
-------------------------- EXAMPLE 1 --------------------------
$AADGroupMembers = $AADGroup | Get-AADGroupMembers
PARAMETERS
-Group
A MSGraphAPI.DirectoryObject.Group object retruned by Get-AADGroup* cmdlets
Type: Object[]
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
-BaseUrl
The Azure AD Graph Base URL. This is not required. Deafult https://graph.windows.net
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: Https://graph.windows.net
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-APIVersion
version of the API to use. Default is 1.6
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: 1.6
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-ResultsPerPage
The number of results to request from the API per call. This is the '$top' API query filter. Default is 100. Valid Range is 1-999.
This will not limit the number of resutls retruned by the command.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: 100
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
INPUTS
MSGraphAPI.DirectoryObject.Group
OUTPUTS
MSGraphAPI.DirectoryObject.User
NOTES
Additional information about the function.
RELATED LINKS
http://psmsgraph.readthedocs.io/en/latest/functions/Get-AADGroupMember
http://psmsgraph.readthedocs.io/en/latest/functions/Get-AADGroupByID
http://psmsgraph.readthedocs.io/en/latest/functions/Get-AADGroupByDisplayName