Feb 26 2020
05:15 AM
- last edited on
Jan 14 2022
04:34 PM
by
TechCommunityAP
Feb 26 2020
05:15 AM
- last edited on
Jan 14 2022
04:34 PM
by
TechCommunityAP
Hi,
Anybody else is wishing to see similar possibilities than AD's PowerShell module have. I mean, when you do regular "get-aduser -identity HerOrHim" you get few basic attributes over the wire. If you are expecting to see some other attributes, you need to define with "-properties attrib1, attrib2, etc..." or if you want all, then: "-properties *".
Now when working with Azure and other Microsoft 365 services, I have started to missing a similar possibility to AzureAD's management shell, like other M365/O365 related services as well. Few examples:
Teams, Get-CsOnlineUser, returns 190 attributes
AzureAD, Get-AzureADUser, returns 49 attributes
Exchange, Get-Mailbox, returns 237 attributes
Wouldn't that be cool, if you could get only the attributes you were needed?
Feb 26 2020 08:29 AM
For ExO, you can get them by using implicit remoting, or simply by using the new, V2 cmdlets: https://docs.microsoft.com/en-us/powershell/exchange/exchange-online/exchange-online-powershell-v2/e...
For the rest of the modules, you're stuck with the full set, but you can use Graph-based alternatives.