Run Python script scheduled on Windows Server

From ToWaSo
Revision as of 05:34, 11 June 2020 by Tobias (talk | contribs) (Created page with "This example shows how to automate execution of Python scripts using the Scheduler from Windows Server. In this example I'm assuming that the python.exe is in your PATH. You...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This example shows how to automate execution of Python scripts using the Scheduler from Windows Server. In this example I'm assuming that the python.exe is in your PATH.

You can try running your command in a command prompt first:

python C:\pathtoyourscript\myScript.py
Get-PhysicalDisk | ft FriendlyName,CanPool,Size,MediaType,cannotpoolreason