Name Alias ServerName ProhibitSendQuota - Alex. You can use the same command shown above to get the branch office mailboxes, and then pipe that into the Set-Mailbox cmdlet to make the change to their storage quota settings. Continuing the previous example, let’s say that the business has decided that all branch office mailbox users should have a 3Gb mailbox storage quota. That is an example of the pipeline in action. You may have noticed in the previous example the | (or pipe) character that was between the Get-Mailbox and Where-Object cmdlets. In PowerShell the pipeline is how output from one command is passed to another. One of the PowerShell techniques you will use regularly is the pipeline. Fyson br-ex2010-mb unlimitedĪs you can see by filtering the output of Get-Mailbox to only those where the “Office” attribute equals “Branch Office”, you can retrieve only the data that you are interested in seeing. Rodrigues br-ex2010-mb unlimited Katherine. PS > Get-Mailbox | Where-Object Name Alias ServerName ProhibitSendQuota - Alex.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |