#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
$Error.Clear()
$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

$y=Get-Date
$x=”


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 )
$smtp.Send($message)

 

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.
Version:14.01.0180.003
Date Published:9/7/2010
Language:English
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=6c9c1180-4dd8-49c4-85fe-ca1cdcb2453c

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.
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=53541292-ce94-4c5b-9127-b7d56f11b619

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.
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=bd930882-0d39-4900-9a79-b91f213ed15d

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.
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=10d2e48f-0846-40b6-b08f-d282309811a2

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.
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=2a94df8c-1a6d-42ec-942d-162bc5b30b31

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.
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=7c4f539d-eb3c-422a-9b35-022970fc9c34

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.
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=e33765bc-9c5d-49b2-bb4f-ec8d42ccc1c7

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.
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=2da9fa26-e032-4dcf-b487-da916ddc508f

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.
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=709d1609-a62a-47bd-baa4-6221dfd3c34c

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.
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=634a3616-4199-4d51-88ee-618e72d91b7c

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.
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=d98f0bf7-c82c-47f5-9f73-be3edbf30438

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.
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=bcd64040-40c4-4714-9e68-c649785cc43a

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.
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=68a3ca04-a058-4e47-98ea-9e9af7ebd6e3

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.
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=1772a5ad-9688-4861-8387-ec30411bf455

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.
http://support.microsoft.
com/kb/968802

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
http://technet.microsoft.com/en-us/library/dd378937(WS.10).aspx

Worm:Win32/Visal.B
http://social.technet.microsoft.com/wiki/contents/articles/worm-win32-visal-b.aspx

21 Reasons to Use Windows PowerShell to Manage Microsoft Lync Server 2010
http://blogs.technet.com/b/csps/archive/2010/09/13/21reasonstouselyncps.aspx

Exchange Server 2010 Outlook Web App Authentication Settings
http://exchangeserverpro.com/exchange-server-2010-outlook-web-app-authentication-settings

The Offline Address Book (Part 2)
http://www.msexchange.org/articles_tutorials/exchange-server-2010/management-administration/offline-address-book-part2.html

What are the top Lync Server 2010 features I need to know about?
http://blogs.technet.com/b/ucedsg/archive/2010/09/19/what-are-the-top-lync-server-2010-features-i-need-to-know-about.aspx

The revised CPU sizing formula
http://eightwone.com/2010/09/20/the-revised-cpu-sizing-formula/

Configuring Lync RC and Exchange 2010 Sp1 to Enable OWA as a Lync Endpoint
http://blogs.technet.com/b/ilvancri/archive/2010/09/22/configuring-exchange-2010-sp1-and-lync-rc-to-enable-owa-as-lync-endpoint.aspx

BlackBerry Enterprise Server and Exchange 2010 SP1
http://blogs.kraftkennedy.com/index.php/2010/09/22/blackberry-enterprise-server-and-exchange-2010-sp1/

Microsoft Security Advisory 2416728, the ASP.NET Vulnerability, and Exchange Server
http://msexchangeteam.com/archive/2010/09/23/456399.aspx

Microsoft Exchange 2010 with VMware VSphere on Cisco Unified Computing System with NetApp Storage
http://www.cisco.com/en/US/docs/solutions/Enterprise/Data_Center/App_Networking/Exchange_VSphere_UCS_NetApp.html

An Administrator’s First Look at PowerShell in Lync Server 2010 (Communications Server ’14’)
http://www.simple-talk.com/sysadmin/unified-messaging/an-administrators-first-look-at-powershell-in-lync-server-2010-(communications-server-14)/

Default settings for Exchange-related virtual directories in Exchange Server 2010
http://msexchangeteam.com/archive/2010/09/23/456396.aspx

Are You Sure Your Backups Are Working?
http://www.theemailadmin.com/2010/02/are-you-sure-your-backups-are-working/

Exchange 2010 on VMware
http://communities.netapp.com/docs/DOC-7535?REF_SOURCE=tot-1009

Fix for Event ID 2937 MSExchange ADAccess in Exchange 2010 SP1
http://www.expta.com/2010/09/fix-for-event-id-2937-msexchange.html

How migrating to Exchange Server 2010 can save money on storage
http://searchexchange.techtarget.com/news/1391655/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
http://msexchangeteam.com/archive/2010/09/27/456446.aspx

UPDATE: Microsoft Security Advisory 2416728, the ASP.NET Vulnerability, and Exchange Server
http://ms
exchangeteam.com/archive/2010/09/27/456453.aspx

Designing a Site Resilient Exchange 2010 Solution (Part 1)
http://www.msexchange.org/articles_tutorials/exchange-server-2010/high-availability-recovery/designing-site-resilient-exchange-2010-solution-part1.html?printversion

How to fix MSExchangeTransport Event ID 12014 on Edge and Hub Transport servers
http://www.expta.com/2010/09/how-to-fix-msexchangetransport-event-id.html

Lync Server 2010 RC Deployment – Part 1
http://blog.schertz.name/2010/09/lync2010rc-deployment-part1/

Lync Server 2010 RC Deployment – Part 2
http://blog.schertz.name/2010/09/lync2010rc-deployment-part2/

Lync Server 2010 RC Deployment – Part 3
http://blog.schertz.name/2010/10/lync2010rc-deployment-part3/