I am having some question regarding captcha and AntiForgeryToken


Do I need to use captcha if I am using AntiForgeryToken  in an MVC application.
Does AntiForgeryToken prevents automated form submission?
Can I use AntiForgeryToken as an alternative to captcha?



Question: SQL Agent powershell context reference
Answer: If you look in SQL Server BOL, SQL Server Agent provides a set of "tokens" that it will substitute into both the job step command text and the output file (the later will prevent the GUI "view" button from working). These tokens seem to work for any type of step except T-SQL. 

http://msdn.microsoft.com/en-us/library/ms175575.aspx

So, if you have a SQL 2008 PowerShell step, you can start it with:

$sqlInstance = "$(ESCAPE_DQUOTE(SRVR))"

You may need to use MACH (machine name) and INST (just instance name) instead, because with the default instance SRVR == MACH, but with named instances SRVR == MACH\INST.