Skip to content

Commit 8f31ec8

Browse files
authored
Update exchange-online-powershell-v2.md
Adding example for PropertySets All
1 parent e141a8a commit 8f31ec8

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

exchange/docs-conceptual/exchange-online/exchange-online-powershell-v2/exchange-online-powershell-v2.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,3 +213,14 @@ Get-EXOMailbox -ResultSize 10
213213
In contrast, the same **Get-Mailbox** cmdlet would return at least 230 properties for the same ten mailboxes.
214214

215215
For details about the property sets that are available in EXO V2 module cmdlets, see [Property sets in Exchange Online PowerShell V2 cmdlets](cmdlet-property-sets.md) or the individual EXO V2 module cmdlet reference topics.
216+
217+
EXO Cmdlets also provide a way to retreive all properties for a cmdlet. Use ProperySets parameter with "All" value to get the same.
218+
Below example returns all the properties in the "All" property Set for the 10 mailboxes -
219+
220+
```PowerShell
221+
Get-EXOMailbox -ResultSize 10 -PropertySets All
222+
```
223+
224+
**Note**: Using PropertySets parameter with "All" is highly discouraged as it slows down the cmdlet and reduces the reliability as well. Always use PropertySets and Properties parameter to retreive only the requires attributes.
225+
226+

0 commit comments

Comments
 (0)