Exchange Server 2010 includes numerous Exchange Management Shell cmdlets, but it also provides some PowerShell scripts that are designed to accomplish more complex tasks. In this article, I will tell you about 10 of the most useful scripts that are included with Exchange Server 2010. All these scripts can be found in the server's Program FilesMicrosoftExchange ServerV14Scripts folder.
Note: This article is also available as a PDF download.
Exchange Server 2010 includes numerous Exchange Management Shell cmdlets, but it also provides some PowerShell scripts that are designed to accomplish more complex tasks.
1: CheckInvalidRecipients.ps1
The CheckInvalidRecipients.ps1 script is designed to correct situations in which a recipient has two different SMTP addresses set as the primary address. If such a recipient is detected, this script will set the WindowsEmailAddress as the primary SMTP address.
You can also use this script to ensure that a distribution group is truly hidden if the HideDLMembershipEnabled attribute is set to true. Exchange 2010 has a bug in which the membership may not truly be hidden if the ReportToManagerEnabled, ReportToOriginatorEnabled, or SendOofMessageToOriginatorEnabled attributes are set to true. The script looks for such conditions and sets these attributes to false so that DL membership will remain hidden.
2: CollectOverMetrics.ps1
The CollectOverMetrics.ps1 script reads the Database Availability Group member's event logs and compiles a report of recent activity. The report indicates when databases were mounted or dismounted and when a failover has occurred, and it provides information about other relevant events, such as database moves.
All the events are written to a CSV file. Each line of the CSV file contains the event, the database identity, the time of the event, the server on which the database was mounted, the reason for the operation, and whether the operation was successful.
3: CollectReplicationMetrics.ps1
The CollectReplicationMetrics.ps1 script can help you find out how well database replication is performing. When the script is run, it gathers real-time performance data by using Performance Monitor counters. The script compiles replication performance data from multiple mailbox servers and writes each server's data to a separate CSV file. You can specify individual servers to monitor or you can run the script against the entire Database Availability Group. Although the script creates a separate report for each server, it also creates a summary report named HaReplPerfReport.<timestamp>.csv
4: Install-AntispamAgents.ps1
One of the Edge Transport Server's jobs is to perform message hygiene by checking inbound and outbound messages for viruses and spam. However, smaller organizations often opt to save money by not deploying an Edge Transport Server. Instead, Internet mail is brought directly into the Hub Transport Server.
The Hub Transport Server performs the same types of message hygiene as an Edge Transport Server, but the anti-spam agents are not installed by default. You can install them by using the Install-AntispamAgents.ps1 script.
5: Export-OutlookClassification.ps1
Before Outlook can classify messages or report on message classifications, it needs to know which message classifications are in use in your Exchange organization. To determine this, run the Export-OutlookClassification script on your Exchange Server and redirect the output to an XML file. To do so, you can use a command like this one:
Once you have created the XML file, you must copy it to each user's computer. To complete the process, get Outlook to use the XML file by creating the following registry entries:
Keep in mind that editing the registry is dangerous and you can destroy Windows and / or your applications if you make a mistake. You should always create a full system backup prior to making any registry modifications.
6: MoveAllReplicas.ps1
Occasionally, you may need to decommission a public folder server and replace it with another server. While the process of removing the public folder replicas from the old server and creating the replicas on the new server can be done manually, Microsoft provides a script for the job: MoveAllReplicas.ps1.
To use this script, just supply the -Server switch, the name of the old server, the -NewServer switch, and the name of the new server. Here is an example of how to use the script:
7: MoveMailbox.ps1
If you've been working with Exchange 2007 or Exchange 2010 for awhile, you are no doubt familiar with the Move-Mailbox cmdlet. What you might not know is that Microsoft also provides a script named MoveMailbox.ps1.
At its simplest, this script requires you to provide the name of the mailbox you want to move and the identity of the target mailbox database. For example, if I wanted to move my own mailbox, the command might look like this:
There are numerous variations to how this script can be used, and you can also use it in conjunction with pipelined input. This TechNet article provides more details on using this script.
8: MailboxDatabaseReseed.ps1![]()
If you have problems with the replication in a Database Availability Group, your active and passive databases could fall out of sync. In extreme situations, you may need to reseed the passive database copy. You can accomplish the reseeding process using the MailboxDatabaseReseed.ps1 script. Reseeding the passive copy essentially removes the passive database copy and then rebuilds by replicating the Active database. Although you can reseed manually, this script simplifies the reseeding process.
9: Move-TransportDatabase.ps1Daniela Script Mirc Download
The message queues on a hub transport server rely on databases that are similar to mailbox databases and public folder databases. By default, Microsoft stores these databases on the Hub transport server at C:Program FilesMicrosoftExchange ServerV14TransportRolesDataQueue.
Free Mirc Download 6.31
If the server's C: drive begins running low on space, or if system performance becomes an issue, you many need to move the transport database to a new location. You can do this with the Move-TransportDatabase.ps1 script. You just need to provide a new database path and a new database logging path. For example, the command might look like this:
10: Get-SetupLog.ps1
Any time you install Exchange 2010, Setup creates a folder named C:ExchangeSetupLogs. This folder contains numerous log files related to the installation process. Although you can read any of these log files using a text editor like Notepad, doing so can be cumbersome, to say the least. Microsoft has provided the Get-SetupLog.ps1 script to make reading the logs easier. When you run this script, important log entries are color-coded to indicate errors and warnings.
Power Script Mirc Download Italiano 2010 Calendar 2016
mIRC is back with a new face! :-) mIRC now has a shiny new mIRC logo and new interface icons, updated and designed by the good people at Turbomilk. To match the new icons, we also decided to redesign the mIRC website to bring it into the 21st century.. we hope you like the new look!
In addition to the visual changes in mIRC and the website, this new version of mIRC also addresses the various issues that were reported for the last release. For scripters, we hope you like the changes to the script editor. The interface has been improved, it is now cleaner and easier to read, we added Check Bracket/Sort Variables items to Edit menu, line numbers to the margin, and enter/home key indentation support. The editor also no longer flickers when resized. Various other changes include: A 'Hide tips when locked' option to the lock dialog, An SSL option to automatically accept invalid certificates, Tips now shade each alternate message that is added to an existing tip to make it easier to distinguish individual messages, When bars are locked the drag bars are now hidden from view, Changed behaviour of 'Hide minimized desktop windows' option so that query, message, and chat windows remain visible when they are first opened minimized on the desktop. In total there have been over 50 changes to this version and although most of them are only small fixes and tweaks, we hope that they result in a more useful and stable mIRC for you. ____________________________ Full list of Fixes, Changes and Additions in mIRC 6.31: 1.Fixed tooltips bug in toolbar. 2.Fixed /background window name bug. 3.Fixed remote.ini scripts folder bug. 4.Fixed dns pool message bug during connect retry. 5.Fixed notify window taking focus every time you connect to a server. The notify window also no longer automatically closes when you disconnect from all servers. 6.Fixed tips control codes bug. 7.Fixed if/elseif error display bug. 8.Fixed /window -dh not hiding desktop window. 9.Changed $tip() $null parameters so that they are now optional. 10.Fixed script editor Windows taskbar display bug. 11.Fixed /dll crash bug with self-calling dlls. 12.Fixed on START event not being triggered before all other events on startup for loaded scripts. 13.Fixed while loop break/continue bugs. 14.Fixed /writeini error handling bug. 15.Fixed ial not being updated by protect/ignore/etc. commands. 16.Added @wid support to /setlayer. 17.Added /tips [on|off] and $tips identifier. 18.Added 'Hide tips when locked' option to lock dialog. 19.Fixed editbox/listbox focus bug when switching windows. 20.Fixed $inellipse() bug by enabling floating point consistency option in compiler. 21.Fixed /hinc bug. 22.Fixed -nouninst backward compatibility bug. 23.Fixed flickering in channel nickname, channels list, and all other window listboxes. 24.Changed script editor interface slightly, now cleaner and easier to read. Added Check Bracket/Sort Variables items to Edit menu, line numbers to margin, and enter/home key indentation support. No longer flickers when resized. 25.Updated to PNG 1.2.22 and PCRE v7.4 libraries. 26.Fixed double-click on treebar notify nicks bug, now triggers correct Clicks dialog notify list alias. 27.Fixed on ^filesent/rcvd not /halting text bug. 28.Fixed treebar notify nicks menu not having $1 set as nick. 29.Fixed installer bug with mIRC/help file not being launched on install completion. 30.Fixed unicode encoding bug when pasting large amounts of text. 31.Fixed unicode not being copied to clipboard correctly from a @window with no editbox. 32.Changed right-click behaviour in custom dialog listboxes to allow selecting an item without checking its radio/check box. 33.The default text for /list numerics 321 and 323 can now be halted. 34.Added SSL option to automatically accept invalid certificates. 35.Fixed @window tabs display bug. 36.Tips now shade each alternate message that is added to an existing tip to make it easier to distinguish individual messages. 37.When bars are locked the drag bars are now hidden from view. 38.Added /abook -h switch to open highlight dialog. 39.Fixed background picture display bug when loading large images. 40.Fixed line width/height measurement bug in @windows, now the same as non-@windows. 41.Fixed /splay and /sound error display bug. 42.Fixed saving tray/maximized window state bug. 43.Fixed /drawtext clipping bug when using tabs. 44.Fixed tray icon click multi-monitor bug. 45.Fixed reload log files bug when lock log files option is enabled. 46.Fixed Editor 'Monitor File Changes' memory bug. 47.Changed behaviour of 'Hide minimized desktop windows' option so that query, message, and chat windows remain visible when they are first opened minimized on the desktop. 48.Fixed /hinc and /hdec maximum value bug. 49.Fixed clipboard handling bug. 50.Fixed $longfn() routine not appending / slash to the result when it is a directory. 51.Updated the mIRC icon and over seventy other icons in the toolbar, switchbar, tray, and window icons. 52.Fixed treebar focus bug when selecting item in treebar while mIRC is not active application. 53.Fixed some settings in editor dialog not being remembered if it was closed using the cancel button. 54.Fixed favorites dialog gpf bug when editing folder name. Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |