bseltz-cohesity / scripts

Cohesity REST API examples in PowerShell and Python
Apache License 2.0
102 stars 40 forks source link

reports/protectionRunsReport\protectionRunsReport.ps1 has ASCII column names with unicode data #105

Closed LarryCharlton closed 1 year ago

LarryCharlton commented 1 year ago

the TSV file produced by this has ascii column names on the first line, followed by unicode data. I haven't found an editor that will open this. As ascii file there are a lot of embeded NUL (0) characters in the data.

Also not an issue, but it appears it may take 4 or more days to pull a list of yesterday's backups. It's getting roughly one database backup per second, maybe just a bit faster with 26k+ backups to pull.

bseltz-cohesity commented 1 year ago

I just updated the script. Let me know if that solves it: https://github.com/bseltz-cohesity/scripts/tree/master/reports/powershell/protectionRunsReport

LarryCharlton commented 1 year ago

It looks good, still running but opens right up in an editor.