<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Computer Support &#187; mount</title>
	<atom:link href="http://www.xiitec.com/blog/tag/mount/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xiitec.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 30 Dec 2009 08:40:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Mounting and Dismounting Mailbox Stores</title>
		<link>http://www.xiitec.com/blog/2008/11/10/mounting-and-dismounting-mailbox-stores/</link>
		<comments>http://www.xiitec.com/blog/2008/11/10/mounting-and-dismounting-mailbox-stores/#comments</comments>
		<pubDate>Mon, 10 Nov 2008 23:21:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Exchange server 2003]]></category>
		<category><![CDATA[dismount]]></category>
		<category><![CDATA[mailbox stores]]></category>
		<category><![CDATA[mount]]></category>

		<guid isPermaLink="false">http://www.xiitec.com/blog/?p=228</guid>
		<description><![CDATA[There will be times that you need to dismount a mailbox store on the fly. This could be for integrity checking, mailbox restorations, or to make email unavailable to some users for some reason. When you dismount a mailbox store, users with mailboxes in that store will be unable to retrieve their mail; users with [...]]]></description>
			<content:encoded><![CDATA[<p>There will be times that you need to dismount a mailbox store on the fly. This could be for integrity checking, mailbox restorations, or to make email unavailable to some users for some reason. When you dismount a mailbox store, users with mailboxes in that store will be unable to retrieve their mail; users with mailboxes in other mailbox stores will be unaffected.</p>
<p><span id="more-228"></span><br />
Using a graphical user interface</p>
<ol type="1">
<li>Open the Exchange System Manager (ESM) snap-in.</li>
<li> In the left pane, browse to the server and storage group that  contains the mailbox store you want to manipulate.</li>
<li> Right-click on the mailbox store and select <span class="docEmphBold">Dismount Store</span>.</li>
<li> Click <span class="docEmphBold">Yes</span> when prompted to  continue.</li>
</ol>
<h3>Using VBScript</h3>
<pre>' This code mounts/dismounts a Mailbox Store.</pre>
<pre>' ------ SCRIPT CONFIGURATION ------</pre>
<pre>strServer  = "<tt><em>&lt;Exchange Server&gt;</em></tt>"     ' e.g., ExchServer2

strSGName  = "<tt><em>&lt;Storage Group Name&gt;</em></tt>"  ' e.g., SG1

strMailStoreName = "<tt><em>&lt;Database Name&gt;</em></tt>" ' e.g., DB1

' ------ END CONFIGURATION ---------' Find Storage Group URL

strSearch = "CN=" &amp; strSGName  &amp; ","

set objSrv = CreateObject("CDOEXM.ExchangeServer")

objSrv.DataSource.Open strServer

for each sg in oSrv.StorageGroups

if (instr(1,sg,strSearch,1)&gt;0) then strSGUrl = sg

next

' Generate Mailbox Store URL

strMBUrl = "LDAP://CN=" &amp; strMailStoreName &amp; "," &amp; strSGUrl

' Open Mailbox Store

set objMb = CreateObject("CDOEXM.MailBoxStoreDB")

objMb.DataSource.Open strMBUrl

if (objMb.Status = 0) then

Wscript.Echo "Mailbox store is mounted, dismounting..."

objMb.Dismount

else

Wscript.Echo "Mailbox store is dismounted, mounting..."

objMb.Mount

end if

Wscript.Echo "Script completed successfully."</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.xiitec.com/blog/2008/11/10/mounting-and-dismounting-mailbox-stores/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

