This StackOverflow answer covers the options in the Node and PowerShell3 handlers. NOTE: This cmdlet works with the Powershell host that shipped with TFS 2015 RTM and which will be replaced with a new task runner. Whether this functionality will remain, is uncertain. If you want to know which variables