< Back

Get-PartnerAuditRecord

Sat Jan 18, 2020 6:26 pm

NAME Get-PartnerAuditRecord



SYNOPSIS

Gets audit records from Partner Center.





SYNTAX

Get-PartnerAuditRecord [-EndDate <DateTime>] [-StartDate <DateTime>] [<CommonParameters>]





DESCRIPTION

Gets audit records for the previous 30 days from the current date, or for a date range specified by including the

start date and/or the end date. Note, however, that for performance reasons activity log data availability is

limited to the previous 90 days.





PARAMETERS

-EndDate <DateTime>

The end date of the audit record logs.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-StartDate <DateTime>

The start date of the audit record logs.



Required? false

Position? named

Default value None

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

Microsoft.Store.PartnerCenter.PowerShell.Models.Auditing.PSAuditRecord







NOTES









-------------------------- Example 1 --------------------------



PS C:\\> Get-PartnerAuditRecord -Start (Get-Date).AddDays(-89)



Gets the audit records from Partner Center for the past 89 days.







RELATED LINKS

Online Version: https://docs.microsoft.com/powershell/m ... uditRecord