CAS vdir restore using PowerShell

Wow is all I have to say, this is a damm excellent article and script .. check it out:

Basically, it’s a script that will recreate your owa virtual directories from a previous xml export! ..I just added a comment .. to create the export run:

Get-ClientAccessServer | Get-OwaVirtualDirectory | ForEach{$x="";$x+=$_.Server;$x+="_";$x+=$_.Name;Write-Host $x;Get-OwaVirtualDirectory $_ | Export-Clixml "$x.xml"}
 I can feel an update to get-exchangeserverplus coming very soon!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.