Skip to content

Commit 391fd23

Browse files
authored
Merge pull request MicrosoftDocs#4335 from navgupta1208/patch-31
Update exchange-online-powershell-v2.md
2 parents 1864f9e + 2af7fb6 commit 391fd23

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,3 +213,16 @@ 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 an object by using the _ProperySets_ parameter with the value `All`.
218+
219+
The following example returns all properties for the 10 mailboxes:
220+
221+
```PowerShell
222+
Get-EXOMailbox -ResultSize 10 -PropertySets All
223+
```
224+
225+
> [!NOTE]
226+
> We highly discourage using the _PropertySets_ parameter with the value `All` because it slows down the cmdlet and reduces reliability. Always use the _PropertySets_ and _Properties_ parameters to retreive only the requires properties.
227+
228+

0 commit comments

Comments
 (0)