I have a problem with PowerShell script in Tasks Sheduler in Windows Server 2008 R2. I try to run Sheduler Tasks which run batch file which run PowerShell script to Backup Farm and while I choose "Run only when user is logged on" script is working well but when I choose "Run wherther user i slogged on or not" script doesn't work and in Event Viewer I see Event 3351 which say below that Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'
Where is problem? Mayby I should add other user to SharePoint Shell Access?
I use SharePoint Foundarion, SQL Server 2008 and Windows Server 2008 R2
Thanks for help,