Forefront Protection 2010 for Exchange Server PowerShell
-
Saturday, February 16, 2013 3:29 AM
How can I install or use Forefront Protection 2010 for Exchange Server Powershell in a server that does not have ForeFront installed? I have a management server and I want to run ForeFront Powershell commands. I tried below add-pssnapin and got error
PS C:\> Add-PSSnapin FSSPSSnapIn
Add-PSSnapin : The Windows PowerShell snap-in 'FSSPSSnapIn' is not installed on
this machine.
At line:1 char:13
+ Add-PSSnapin <<<< FSSPSSnapIn
+ CategoryInfo : InvalidArgument: (FSSPSSnapIn:String) [Add-PSSna
pin], PSArgumentException
+ FullyQualifiedErrorId : AddPSSnapInRead,Microsoft.PowerShell.Commands.Ad
dPSSnapinCommandAppreciate your assistance.
A. Zaher
All Replies
-
Saturday, February 16, 2013 8:26 AM
Hi,
I don't think this is possible because the powershell commands of FPE don't support remote management. What you can do is to use powershell remoting to manage FPE from your management machine.
Greetings
Christian
Christian Groebner MVP Forefront
- Marked As Answer by Nick Gu - MSFTMicrosoft Contingent Staff, Moderator Monday, February 25, 2013 3:55 AM
-
Saturday, February 16, 2013 5:40 PM
Thanks Christian for the reply...
I will try your suggestion and see how it goes.
Regards,
A. Zaher
-
Wednesday, February 20, 2013 8:44 PM
Hi Christian,
Your suggestion to use Powershell remoting was good and nice if I want to get information about FPE for one server. In my case, I have around 64 servers which I wanted to grab information about FSEHealth so I had to use another option which is in the brilliant command Invoke-Command :)
I created a list of my servers and run below command:-
Invoke-Command -Computername XXX -ScriptBlock {Add-PSSnapin FSSPSSnapIn;Get-FSEHealth}
Thanks,
A. Zaher

