Skip to content

Commit 7490585

Browse files
authored
Add PowerShell command example for Wikis
To update the documentation which should explicitly mention that: PowerShell parses special characters before passing them to the Azure CLI JMESPath queries must be wrapped in single quotes when running commands in PowerShell
1 parent a4a2615 commit 7490585

File tree

1 file changed

+4
-0
lines changed
  • azure-devops/azext_devops/dev/team

1 file changed

+4
-0
lines changed

azure-devops/azext_devops/dev/team/_help.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,10 @@ def load_team_help():
150150
- name: Discover areas related to 'Wiki'
151151
text: |
152152
az devops invoke --query "[?contains(area,'wiki')]"
153+
154+
- name: PowerShell Command to Get all Wikis
155+
text: |
156+
az devops invoke --query '[?contains(area, `wiki`)]'
153157
154158
- name: Get all wikis in a project
155159
text: |

0 commit comments

Comments
 (0)