Disable Remote Exchange Management Shell for a User
Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2
Topic Last Modified: 2011-03-19
Remote Shell in Microsoft Exchange Server 2010 enables you to manage your server running Exchange 2010 from a remote computer, either on your network or from the Internet. If remote Shell is disabled for a user, it can't be used by the user. For more information about remote Shell, see Overview of Exchange Management Shell.
Looking for other management tasks related to remote Shell? Check out Managing Exchange Management Shell Connections.
You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Remote Shell" entry in the Exchange and Shell Infrastructure Permissions topic.
|You can't use the EMC to disable remote Shell for a user.|
To disable remote Shell for a user, set the RemotePowerShellEnabled parameter to
$False on the Set-User cmdlet. This example disables remote Shell for the user David.
Set-User David -RemotePowerShellEnabled $False
For detailed syntax and parameter information, see Set-User.