#Exchange Server Backup Status

#Exchange2010 #Powershell

So I wanted to share this.  Our outsource provider is suppose to monitor Exchange Server backups and disk space, but when an Exchange 2003 storage group dismounted alarm bells started to ring .. and guess what, the log drive filled up, as a backup had failed and not run for a week !

So we have a mixed Exchange 2003, 2007, 2010 environment, and I was playing with the Exchange Server 2010 management shell and knocked this script up to create a HTML page for all database backups and then email it to me.

The output is a HTML file called Get-ExchangeBackupStatus.html but that is really optional as the email is what you really want

#Using Exchange 2010 Powershell addin
$xPsCheck = Get-PSSnapin | Select Name | Where {$_.Name -Like “*Exchange*”}
If ($xPsCheck -eq $Null) {Add-PsSnapin Microsoft.Exchange.Management.PowerShell.e2010}

$backupstatus = Get-MailboxDatabase -Status -IncludePreExchange2010 | select ServerName, Name, lastFul* | sort LastFullBackup, Name


TABLE{font-family:VERDANA;font-size: 10pt;border-width: 1px;padding: 1px;border-style: solid;border-color: black;border-collapse: collapse;}
TD{border-width: 1px;padding: 1px;border-style: solid;border-color: black;}
TH{border-width: 1px;padding: 1px;border-style: solid;border-color: black;background-color:peachpuff;}

$z=”Exchange Backup Status
Last updated: $y

$htmltxt = $backupstatus  | ConvertTo-Html -head $x -Title “Exchange Server Database Status” -body $z -PreContent “” 
$htmltxt |OUT-FILE  Get-ExchangeBackupStatus.html

#Email the html file
$msgBody    = $htmltxt
$subject    = “PSM: Exchange Server Backup ” + $y
$emailTo    = “** Email to goes here **”
$emailFrom  = “** Emal from goes here **”
$SMTPServer = “** SMTP Server Name Goes Here **”

$message = New-Object Net.Mail.MailMessage($emailFrom, $emailTo, $subject, $msgbody)
$message.IsBodyHTML = $true

$smtp = New-Object Net.Mail.SmtpClient($SMTPServer )


Enjoy! .. as for the html file, I have some more posts coming soon, for an Exchange 2010 monitoring website driven by Windows Powershell (we don’t have SCOM to make life easier!)

A Month in #Exchange and #OCS: October 2010: Part 2

#Exchange2010 #Lync

##*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#* New Exchange, OCS and Lync Downloads from September 2010

Microsoft Exchange Server Jetstress 2010 (32 bit)
Simulate disk I/O load on a test server running Exchange to verify the performance and stability of your disk subsystem before putting your server into a production environment.
Date Published:9/7/2010

Microsoft Junk E-mail Reporting Add-in for Microsoft Office Outlook
The Junk E-mail Reporting Tool lets you directly report junk e-mail to Microsoft and its affiliates for analysis to help us improve the effectiveness of our junk e-mail filtering technologies.

IT Compliance Management Series
The IT Compliance Management Series—a combination of IT Compliance Management Libraries for Windows Server 2008, Windows Server 2008 R2, Windows 7, and Microsoft System Center—provides prescriptive guidance that helps IT pros configure Microsoft products to address specific IT governance, risk, and compliance (GRC) requirements.

Unified Messaging Troubleshooting Tool
The Exchange 2010 UM Troubleshooting Tool is used to diagnose configuration errors specific to call answering scenarios and to test whether voice mail is functioning correctly in Exchange 2010 SP1 Unified Messaging deployments.

Microsoft Office Live Meeting Service Portal v8.0 Release Notes
Refer to this file for information regarding known issues about the Microsoft Office Live Meeting Service Portal.

Communicator for Mac 2011 Deployment Guide
Intended for IT Professionals, the Microsoft Communicator for Mac 2011 Deployment Guide provides guidance for using Microsoft Communicator for Mac 2011 with Microsoft Office Communications Server 2007 R2.

Microsoft Lync Server 2010 (Release Candidate) Getting Started
Descriptions of new features in Microsoft Lync Server 2010 (Release Candidate). Both server features and client features are included.

Microsoft Lync Server 2010 (Release Candidate) Planning Documents
Documents you can use when planning your deployment of Microsoft Lync Server 2010 (Release Candidate). Includes planning documents for IM and Conferencing, Enterprise Voice, Edge Servers, Monitoring Server, Archiving Server, virtualization and DNS load balancing, along with guidelines for planning your network infrastructure.

Microsoft Lync Server 2010 (Release Candidate) Lab Deployment Guide
A step-by-step, how-to document you can use to install a Microsoft Lync Server 2010 (Release Candidate) Standard Edition server, along with an Edge Server. This document is suited to lab and product evaluation deployments.

Microsoft Lync Server 2010 (Release Candidate) System Requirements
A short document that outlines the hardware, operating system, and database requirements for Microsoft Lync Server 2010 (Release Candidate) and its related clients.

Microsoft Lync 2010 SDK Release Candidate (RC)
The Lync 2010 SDK is the client-side API set that enables the integration and extension of Lync experiences.

Microsoft Lync Server 2010, Planning Tool Release Candidate (RC)
The Microsoft Lync Server 2010, Planning Tool (RC) provides prescriptive guidance to get you started with planning your topology.

Microsoft Lync 2010 Attendee (RC) – User Level Install
Microsoft Lync 2010 Attendee is a conferencing client that allows users without Microsoft Lync 2010 installed, to participate in online meetings. If you are not an administrator on the computer but an administrator has allowed you to perform installations, you can install this application.

Microsoft Lync 2010 Attendee (RC) – Admin Level Install
Microsoft Lync 2010 Attendee is a conferencing client that allows users without Microsoft Lync 2010 installed, to participate in online meetings. A user with an administrator account on the computer can install Lync 2010 Attendee so that users of the computer can join Microsoft Lync Server 2010-hosted meetings.

Updates for Communications Server 2007 R2
This article lists the available updates for Microsoft Office Communications Server (OCS) 2007 R2 and specifies the applicability of the updates for each server role.

A Month in #Exchange and #OCS: October 2010: Part 1

#Exchange2010 #Lync .. Yeah yeah I know, it’s late this month, been on holiday .. shame I had to come back really?! .. any way lets get started

#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#* Microsoft Exchange … In Blog Posts & News from last month
Microsoft Office Communications Server … In
Blog Posts & News from last month Microsoft Communications Server … In Blog Posts & News from last month 
Lync … In Blog Posts & News from last month

Check out Google fast flip too .. for Exchange and OCS

#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#* Interesting Blogs and Tweets I read this last.

Now I have started to use Instantpaper (http://www.instapaper.com/) now if you create a free account on it, you will be able to add “stared” items to a folder that include most of these, and will update when i do.  (My username on Instantpaper is FLAPHEAD) let me know what you think and if you have an instantpaper account and are staring items.

Active Directory Administration with Windows PowerShell


21 Reasons to Use Windows PowerShell to Manage Microsoft Lync Server 2010

Exchange Server 2010 Outlook Web App Authentication Settings

The Offline Address Book (Part 2)

What are the top Lync Server 2010 features I need to know about?

The revised CPU sizing formula

Configuring Lync RC and Exchange 2010 Sp1 to Enable OWA as a Lync Endpoint

BlackBerry Enterprise Server and Exchange 2010 SP1

Microsoft Security Advisory 2416728, the ASP.NET Vulnerability, and Exchange Server

Microsoft Exchange 2010 with VMware VSphere on Cisco Unified Computing System with NetApp Storage

An Administrator’s First Look at PowerShell in Lync Server 2010 (Communications Server ’14’)

Default settings for Exchange-related virtual directories in Exchange Server 2010

Are You Sure Your Backups Are Working?

Exchange 2010 on VMware

Fix for Event ID 2937 MSExchange ADAccess in Exchange 2010 SP1

How migrating to Exchange Server 2010 can save money on storage

Configuration Improvements in Outlook Web App / Instant Messenger integration in Exchange Server 2010 SP1

UPDATE: Microsoft Security Advisory 2416728, the ASP.NET Vulnerability, and Exchange Server

Designing a Site Resilient Exchange 2010 Solution (Part 1)

How to fix MSExchangeTransport Event ID 12014 on Edge and Hub Transport servers

Lync Server 2010 RC Deployment – Part 1

Lync Server 2010 RC Deployment – Part 2

Lync Server 2010 RC Deployment – Part 3