Monthly Archives: February 2015

Service Management with PowerShell

PowerShell is great for automating administrative tasks. Common tasks may include managing services (stop, start, restart, etc). Here is some sample code to demonstrate some of the PowerShell service management capabilities. The first example is to stop a service, perform … Continue reading

Posted in System Administration | Tagged | Leave a comment

Advanced Query Syntax (AQS) Properties for Exchange Search-Mailbox

I had some trouble finding a list of AQS (Advanced Query Syntax) properties supported by the Exchange Search-Mailbox -SearchQuery parameter. I did find a link mentioned in a comment by Tony Redmond on his article “Using Search-Mailbox to look for … Continue reading

Posted in System Administration | Tagged , , | Leave a comment

Using Search-Mailbox to look for items with a specific date

Originally posted on Thoughtsofanidlemind's Blog:
A question from a reader is often a good start to a useful discussion or to probe into a topic. Tim Read contacted me to discuss some problems he had with using the Search-Mailbox…

Posted in Uncategorized | Leave a comment

Permissions Required for Search-Mailbox and DeleteContent

Recent versions of Exchange provide advanced functionality through the “Exchange Management Shell” (EMS) which is a special instance of Windows Powershell with added commands for Microsoft Exchange. This article is specific to Exchange 2013, but some of the principles may … Continue reading

Posted in System Administration | Tagged , | Leave a comment

Export and Email SQL View as CSV Spreadsheet Using Powershell

I’ve been looking for an easy way to export and email the query results from a SQL View as a Spreadsheet (CSV). I’ve finally found a decent solution on Windows using tools provided with either the operating system or the … Continue reading

Posted in Database | Tagged , , | 1 Comment