I have one PowerShell script which sends emails. I want to execute that script automatically, every 1 minute. How can I do it, using task scheduler?
Currently I have created a task and provided the path of my script. But that scheduler opens my script, instead of executing.
$PSVersionTable
in a PowerShell. PowerShell 2.0 is bundled by default with Windows 7. You can install the Windows Management Framework 4.0 to upgrade to PowerShell 4.0 – ChrisPSVersion
one. – Chris