abaria
asked on
Exchange 2010 Powershell
I recently installed Exchange 2010 in my existing Exchange 2003 environment. Everytime I try to run any powershell commands, It keeps giving me errors. eg 'get-mailboxstatistics' is not recognized as the name of cmdlet. Do I need to do anything special before I run these powershell commands?
Ash
Ash
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Try opening Powershell -- Right click --- > 'Run as Administrator' and check if it helps.
- LLL
- LLL
ASKER
Thanks everyone for the answers. Here is another link that works as well.
http://www.anisjendoubi.com/tag/add-pssnapin/
Thanks!
Ash
http://www.anisjendoubi.com/tag/add-pssnapin/
Thanks!
Ash
ASKER
Thanks
http://blogs.microsoft.co.il/blogs/scriptfanatic/archive/2011/01/02/how-to-expand-strings-and-environment-variables-in-powershell.aspx