Forum Discussion
How to install oms extension on Linux VMs using CLI
Hi Travis,
I just missed : in the script, Now able to understand it properly.
But whenever i tried to execute this script i am getting "Expecting property name enclosed in double quotes: line 1 column 2 (char 1)" error on screen.
Could you please help me to fix this. I have also attached screenshot for further reference : -
- Nov 19, 2018
The only thing that I noticed is the examples in MS Docs only shows single quotes around protected-settings and settings. Try removing them from the rest?
- GouravINNov 19, 2018Brass Contributor
Tried but no luck, same as earlier.
- asimvirtualApr 23, 2019Copper Contributor
This is an old thread and I am not sure if you already found a solution. But I wanted to reply just in case you haven't.
Running a CLI command in PowerShell, the double quotes are handled differently. You need to add back-slash escape characters before the double quotes. Example below.
.......
--protected-settings '{"workspaceKey": \"omskey\"}' \
--settings '{"workspaceId": \"omsid\"}'Hope this helps