Forum Discussion

GuruLee's avatar
GuruLee
Brass Contributor
Jan 31, 2024

Export Log Analytics Workspace for Timespan Locally with PowerShell

I need to export all log analytics workspace data locally for a given date range or last 30 days. I tried this PS script:   $startTime = (Get-Date).AddDays(-21) $endTime = Get-Date $outputPath = "...

Resources