Exchange Report by Powershell

Hi gays, i would like to share with you my case! i want to extract some informations from our Exchange Server, as i am new with PowerShell, i would like to give me some ways to get my objective ?For example : how to get the Maximum number of recipients for each user mailbox ?and how to get the size of mailbox for each user ?

Sorry the Screenshot is in Frensh, the operation to get the information is with following the Steps 1, 2 and 3 .In English, Mailbox functionalities, mail flow, see details and , Limits of recipients .

It's ok to be new at something, however:Can you give of what you have tried so far?Have you looked at a few other online resources that provide pre-built scripts that you could use as is or tweak for your needs?

For example from Microsoft:'powershellgallery.com' and just enter the search term of interest, for example 'Exchange mailbox''powershellgallery.com/items?q=Exchange+mailbox&x=0&y=0'

Have you look at the PowerShell built-in help for mailbox cmdlets?1 - just open the PowerShell_ISE as an administrator2 - start a new script pane

3 - type:Add-PSSnapin -Name '*Exchange*'

4 - Click the Refresh button in the commands tab5 - Type5 - Get-mailbox in the serach box6 - Then click any of the Get-MailBox cmdlets and view what they do, and look at the help file on your system or online.

Now you can , for example, in the PowerShell_ISE script pane, type...

Get-Mailbox -Identity $env:USERNAME | Select -Property *... to see all you can get from that cmdlet and so on.

First, thank you very much for your response.However, I confirm that I am trying to familiarize myself with the environment of the PowerShell, I have attached screenshots of the commands I tested, I had positive results, by following the Technet website of Micosoft.

For loading all the available Exchange cmdlets on the Exchange server in to the PowerShell_ISE, you only need to use the one command I posted.

This approach would be similar to just opening the native Exchange Management Shell, which loads up all the cmdlets available at startup at that command line tool. This ISE is just more flexible when looking at and tooling around with them.

Lync/Skype, SharePoint, SQL, etc. have similar shells like the EMC, but again, for PowerShell Development, the PowerShell_ISE is your best built-in option, otherwise, you can download the free S Visual Studio Code and use it instead.

'code.visualstudio.com'

Understand, there is some setup to VSC before it can get close to what the PowerShell_ISE does, but it will not provide all of what the PowerShell_ISE does. Nor will the PowerShell_ISE provide all that VSC provides.

How to install Visual Studio Code and configure it as a replacement for the PowerShell ISE 'youtube.com/watch?v=1sD-RktG_dM'