good day, i am trying to launch an Exchange 2010 powershell script:
.ps1 script looks like this:
get-mailboxdatabase "Mailbox Database Prod-DB01" | get-mailbox | add-mailboxpermission -user Joe_Smith -accessrights fullaccess -inheritancetype all
this runs fine if i run it from the server. c:\scripts\setrights.ps1
however it will not run in task manager?
please advise.. thx