azure-cli: Sample command not works in Powershell

when I use az appconfig feature filter add -n appconfig --feature feature --filter-name Microsoft.TimeWindow --filter-parameters “Start”="2023-04-16T16:00:00Z" “End”="2023-04-25T16:00:00Z", it works perfectly in Bash, but in Powershell it will not work.

Changed escape "" to “`” still failed. Could you help on this?

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 16

Most upvoted comments

@LotteVoorhorst Apologies for late reply. Can you please try to execute the below command ?

az appconfig feature filter add -n appconf--feature Feature --filter-name Microsoft.TimeWindow --filter-parameters "Start=\""2023-05-16T16:00:00Z\""" "End=\""2023-05-25T16:00:00Z\"""

Due to a known issue in PowerShell, some extra escaping rules apply. For more information, refer this document.