Viewing 4 posts - 1 through 4 (of 4 total)
use [master]
GO
GRANT ALTER ANY CONNECTION TO [**USER**]
GO
use [master]
GO
GRANT VIEW SERVER STATE TO [**USER**]
GO
September 19, 2013 at 10:19 am
You can run SP_who2 with "View Server State" permissions.
grant ALTER ANY CONNECTION to USER, will allow you to kill user sessions.
September 19, 2013 at 6:52 am
Take a look at these links for example powershell scripts. To schedule the task add a new job step using powershell as the type.
http://gallery.technet.microsoft.com/Powershell-script-to-ed34c5f9
September 19, 2013 at 2:23 am
Does your maintenance plan fail? You could add a powershell step to the job to remove files older than 7 days.
September 18, 2013 at 5:00 am
Viewing 4 posts - 1 through 4 (of 4 total)