Restoring Client Access Server configuration

I have created a test server environment to practice disaster recovery in my Exchange environment.  We have a Mail server installed with the typical setup (Mailbox/Hub Transport/Client Access).

I have successfully restored the mailboxes and the hub transport, however when I follow Microsoft's tutorial on how to restore the Client Access portion, I get an error message.

I am referencing this site:

When I run the command:
get-owavirtualdirectory "owa (default web site)" | export-clixml owa.xml -depth 1

It successfully creates the owa.xml file

However, when I run the script that I saved as restorevdir.ps1 , I get the following error message from the Exchange Shell:

New-OwaVirtualDirectory : Command execution stopped because the shell variable "ErrorActionPreference" is set to Stop: The virtual directory 'owa' already exists under ' Web Site'.
Parameter name: VirtualDirectoryName
At C:\Program Files\Microsoft\Exchange Server\bin\restorevdir.ps1:71 char:24
+ new-owavirtualdirectory <<<< -website $ -internalurl $vdir.internalurl -externalurl $vdir.externalurl

I have absolutely no idea what this means.  Can anyone help me edit the script so that it runs successfully?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jamorlandoAuthor Commented:
Ugh, literally 1 minute after I posted this after I had been scratching my head for an hour, I found this link and solved my problem.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.