< Back
Get-ActiveDirectoryUserGroupMembershipHistory
Post
NAME Get-ActiveDirectoryUserGroupMembershipHistory
SYNOPSIS
Get the group membership history of an account
SYNTAX
Get-ActiveDirectoryUserGroupMembershipHistory [-Username] <String> [[-Group] <String>] [[-Server] <String>]
[<CommonParameters>]
DESCRIPTION
Get the addition history of a user regarding security groups. This cmdlet only displays the groups that the user
is member of and only the date when the user was originaly added.
PARAMETERS
-Username <String>
The username of the user.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Group <String>
The name of the group
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Server <String>
Required? false
Position? 3
Default value $env:COMPUTERNAME
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-ADUserGroupMembershipHistory -Username myuser -Group mygroup
This will return the memberhip additions of the myuser group to and from the mygroup group.
RELATED LINKS
SYNOPSIS
Get the group membership history of an account
SYNTAX
Get-ActiveDirectoryUserGroupMembershipHistory [-Username] <String> [[-Group] <String>] [[-Server] <String>]
[<CommonParameters>]
DESCRIPTION
Get the addition history of a user regarding security groups. This cmdlet only displays the groups that the user
is member of and only the date when the user was originaly added.
PARAMETERS
-Username <String>
The username of the user.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Group <String>
The name of the group
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Server <String>
Required? false
Position? 3
Default value $env:COMPUTERNAME
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-ADUserGroupMembershipHistory -Username myuser -Group mygroup
This will return the memberhip additions of the myuser group to and from the mygroup group.
RELATED LINKS