Exchange 2007 Std. I keep getting 'new-publicfolderdatabase' is not recognized as an internal or external command,

Exchange 2007 Std.
Hello,
I keep getting the following error message in my DOS prompt when I try to use the EMS:
'new-publicfolderdatabase' is not recognized as an internal or external command

i am trying this on the partition that Exchange is installed on, and I have even gone to the extent of launching it from the following directory:  G:\Program Files\Microsoft\Exchange Server

Thansa
cliffordgormleyAsked:
Who is Participating?
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.

spyordie007Commented:
That's because you're not running the command from the Exchange Management Shell (running under PowerShell)

You'll need to bring up the EMS specifically where the new-publicfolderdatabase is registered (start>all programs>exchange 2007>exchange management shell).

"...is not recognized as an internal or external command" is what you get when you try and run a powershell command from the standard Windows command prompt (which BTW, is not the same thing as DOS).

Cheers,
Erik
0

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
Exchange

From novice to tech pro — start learning today.