This infographic is courtesy of ‘Sample Emails‘ and Designed by ‘Graphs‘
This infographic is courtesy of ‘Sample Emails‘ and Designed by ‘Graphs‘
The WordPress.com stats helper monkeys prepared a 2012 annual report for this blog.
Here’s an excerpt:
4,329 films were submitted to the 2012 Cannes Film Festival. This blog had 19,000 views in 2012. If each view were a film, this blog would power 4 Film Festivals
Paul Cunningham has created a script to generate a dashboard style report of your Exchange environment. You need Powershell Version 2.0 or higher (server that has Exchange 2010 roles or management tools installed) to run the script.
You can find the script here.
– Thanks, Jinesh.
//
Steve Goodman of stevieg.org has created a script that would give you a visual overview of your Exchange environment. The script generates a report that gives you an overview of your environment, Exchange 2003, 2007, 2010 servers and database availability groups – in particular:
The script doesn’t support detailed information about Exchange 2007/2003 CCR/SCC clusters, but these are shown as ClusMBX in the output. At the moment, the script doesn’t show Public Folder information.
Head over to his site for downloading the script and for usage instructions.
– Thanks, Jinesh.
//
The WordPress.com stats helper monkeys prepared a 2011 annual report for this blog.
Here’s an excerpt:
The concert hall at the Syndey Opera House holds 2,700 people. This blog was viewed about 10,000 times in 2011. If it were a concert at Sydney Opera House, it would take about 4 sold-out performances for that many people to see it.
Click here to see the complete report.
//
Matt Abraham has created a “Cheat Sheet” with a list of some of the most important Exchange 2010 PowerShell Cmdlets. A lot of these can be used with Exchange 2007 as well!
The post on OpsVault has the download link.
– Thanks, Jinesh.
//
Using the Select-String Cmdlet, you can determine whether or not a specific string value exists in a text file. PowerShell will return each line in the text file that includes the target string. You can add the -quiet parameter to get back a True if the string is found and nothing if the string is not found. Another Select-String parameter that you might find useful is -casesensitive, which performs a case-sensitive search.
Following is a crude script I wrote to find the existence of three strings in Edgetransport.exe.config file on multiple Hub transport servers. It basically searches for the string in the file, compares it with a standard value and returns a ‘Match’ or ‘No match’ according to what it found.
$CheckServers = Get-Content Servers.txt
foreach( $CSrv in $CheckServers )
{
Write-host $Csrv -fore cyan
$config = get-content “\\$CSrv\D$\Program Files\Microsoft\Exchange Server\Bin\Edgetransport.exe.config”
$Ver1 = $config | Select-String “EnableResourceMonitoring”
$Ver2 = ‘ <add key=”EnableResourceMonitoring” value=”True” />’
if ($ver1 -like $ver2)
{write-host Match -fore green}
Else
{write-host No Match -fore red}
$Wer1 = $config | Select-String “DatabaseCheckPointDepthMax”
$Wer2 = ‘ <add key=”DatabaseCheckPointDepthMax” value=”536870912″ />’
if ($Wer1 -like $Wer2)
{write-host Match -fore green}
Else
{write-host No Match -fore red}
$Xer1 = $config | Select-String “DatabaseMaxCacheSize”
$Xer2 = ‘ <add key=”DatabaseMaxCacheSize” value=”1073741824″ />’
if ($Xer1 -like $Xer2)
{write-host Match -fore green}
Else
{write-host No Match -fore red}
Write-host
write-host “Press any key to check next server”
write-host “”
$x = $host.UI.RawUI.ReadKey(“NoEcho,IncludeKeyDown,AllowCtrlC”)
}
To run the script, create a file called Servers.txt, populate it with server names, save the code given above to a .ps1 file and run the .ps1 file.
– Thanks, Jinesh.
Here you go.
Page Up – Jumps to the first command in the command history buffer.
Page Down – Jumps to the last command in the history buffer.
Ctrl + Left Arrow – Goes to the left one word at a time.
Ctrl + Right Arrow – Goes to the right one word at a time.
F7 – Shows command history buffer. You can use the up and down arrow keys to navigate the buffer and press Enter to select the command. You can also press F9 and select a command by its number.
Ctrl + Home – Deletes all the characters at the current position up to the beginning of the line. Characters to the right of the current position, if any, remain intact.
Ctrl + End – Deletes everything from the current position up to the end of the line.
Alt +F7 – Clears the command history and start you off with a new list.
Character + (F8) – Shows all the commands you’ve entered that begin with the ‘Character’, one by one. For example, G +F8 will show you commands you’ve entered that begin with a ‘G’.
– Thanks, Jinesh.
//
Yes, you can now configure Out Of Office replies for a user directly from the server – without having to grant yourself permission and access user’s mailbox. You can configure auto-reply options either using the Exchange Control Panel or using the Shell.
You can also manage Inbox Rules for your users using *-InboxRule cmdlets:
– Get-InboxRule
– Set-InboxRule
– New-InboxRule
– Remove-InboxRule
– Enable-InboxRule
– Disable-InboxRule
Read the post on Exchange Team Blog.
-Thanks, Jinesh.
Tony Redmond, in his post, discusses the available options for moving a database between DAGs. “Though the unbreakable connection that exists in all previous versions of Exchange to tie a database to a specific server no longer exists”, he says, “the notion of a totally portable database is not yet implemented.”
He gives a couple of options to accomplish the task of moving the database. One is to use the move mailbox function to move all the mailboxes from the database to a database or databases in the second DAG. However, this is not easy for large number of mailboxes or for moving multiple databases between DAGs. The second idea, proposed by Tim McMichael of Microsoft, is that it would be possible to use a “swing server” to transport the database from one DAG to another.
Steps involved would be:
- Commission a specific mailbox server and introduce it into the first DAG.
- Transfer a copy of the mailbox database to be transferred to that server and make it active.
- Remove all other copies of the mailbox database so that the only copy is now present on the swing server.
- Remove the swing server from the first DAG and add it to the second DAG before completing the process by creating whatever number of additional copies of the database are necessary in the second DAG.
- Finally, you remove the copy of the database from the swing server and remove it from the second DAG.
Obviously, there are some downsides to the swing server technique. First, it requires additional hardware. Second, there will be a time when the mailbox database (or databases) lose redundancy as you have to reduce them to just one copy before it’s possible to move between DAGs. The redundancy can be reintroduced as soon as the databases join the second DAG but even so, it will take time for the copies to be seeded. Last, this is a moderately complex multi-step technique.
Which method to use will be your call depending on the situation.
-Thanks, Jinesh.