I want to set the secret value with a URL that contains "&", for example: http://ttt.com?p=p&data=1. But "&" is the key word of powershell, so after calling
$v="http://ttt.com?p=p&data=1"
az keyvault secret set --vault-name "XXX" --name "XXX" --value "$v"
The actual value will be http://ttt.com?p=p.
I tried it with single quotation $v='http://ttt.com?p=p&data=1' or $v="http://ttt.com?p=p`&data=1", both of them don't work.