Greetings,
I have been using this gam command for a bit now, but sometime maybe in December it broke.
Here is the command.
gam redirect csv ~/bin/project/startjson.csv multiprocess csv ~/bin/project/startup.csv gam print chromepolicies orgunit "~ou" filter chrome.users.StartupPages formatjson quotechar "'"
Here is the output, as you can see it is double quoting everything, which causes the script to get mad. If I clean it up and remove all the double quotes, the script runs great.
name,orgUnitPath,parentOrgUnitPath,direct,JSON
chrome.users.StartupPages,/01 Students/Adams,/01 Students/Adams,True,"{""additionalTargetKeys"": [], ""direct"": true, ""fields"": [{""name"": ""restoreOnStartupUrls"", ""value"": ""
https://launchpad.classlink.com/stocktonusd,https://adams.stocktonusd.net/,https://www.sandyhookpromise.org/say-something-tips/,""}, {""name"": ""restoreOnStartup"", ""value"": ""LIST_OF_URLS""}], ""name"": ""chrome.users.StartupPages"", ""orgUnitPath"": ""/01 Students/Adams"", ""parentOrgUnitPath"": ""/01 Students/Adams""}"