I have a microsoft form that submits an array of data to a variable that I need to process. The Output array from the forms looks like this and is assigned to a variable:
["a","b","c"]
How can I create an array in powershell from this so I can actually call the array items like this:
if ("a" in $array) {
# Do something
}
if ("b" in $array) {
# Do something
}
if ("c" in $array) {
# Do something
}