Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run powershell as restricet user

Status
Not open for further replies.

bTkalternate

IS-IT--Management
May 31, 2007
80
GB
Hi,

Do you know how I can run powershell as a user with read only rights i.e. unable to use "set-"
If I log in to my machine as a domain admin and run powershell there is a possibility I use set- instead of get-.
Is there a way I can avoid the issue even though its not likely to occur.

Thanks,
b
 
You restrict what that user account can do on your Exchange server. Remove any delegated rights for Domain Admins. Customize as/if needed.

Pat Richard MVP
Plan for performance, and capacity takes care of itself. Plan for capacity, and suffer poor performance.
 
I appreciate what you are saying and I have done that already.

I still would like to know if my original question is possible.

Thanks
 
I've answered your question. If they don't have the rights to do tasks in Exchange, they can't execute the commands in PowerShell.

Pat Richard MVP
Plan for performance, and capacity takes care of itself. Plan for capacity, and suffer poor performance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top