Only for last day: $logentries = Search-AdminAuditLog -StartDate (Get-Date).AddDays(-1) $logentries | Select RunDate,Caller,CmdletName,@{Name=’CmdletParameters’;Expression={[string]::join(“;”, ($_.CmdletParameters))}},ObjectModified, OriginatingServer | sort rundate | export-csv -NoTypeInformation -path c:\temp\adminauditlog.csv{"id":1513,"date":"2020-03-28T18:44:19","date_gmt":"2020-03-28T10:44:19","guid":{"rendered":"https:\/\/www.itforce.mn\/?p=1513"},"modified":"2020-03-28T19:22:21","modified_gmt":"2020-03-28T11:22:21","slug":"how-to-see-adminauditlog-in-exchange","status":"publish","type":"post","link":"https:\/\/www.itforce.mn\/index.php\/2020\/03\/28\/how-to-see-adminauditlog-in-exchange\/","title":{"rendered":"How to see AdminAuditLog in Exchange"},"content":{"rendered":"<p>Only for last day:<\/p>\n<pre>\r\n$logentries = Search-AdminAuditLog -StartDate (Get-Date).AddDays(-1)\r\n\r\n$logentries | Select RunDate,Caller,CmdletName,@{Name=\u2019CmdletParameters\u2019;Expression={[string]::join(\u201c;\u201d, ($_.CmdletParameters))}},ObjectModified, OriginatingServer | sort rundate | export-csv -NoTypeInformation -path c:\\temp\\adminauditlog.csv\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":null,"protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20,17],"tags":[],"class_list":["post-1513","post","type-post","status-publish","format-standard","hentry","category-exchange-server","category-powershell-tips"],"_links":{"self":[{"href":"https:\/\/www.itforce.mn\/index.php\/wp-json\/wp\/v2\/posts\/1513","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itforce.mn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itforce.mn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itforce.mn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itforce.mn\/index.php\/wp-json\/wp\/v2\/comments?post=1513"}],"version-history":[{"count":1,"href":"https:\/\/www.itforce.mn\/index.php\/wp-json\/wp\/v2\/posts\/1513\/revisions"}],"predecessor-version":[{"id":1514,"href":"https:\/\/www.itforce.mn\/index.php\/wp-json\/wp\/v2\/posts\/1513\/revisions\/1514"}],"wp:attachment":[{"href":"https:\/\/www.itforce.mn\/index.php\/wp-json\/wp\/v2\/media?parent=1513"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itforce.mn\/index.php\/wp-json\/wp\/v2\/categories?post=1513"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itforce.mn\/index.php\/wp-json\/wp\/v2\/tags?post=1513"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}