Get-GroupMembers
SYNOPSIS
SYNTAX
Get-GroupMembers [[-Path] <Object>] [<CommonParameters>]
DESCRIPTION
Get a list of Active Directory groups and the Members of those groups
EXAMPLES
EXAMPLE 1
Get-GroupMembers -Path "$env:USERPROFILE\downloads\AD Group Members.xlsx"
PARAMETERS
-Path
Specifies the export directory and filename for the report
Type: System.Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: "$env:USERPROFILE\downloads\AD Group Members.xlsx"
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
OUTPUTS
NOTES
Requires Active Directory and ImportExcel Modules