< Back
Get-ADGroupMembershipChangeSummary
Post
NAME Get-ADGroupMembershipChangeSummary
SYNOPSIS
Finds all of the group membership changes in the logs on all of the domain controllers in a domain.
SYNTAX
Get-ADGroupMembershipChangeSummary [[-DaysAgo] <Int32>] [[-Domain] <String>] [-Credential <PSCredential>]
[<CommonParameters>]
Get-ADGroupMembershipChangeSummary [[-DaysAgo] <Int32>] [[-Domain] <String>] [-AsJson] [-Credential
<PSCredential>] [<CommonParameters>]
Get-ADGroupMembershipChangeSummary [[-DaysAgo] <Int32>] [[-Domain] <String>] [-AsXml] [-Credential <PSCredential>]
[<CommonParameters>]
Get-ADGroupMembershipChangeSummary [[-DaysAgo] <Int32>] [[-Domain] <String>] [-AsHtml] [-Credential
<PSCredential>] [<CommonParameters>]
DESCRIPTION
Finds all of the group membership changes in the logs on all of the domain controllers in a domain. It returns
these logs in several formats that can be selected. The default output is a custom object.
PARAMETERS
-DaysAgo <Int32>
Specifies how many days in the past the search should start.
Required? false
Position? 1
Default value 1
Accept pipeline input? false
Accept wildcard characters? false
-Domain <String>
The domain to perform the search on. This defaults to the domain of the current user.
Required? false
Position? 2
Default value [System.String]::Empty
Accept pipeline input? false
Accept wildcard characters? false
-AsJson [<SwitchParameter>]
Returns the report as a Json string.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-AsXml [<SwitchParameter>]
Returns the report as an Xml string.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-AsHtml [<SwitchParameter>]
Returns the report as a custom formatted html document.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Credential <PSCredential>
Specifies a user account that has permission to perform this action. The default is the current user.
Type a user name, such as "User01" or "Domain01\\User01", or enter a PSCredential object, such as one generated
by the Get-Credential cmdlet. If you type a user name, you will be prompted for a password.
Required? false
Position? named
Default value [System.Management.Automation.PSCredential]::Empty
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
None
OUTPUTS
System.String
This is returned when AsJson, AsHtml, or AsXml are specified.
System.Management.Automation.PSObject
This is returned when no transform of the result is specified.
NOTES
AUTHOR: Michael Haken
LAST UPDATE: 1/4/2017
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-ADGroupMembershipChangeSummary -DaysAgo 1 -Domain "contoso.com"
Gets all of the group membership changes in the past day from contoso.com
RELATED LINKS
SYNOPSIS
Finds all of the group membership changes in the logs on all of the domain controllers in a domain.
SYNTAX
Get-ADGroupMembershipChangeSummary [[-DaysAgo] <Int32>] [[-Domain] <String>] [-Credential <PSCredential>]
[<CommonParameters>]
Get-ADGroupMembershipChangeSummary [[-DaysAgo] <Int32>] [[-Domain] <String>] [-AsJson] [-Credential
<PSCredential>] [<CommonParameters>]
Get-ADGroupMembershipChangeSummary [[-DaysAgo] <Int32>] [[-Domain] <String>] [-AsXml] [-Credential <PSCredential>]
[<CommonParameters>]
Get-ADGroupMembershipChangeSummary [[-DaysAgo] <Int32>] [[-Domain] <String>] [-AsHtml] [-Credential
<PSCredential>] [<CommonParameters>]
DESCRIPTION
Finds all of the group membership changes in the logs on all of the domain controllers in a domain. It returns
these logs in several formats that can be selected. The default output is a custom object.
PARAMETERS
-DaysAgo <Int32>
Specifies how many days in the past the search should start.
Required? false
Position? 1
Default value 1
Accept pipeline input? false
Accept wildcard characters? false
-Domain <String>
The domain to perform the search on. This defaults to the domain of the current user.
Required? false
Position? 2
Default value [System.String]::Empty
Accept pipeline input? false
Accept wildcard characters? false
-AsJson [<SwitchParameter>]
Returns the report as a Json string.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-AsXml [<SwitchParameter>]
Returns the report as an Xml string.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-AsHtml [<SwitchParameter>]
Returns the report as a custom formatted html document.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Credential <PSCredential>
Specifies a user account that has permission to perform this action. The default is the current user.
Type a user name, such as "User01" or "Domain01\\User01", or enter a PSCredential object, such as one generated
by the Get-Credential cmdlet. If you type a user name, you will be prompted for a password.
Required? false
Position? named
Default value [System.Management.Automation.PSCredential]::Empty
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
None
OUTPUTS
System.String
This is returned when AsJson, AsHtml, or AsXml are specified.
System.Management.Automation.PSObject
This is returned when no transform of the result is specified.
NOTES
AUTHOR: Michael Haken
LAST UPDATE: 1/4/2017
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-ADGroupMembershipChangeSummary -DaysAgo 1 -Domain "contoso.com"
Gets all of the group membership changes in the past day from contoso.com
RELATED LINKS