CmdID

CmdID / PowerShell / Cmdlets / New

New-ScheduledTaskSettingsSet

Creates a new scheduled task settings object. Windows Server PowerShell reference

From the Windows Server PowerShell reference 30 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

30 in the Windows Server PowerShell reference
Show its 30 parameters
-AllowStartIfOnBatteriesIndicates that Task Scheduler starts if the computer is running on battery power.
-AsJobRuns the cmdlet as a background job.
-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.
-CompatibilityIndicates which version of Task Scheduler with which a task is compatible.
-DeleteExpiredTaskAfterSpecifies the amount of time that Task Scheduler waits before deleting the task after it expires.
-DisableIndicates that the task is disabled.
-DisallowDemandStartIndicates that the task cannot be started by using either the Run command or the Context menu.
-DisallowHardTerminateIndicates that the task cannot be terminated by using TerminateProcess.
-DisallowStartOnRemoteAppSessionIndicates that the task does not start if the task is triggered to run in a Remote Applications Integrated Locally (RAIL) session.
-DontStopIfGoingOnBatteriesIndicates that the task does not stop if the computer switches to battery power.
-DontStopOnIdleEndIndicates that Task Scheduler does not terminate the task if the idle condition ends before the task is completed.
-ExecutionTimeLimitSpecifies the amount of time that Task Scheduler is allowed to complete the task.
-HiddenIndicates that the task is hidden in the Task Scheduler UI.
-IdleDurationSpecifies the amount of time that the computer must be in an idle state before Task Scheduler runs the task.
-IdleWaitTimeoutSpecifies the amount of time that Task Scheduler waits for an idle condition to occur.
-MaintenanceDeadlineSpecifies the amount of time after which Task Scheduler attempts to run the task during emergency Automatic maintenance, if the task failed to complete during regular Automatic maintenance.
-MaintenanceExclusiveIndicates that the task needs to run alone when it is started in maintenance mode.
-MaintenancePeriodSpecifies the amount of time that the task needs to run once during regular Automatic maintenance.
-MultipleInstancesSpecifies the policy that defines how Task Scheduler handles multiple instances of the task.
-NetworkIdSpecifies the ID of a network profile that Task Scheduler uses to determine if the task can run.
-NetworkNameSpecifies the name of a network profile that Task Scheduler uses to determine if the task can run.
-PrioritySpecifies the priority level of the task.
-RestartCountSpecifies the number of times that Task Scheduler attempts to restart the task.
-RestartIntervalSpecifies the amount of time that Task Scheduler attempts to restart the task.
-RestartOnIdleIndicates that Task Scheduler restarts the task when the computer cycles into an idle condition more than once.
-RunOnlyIfIdleIndicates that Task Scheduler runs the task only when the computer is idle.
-RunOnlyIfNetworkAvailableIndicates that Task Scheduler runs the task only when a network is available.
-StartWhenAvailableIndicates that Task Scheduler can start the task at any time after its scheduled time has passed.
-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.
-WakeToRunIndicates that Task Scheduler wakes the computer before it runs the task.