Created
September 10, 2024 11:07
-
-
Save hansgafriedzal/1f35f0a13375ed5d350a78f07cd92e8b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$site = Get-SPSite http://site.local/ | |
$query = New-Object -TypeName Microsoft.SharePoint.SPAuditQuery($site) | |
$query.RowLimit = 10 | |
$query.SetRangeStart((Get-Date).Date) | |
$query.AddEventRestriction([Microsoft.SharePoint.SPAuditEventType]::ChildMove) | |
$site.Audit.GetEntries($query) | Out-GridView |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment