cancel
Showing results for 
Search instead for 
Did you mean: 

Problem faced when disabling throttling in Exchange 2010 SP2

Amine_MOUNADIR
Level 3

Hello, 

When i started disabling my vault system account using the script : 

SetEVThrottlingPolicy.ps1 -user mydomain\Administrateur

i recieved this error : 

 

Le terme « SetEVThrottlingPolicy.ps1 » n'est pas reconnu comme nom d'applet de commande, fonction, fichier de script ou
 programme exécutable. Vérifiez l'orthographe du nom, ou si un chemin d'accès existe, vérifiez que le chemin d'accès est correct et réessayez.
Au niveau de ligne : 1 Caractère : 26
+ SetEVThrottlingPolicy.ps1 <<<<  -User mydomain\Administrateur
    + CategoryInfo          : ObjectNotFound: (SetEVThrottlingPolicy.ps1:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
 
Any ideas about the resolution of this error !! 
 
Thanks in advence 
1 ACCEPTED SOLUTION

Accepted Solutions

AndrewB
Moderator
Moderator
Partner    VIP    Accredited

open exchange powershell from an exchange server. then .\SetEVThrottlingPolicy.ps1 -user domain\evserviceaccount

notice the exchange powershell, exchange server, and the .\ before the script name.

View solution in original post

8 REPLIES 8

Rob_Wilcox1
Level 6
Partner

Did you run this from a PowerShell prompt?

Did you run it from an Exchange server?

Working for cloudficient.com

AndrewB
Moderator
Moderator
Partner    VIP    Accredited

open exchange powershell from an exchange server. then .\SetEVThrottlingPolicy.ps1 -user domain\evserviceaccount

notice the exchange powershell, exchange server, and the .\ before the script name.

Rob_Wilcox1
Level 6
Partner

Amine - Did this solve the issue for you?

Working for cloudficient.com

Amine_MOUNADIR
Level 3

Thank you for your replys,

I still have the same problem,

When i'm typing the .\SetEVTrottlingPolicy.ps1 -user domain\evserviceaccount i have this error message :

  

TonySterling
Moderator
Moderator
Partner    VIP    Accredited Certified

Did you copy the SetEVThrottlingPolicy.ps1 to the Exchange server and is it in that directory?

Amine_MOUNADIR
Level 3

Thank you all for your replys, 

Now it works fine,

but in a DAG environnement do we need to run the .\SetEVTrottlingPolicy.ps1 -user domain\evserviceaccount for each server member of the DAG ? if yes do we have to change the evserviceaccount or we use the same ? 

AndrewB
Moderator
Moderator
Partner    VIP    Accredited

it's just run once per service account so only one time :)

Rob_Wilcox1
Level 6
Partner

No, you only run it once per forest.

Working for cloudficient.com