Prev | Current Page 645 | Next

Joezer Cookey-Gam, Brendan Keane, Jeffrey Rosen, and Jonathan Runyon

"Professional Windows PowerShell for Exchange Server 2007 Service Pack 1"


The identity for the mailbox stores are in this format: server name\storage group\mailbox store.
A sample list of mailbox stores would look like this:
MB001\SG01\MB01
MB001\SG03\MB03
MB002\SG10\MB10
MB010\SG30\MB30
Now you have a script named SetStandardPolicy.ps1 that is custom tailored to set the standard. You
also have a text file called StandardStores.txt . To make sure that these standards get applied and
stay applied no matter what changes are made to the environment, you need to schedule the policy
script to be applied periodically. I would suggest having these run at least once a day, if not more often.
Now, create a scheduled task using Windows Scheduled Tasks or other task scheduler that runs every
two hours or perhaps an interval that better fits your business environment:
PowerShell.exe -Command ???SetStandardPolicy.ps1 StandardStores.txt??™
This ensures that each store listed in the StandardStores.txt file gets your standard settings. If you
need to add or subtract a store from the list, all you need to do is adjust the text file; no need to modify
the script when a database needs to be added or removed.
Chapter 16: Reporting, Maintenance, and Administration
471
In order to adapt this for all of your database standard profiles in your organization you can create a
corresponding script and text file for each.


Pages:
633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657
Pozycjonowanie Odżywki blog mirc torba do notebooka