Link to home
Create AccountLog in
Avatar of Alex Young
Alex YoungFlag for United Kingdom of Great Britain and Northern Ireland

asked on

If Statements


What is the best way i am running a script for a few of our clients and basically i want to add the Exchange powershell snappins based on the exchange on that server with one script.

so for example i want

IF Exchange 2007 then run this to add the Exchange Commands
If exchange 2010 then run this

I've tried a few ways but none work anyone let me know the structure i would need.
Avatar of SubSun
Flag of India image

Link to home
Create an account to see this answer
Signing up is free. No credit card required.
Create Account