Skip to content

Commit 57bdf1c

Browse files
authored
Update storage-table-entities-powershell-include.md
Added a suggestion with powershell command to retrieve total count of entities present in a table
1 parent 1210aaf commit 57bdf1c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

includes/storage-table-entities-powershell-include.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,17 @@ This command yields results similar to the following table:
7272
| 2 | Jessie | partition2 | NM |
7373
| 4 | Steven | partition2 | TX |
7474

75+
#### Retrieve the count of the entities in table
76+
77+
```powershell
78+
$totalEntities=(Get-AzTableRow -table $cloudTable | measure).Count
79+
Echo $totalEntities
80+
```
81+
82+
This command results in the numeric count of entities similar to below:
83+
84+
4
85+
7586
#### Retrieve entities for a specific partition key
7687

7788
```powershell

0 commit comments

Comments
 (0)