Hacker News new | ask | show | jobs
by kemotep 924 days ago
Or annoyingly, the GUI is the only way.

Case in point, if you are using Microsoft 365 and Exchange Online, you can do a lot of administrative tasks via PowerShell modules. But if you want to run a report on how many emails a set of mailboxes have received in the past 30 days, the message trace PowerShell command can only do up to the past 10 days. Anything beyond 10 days requires going into the Exchange Online admin portal and requesting a report that Microsoft will generate for you several hours later.

1 comments

Could you script and schedule say a daily 1 day report, store the result, and have a script to get the last 30 (or whatever you want) days?
That is possible. Annoying that you can get the last 10 days in a second but need to duct tape together something if you never want to interface with the gui and then instead of a few hours you have to collect the data over the entire 30 days (but only after you start doing this).