Subscribe to Windows IT Pro

 

Get Newsletters

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

Subscribe Now!

December 06, 2007 12:00 AM

Setting Client Access Server and OWA Options

Windows IT Pro
InstantDoc ID #97757
Rating: (0)

I'd planned to write this week's UPDATE on the Set-OwaVirtualDirectory and Set-CASMailbox cmdlets. Knowing which settings to use and when to use them is an important part of managing your Exchange Server clients' experience. However, when I started researching this column, I was amazed to find that the Set-OwaVirtualDirectory cmdlet supports 77 distinct options, and Set-CASMailbox has almost as many. The Microsoft documentation mentions each of these options, but sometimes its coverage is pretty sparse. That's OK for commands such as

Set-CASMailbox -OwaTasksEnabled:$false

which is pretty self-explanatory—it turns off OWA's Tasks module for the selected users. However, there are other options whose meanings aren't quite so clear, and the similarity of options for the two cmdlets can be confusing. Here are a few things to know about these cmdlets to help you use them most efficiently.

First, think of the purpose of each of the commands: One sets options on an OWA virtual directory, and one sets options on an individual mailbox. Each of these cmdlets can be applied to multiple targets by using other cmdlets to identify the servers or mailboxes you want to modify, then piping those objects to the appropriate command. For example, if you want to turn off Tasks access for all users on an individual Mailbox server, you could use

Get-Mailbox -Server serverName | Set-CASMailbox -OwaTasksEnabled:$false

where serverName is the actual server's name. However, if you want to turn off Tasks access for all users who connect to a particular Client Access server, you would instead use

Set-OWAVirtualDirectory -TasksEnabled:$false

The first example turns off Tasks access for the user no matter what Client Access server they connect to; the second turns off access only when users connect through the specified Client Access server. As long as you keep this distinction in mind, you can enable or disable features for users or on servers, as appropriate.

Second, remember that most settings dealing with remote document access or viewing are associated with the Client Access server. For example, if you want to prevent users from easily opening attachments when they log on from a public computer, you'd use

Set-OWAVirtualDirectory -DirectFileAccessOnPublicComputersEnabled:$false

However, the settings that control Exchange-mediated access to SharePoint sites and Universal Naming Convention (UNC) file shares can be applied either to the mailbox or the server, depending on how you need to control access.

Next week, it's time for my annual Exchange administrator gift guide! I've been reviewing some interesting gadgets that I think will make good gifts. (And hey, if you have any experience with the Slingbox line of placeshifting devices, please drop me a line!) In the meantime, don't forget about our contest for the worst Exchange design or administrative mistake you've ever seen (or committed!). Submit your stories via email to update@robichaux.net by December 15, 2007.

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.