Loads the list of audit log operations (Operation + friendly name) from the Microsoft Learn
audit-log-activities page, with a resilient caching strategy:If a local cache exists and is younger than MaxCacheAgeDays, it is used directly (no network call).
2.
Otherwise the page is fetched from Microsoft Learn and the parsed list is written to the cache.
3.
If the page is unreachable, the (possibly stale) local cache is used as a fallback.
4.
If no cache exists, the bundled seed shipped with the module is used as a last resort.The cache lives in the per-user local application data folder (LOCALAPPDATA on Windows,
~/Library/Application Support on macOS, ~/.local/share on Linux) under a PS365 subfolder, so it
is writable per-user and works with PowerShell 7 on any platform.
The seed lives in
Private\Assets and ships with the module, so the helper still works fully offline on first run.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.