You might want to start your search for an answer here: jmespath.org
What you're asking about has little to do with PowerShell.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
i have this query wich bring me the expiring dates of the keyvault's secret, I have to bring the dates that are less than 30 days
EXPIRES=$(az keyvault secret show \
--vault name "$keyvault" \
--name "$secret" \
--query "attributes.expires" - o tsv)
How can I implement something like
--query "attributes.expires < 30 days" - o tsv
You might want to start your search for an answer here: jmespath.org
What you're asking about has little to do with PowerShell.