Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

August 28, 2007 12:00 AM

Using Windows PowerShell to Enable LCR

Windows IT Pro
InstantDoc ID #96887
Rating: (0)
Downloads
96887.zip

A new command-line environment like Windows PowerShell might be a little intimidating. But, believe it or not, PowerShell and its Exchange Server 2007 extension, Exchange Management Shell, are easy to use and even intuitive. Listing A shows sample syntax for the command you’d need to enable Local Continuous Replication (LCR) on an existing storage group (SG).

The first command, Enable-DatabaseCopy, indicates the order in which to “seed” the mailbox database. (As mentioned in the main article, seeding refers to the creation of the starting point for the LCR version of the database file.) The command is also making a copy of the database from the specified Server/Storage Group/Database (which would be the full path to the .edb file) to the LCR passive-copy location path. The second command, Enable-StorageGroupCopy, is the path for copying the logs and system files. Listing B shows an example of these two commands in a real-world situation.

Now, you might say, “that looks great, but how would I know those commands in the first place?” One way to learn the commands is to use the Ctrl+C key combination while in Exchange Management Console to capture the underlying PowerShell commands for the actions you’re performing in the console. You might still want to use the GUI, but if you capture these commands and paste them into Notepad, you can easily see how they’re formed.

PowerShell commands are an essential aspect of administering Exchange 2007. And, if you’re interested in certification, having a working knowledge of the command functions is an absolute must in order to pass Exam 70-236, TS: Exchange Server 2007, Configuring. So don’t be afraid to dive in to the world of PowerShell.

Related Content:

ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.