|
|
PS_ScheduledTask, ROOT\Microsoft\Windows\TaskScheduler
Class
| Methods (24)
| Properties | Qualifiers (4)
| Instances | Namespaces (1)
Samples: VB Script
| C#
| VB.Net
| Search on:Microsoft
Description98
PS_ScheduledTask methodsPS_ScheduledTask has 24 methods (24 Local)
Detailed description of PS_ScheduledTask methodsLocal methods (24) of PS_ScheduledTask class| ▲ DisableByName method |
|---|
| Return | uint32 {'out':True} |
|---|
| Parameters | | Name | CIMType | ID | IN | OUT | Qualifiers | |
|---|
| TaskName | string | 0 | ✓ | - | {'Description':'92','In':True} | | TaskPath | string | 1 | ✓ | - | {'Description':'89','In':True} | | cmdletOutput | object:MSFT_ScheduledTask | 2 | - | ✓ | {'EmbeddedInstance':'MSFT_ScheduledTask','Out':True} |
|
|---|
| Description | '96' |
|---|
| implemented | True |
|---|
| static | True |
|---|
| DisableByName method is in 1 class (PS_ScheduledTask) of ROOT\Microsoft\Windows\TaskScheduler and in 1 namespace |
| ▲ DisableByObject method |
|---|
| Return | uint32 {'out':True} |
|---|
| Parameters | |
|---|
| Description | '96' |
|---|
| implemented | True |
|---|
| static | True |
|---|
| DisableByObject method is in 1 class (PS_ScheduledTask) of ROOT\Microsoft\Windows\TaskScheduler and in 1 namespace |
| ▲ EnableByName method |
|---|
| Return | uint32 {'out':True} |
|---|
| Parameters | | Name | CIMType | ID | IN | OUT | Qualifiers | |
|---|
| TaskName | string | 0 | ✓ | - | {'Description':'92','In':True} | | TaskPath | string | 1 | ✓ | - | {'Description':'89','In':True} | | cmdletOutput | object:MSFT_ScheduledTask | 2 | - | ✓ | {'EmbeddedInstance':'MSFT_ScheduledTask','Out':True} |
|
|---|
| Description | '95' |
|---|
| implemented | True |
|---|
| static | True |
|---|
| EnableByName method is in 1 class (PS_ScheduledTask) of ROOT\Microsoft\Windows\TaskScheduler and in 1 namespace |
| ▲ EnableByObject method |
|---|
| Return | uint32 {'out':True} |
|---|
| Parameters | |
|---|
| Description | '95' |
|---|
| implemented | True |
|---|
| static | True |
|---|
| EnableByObject method is in 1 class (PS_ScheduledTask) of ROOT\Microsoft\Windows\TaskScheduler and in 1 namespace |
| ▲ ExportByName method |
|---|
| Return | uint32 {'out':True} |
|---|
| Parameters | | Name | CIMType | ID | IN | OUT | Qualifiers | |
|---|
| TaskName | string | 0 | ✓ | - | {'Description':'92','In':True} | | TaskPath | string | 1 | ✓ | - | {'Description':'93','In':True} | | cmdletOutput | string | 2 | - | ✓ | {'Out':True} |
|
|---|
| Description | '91' |
|---|
| implemented | True |
|---|
| static | True |
|---|
| ExportByName method is in 1 class (PS_ScheduledTask) of ROOT\Microsoft\Windows\TaskScheduler and in 1 namespace |
| ▲ ExportByObject method |
|---|
| Return | uint32 {'out':True} |
|---|
| Parameters | | Name | CIMType | ID | IN | OUT | Qualifiers | |
|---|
| InputObject | object:MSFT_ScheduledTask | 0 | ✓ | - | {'Description':'94','EmbeddedInstance':'MSFT_ScheduledTask','In':True} | | cmdletOutput | string | 1 | - | ✓ | {'Out':True} |
|
|---|
| Description | '91' |
|---|
| implemented | True |
|---|
| static | True |
|---|
| ExportByObject method is in 1 class (PS_ScheduledTask) of ROOT\Microsoft\Windows\TaskScheduler and in 1 namespace |
| ▲ GetInfoByName method |
|---|
| Return | uint32 {'out':True} |
|---|
| Parameters | | Name | CIMType | ID | IN | OUT | Qualifiers | |
|---|
| TaskName | string | 0 | ✓ | - | {'Description':'88','In':True} | | TaskPath | string | 1 | ✓ | - | {'Description':'89','In':True} | | cmdletOutput | object:MSFT_TaskDynamicInfo | 2 | - | ✓ | {'EmbeddedInstance':'MSFT_TaskDynamicInfo','Out':True} |
|
|---|
| Description | '87' |
|---|
| implemented | True |
|---|
| static | True |
|---|
| GetInfoByName method is in 1 class (PS_ScheduledTask) of ROOT\Microsoft\Windows\TaskScheduler and in 1 namespace |
| ▲ GetInfoByObject method |
|---|
| Return | uint32 {'out':True} |
|---|
| Parameters | |
|---|
| Description | '87' |
|---|
| implemented | True |
|---|
| static | True |
|---|
| GetInfoByObject method is in 1 class (PS_ScheduledTask) of ROOT\Microsoft\Windows\TaskScheduler and in 1 namespace |
| ▲ New method |
|---|
| Return | uint32 {'out':True} |
|---|
| Parameters | | Name | CIMType | ID | IN | OUT | Qualifiers | |
|---|
| Action | object:MSFT_TaskAction | 0 | ✓ | - | {'Description':'31','EmbeddedInstance':'MSFT_TaskAction','In':True} | | Description | string | 1 | ✓ | - | {'Description':'32','In':True} | | Principal | object:MSFT_TaskPrincipal | 2 | ✓ | - | {'Description':'85','EmbeddedInstance':'MSFT_TaskPrincipal','In':True} | | Settings | object:MSFT_TaskSettings | 3 | ✓ | - | {'Description':'33','EmbeddedInstance':'MSFT_TaskSettings','In':True} | | Trigger | object:MSFT_TaskTrigger | 4 | ✓ | - | {'Description':'86','EmbeddedInstance':'MSFT_TaskTrigger','In':True} | | cmdletOutput | object:MSFT_ScheduledTask | 5 | - | ✓ | {'EmbeddedInstance':'MSFT_ScheduledTask','Out':True} |
|
|---|
| Description | '90' |
|---|
| implemented | True |
|---|
| static | True |
|---|
| New method is in 1 class (PS_ScheduledTask) of ROOT\Microsoft\Windows\TaskScheduler and in 5 namespaces |
| ▲ NewActionByExec method |
|---|
| Return | uint32 {'out':True} |
|---|
| Parameters | | Name | CIMType | ID | IN | OUT | Qualifiers | |
|---|
| Id | string | 0 | ✓ | - | {'Description':'37','In':True} | | Execute | string | 1 | ✓ | - | {'Description':'38','In':True} | | Argument | string | 2 | ✓ | - | {'Description':'39','In':True} | | WorkingDirectory | string | 3 | ✓ | - | {'Description':'40','In':True} | | cmdletOutput | object:MSFT_TaskAction | 4 | - | ✓ | {'EmbeddedInstance':'MSFT_TaskAction','Out':True} |
|
|---|
| Description | '36' |
|---|
| implemented | True |
|---|
| static | True |
|---|
| NewActionByExec method is in 1 class (PS_ScheduledTask) of ROOT\Microsoft\Windows\TaskScheduler and in 1 namespace |
| ▲ NewPrincipalByGroup method |
|---|
| Return | uint32 {'out':True} |
|---|
| Parameters | | Name | CIMType | ID | IN | OUT | Qualifiers | |
|---|
| GroupId | string | 0 | ✓ | - | {'Description':'42','In':True} | | Id | string | 1 | ✓ | - | {'Description':'43','In':True} | | RunLevel | sint32 | 2 | ✓ | - | {'Description':'44','In':True} | | ProcessTokenSidType | sint32 | 3 | ✓ | - | {'Description':'45','In':True} | | RequiredPrivilege | string | 4 | ✓ | - | {'Description':'46','In':True} | | cmdletOutput | object:MSFT_TaskPrincipal | 5 | - | ✓ | {'EmbeddedInstance':'MSFT_TaskPrincipal','Out':True} |
|
|---|
| Description | '41' |
|---|
| implemented | True |
|---|
| static | True |
|---|
| NewPrincipalByGroup method is in 1 class (PS_ScheduledTask) of ROOT\Microsoft\Windows\TaskScheduler and in 1 namespace |
| ▲ NewPrincipalByUser method |
|---|
| Return | uint32 {'out':True} |
|---|
| Parameters | | Name | CIMType | ID | IN | OUT | Qualifiers | |
|---|
| UserId | string | 0 | ✓ | - | {'Description':'47','In':True} | | LogonType | sint32 | 1 | ✓ | - | {'In':True} | | Id | string | 2 | ✓ | - | {'Description':'43','In':True} | | ProcessTokenSidType | sint32 | 3 | ✓ | - | {'Description':'45','In':True} | | RequiredPrivilege | string | 4 | ✓ | - | {'Description':'46','In':True} | | RunLevel | sint32 | 5 | ✓ | - | {'Description':'44','In':True} | | cmdletOutput | object:MSFT_TaskPrincipal | 6 | - | ✓ | {'EmbeddedInstance':'MSFT_TaskPrincipal','Out':True} |
|
|---|
| Description | '41' |
|---|
| implemented | True |
|---|
| static | True |
|---|
| NewPrincipalByUser method is in 1 class (PS_ScheduledTask) of ROOT\Microsoft\Windows\TaskScheduler and in 1 namespace |
| ▲ NewSettings method |
|---|
| Return | uint32 {'out':True} |
|---|
| Parameters | | Name | CIMType | ID | IN | OUT | Qualifiers | |
|---|
| DisallowDemandStart | boolean | 0 | ✓ | - | {'Description':'49','In':True} | | DisallowHardTerminate | boolean | 1 | ✓ | - | {'Description':'50','In':True} | | Compatibility | sint32 | 2 | ✓ | - | {'Description':'51','In':True} | | DeleteExpiredTaskAfter | datetime | 3 | ✓ | - | {'Description':'52','In':True} | | AllowStartIfOnBatteries | boolean | 4 | ✓ | - | {'Description':'53','In':True} | | Disable | boolean | 5 | ✓ | - | {'Description':'54','In':True} | | MaintenanceExclusive | boolean | 6 | ✓ | - | {'Description':'55','In':True} | | Hidden | boolean | 7 | ✓ | - | {'Description':'56','In':True} | | RunOnlyIfIdle | boolean | 8 | ✓ | - | {'Description':'57','In':True} | | IdleWaitTimeout | datetime | 9 | ✓ | - | {'Description':'58','In':True} | | NetworkId | string | 10 | ✓ | - | {'Description':'59','In':True} | | NetworkName | string | 11 | ✓ | - | {'Description':'60','In':True} | | DisallowStartOnRemoteAppSession | boolean | 12 | ✓ | - | {'Description':'61','In':True} | | MaintenancePeriod | datetime | 13 | ✓ | - | {'Description':'62','In':True} | | MaintenanceDeadline | datetime | 14 | ✓ | - | {'Description':'63','In':True} | | StartWhenAvailable | boolean | 15 | ✓ | - | {'Description':'64','In':True} | | DontStopIfGoingOnBatteries | boolean | 16 | ✓ | - | {'Description':'65','In':True} | | WakeToRun | boolean | 17 | ✓ | - | {'Description':'66','In':True} | | IdleDuration | datetime | 18 | ✓ | - | {'Description':'67','In':True} | | RestartOnIdle | boolean | 19 | ✓ | - | {'Description':'68','In':True} | | DontStopOnIdleEnd | boolean | 20 | ✓ | - | {'Description':'69','In':True} | | ExecutionTimeLimit | datetime | 21 | ✓ | - | {'Description':'70','In':True} | | MultipleInstances | sint32 | 22 | ✓ | - | {'Description':'71','In':True} | | Priority | sint32 | 23 | ✓ | - | {'Description':'72','In':True} | | RestartCount | sint32 | 24 | ✓ | - | {'Description':'73','In':True} | | RestartInterval | datetime | 25 | ✓ | - | {'Description':'74','In':True} | | RunOnlyIfNetworkAvailable | boolean | 26 | ✓ | - | {'Description':'75','In':True} | | cmdletOutput | object:MSFT_TaskSettings | 27 | - | ✓ | {'EmbeddedInstance':'MSFT_TaskSettings','Out':True} |
|
|---|
| Description | '48' |
|---|
| implemented | True |
|---|
| static | True |
|---|
| NewSettings method is in 1 class (PS_ScheduledTask) of ROOT\Microsoft\Windows\TaskScheduler and in 1 namespace |
| ▲ RegisterByObject method |
|---|
| Return | uint32 {'out':True} |
|---|
| Parameters | | Name | CIMType | ID | IN | OUT | Qualifiers | |
|---|
| Force | boolean | 0 | ✓ | - | {'Description':'23','In':True} | | InputObject | object:MSFT_ScheduledTask | 1 | ✓ | - | {'Description':'24','EmbeddedInstance':'MSFT_ScheduledTask','In':True} | | Password | string | 2 | ✓ | - | {'Description':'25','In':True} | | User | string | 3 | ✓ | - | {'Description':'26','In':True} | | TaskName | string | 4 | ✓ | - | {'Description':'27','In':True} | | TaskPath | string | 5 | ✓ | - | {'Description':'28','In':True} | | cmdletOutput | object:MSFT_ScheduledTask | 6 | - | ✓ | {'Description':'29','EmbeddedInstance':'MSFT_ScheduledTask','Out':True} |
|
|---|
| Description | '22' |
|---|
| implemented | True |
|---|
| static | True |
|---|
| RegisterByObject method is in 2 classes of ROOT\Microsoft\Windows\TaskScheduler and in 1 namespace |
| ▲ RegisterByPrincipal method |
|---|
| Return | uint32 {'out':True} |
|---|
| Parameters | | Name | CIMType | ID | IN | OUT | Qualifiers | |
|---|
| Force | boolean | 0 | ✓ | - | {'Description':'23','In':True} | | Principal | object:MSFT_TaskPrincipal | 1 | ✓ | - | {'Description':'30','EmbeddedInstance':'MSFT_TaskPrincipal','In':True} | | Action | object:MSFT_TaskAction | 2 | ✓ | - | {'Description':'31','EmbeddedInstance':'MSFT_TaskAction','In':True} | | Description | string | 3 | ✓ | - | {'Description':'32','In':True} | | TaskPath | string | 4 | ✓ | - | {'Description':'28','In':True} | | Settings | object:MSFT_TaskSettings | 5 | ✓ | - | {'Description':'33','EmbeddedInstance':'MSFT_TaskSettings','In':True} | | Trigger | object:MSFT_TaskTrigger | 6 | ✓ | - | {'Description':'34','EmbeddedInstance':'MSFT_TaskTrigger','In':True} | | TaskName | string | 7 | ✓ | - | {'Description':'27','In':True} | | cmdletOutput | object:MSFT_ScheduledTask | 8 | - | ✓ | {'Description':'29','EmbeddedInstance':'MSFT_ScheduledTask','Out':True} |
|
|---|
| Description | '22' |
|---|
| implemented | True |
|---|
| static | True |
|---|
| RegisterByPrincipal method is in 1 class (PS_ScheduledTask) of ROOT\Microsoft\Windows\TaskScheduler and in 1 namespace |
| ▲ RegisterByUser method |
|---|
| Return | uint32 {'out':True} |
|---|
| Parameters | | Name | CIMType | ID | IN | OUT | Qualifiers | |
|---|
| Force | boolean | 0 | ✓ | - | {'Description':'23','In':True} | | TaskPath | string | 1 | ✓ | - | {'Description':'28','In':True} | | Trigger | object:MSFT_TaskTrigger | 2 | ✓ | - | {'Description':'34','EmbeddedInstance':'MSFT_TaskTrigger','In':True} | | Settings | object:MSFT_TaskSettings | 3 | ✓ | - | {'Description':'33','EmbeddedInstance':'MSFT_TaskSettings','In':True} | | Description | string | 4 | ✓ | - | {'Description':'32','In':True} | | User | string | 5 | ✓ | - | {'Description':'26','In':True} | | Password | string | 6 | ✓ | - | {'Description':'25','In':True} | | Action | object:MSFT_TaskAction | 7 | ✓ | - | {'Description':'31','EmbeddedInstance':'MSFT_TaskAction','In':True} | | RunLevel | sint32 | 8 | ✓ | - | {'In':True} | | TaskName | string | 9 | ✓ | - | {'Description':'27','In':True} | | cmdletOutput | object:MSFT_ScheduledTask | 10 | - | ✓ | {'Description':'29','EmbeddedInstance':'MSFT_ScheduledTask','Out':True} |
|
|---|
| Description | '22' |
|---|
| implemented | True |
|---|
| static | True |
|---|
| RegisterByUser method is in 1 class (PS_ScheduledTask) of ROOT\Microsoft\Windows\TaskScheduler and in 1 namespace |
| ▲ RegisterByXml method |
|---|
| Return | uint32 {'out':True} |
|---|
| Parameters | | Name | CIMType | ID | IN | OUT | Qualifiers | |
|---|
| Force | boolean | 0 | ✓ | - | {'Description':'23','In':True} | | Xml | string | 1 | ✓ | - | {'Description':'35','In':True} | | Password | string | 2 | ✓ | - | {'Description':'25','In':True} | | User | string | 3 | ✓ | - | {'Description':'26','In':True} | | TaskPath | string | 4 | ✓ | - | {'Description':'28','In':True} | | TaskName | string | 5 | ✓ | - | {'Description':'27','In':True} | | cmdletOutput | object:MSFT_ScheduledTask | 6 | - | ✓ | {'Description':'29','EmbeddedInstance':'MSFT_ScheduledTask','Out':True} |
|
|---|
| Description | '22' |
|---|
| implemented | True |
|---|
| static | True |
|---|
| RegisterByXml method is in 2 classes of ROOT\Microsoft\Windows\TaskScheduler and in 1 namespace |
| ▲ SetByPrincipal method |
|---|
| Return | uint32 {'out':True} |
|---|
| Parameters | | Name | CIMType | ID | IN | OUT | Qualifiers | |
|---|
| Principal | object:MSFT_TaskPrincipal | 0 | ✓ | - | {'Description':'85','EmbeddedInstance':'MSFT_TaskPrincipal','In':True} | | Action | object:MSFT_TaskAction | 1 | ✓ | - | {'Description':'31','EmbeddedInstance':'MSFT_TaskAction','In':True} | | TaskPath | string | 2 | ✓ | - | {'Description':'28','In':True} | | Settings | object:MSFT_TaskSettings | 3 | ✓ | - | {'Description':'33','EmbeddedInstance':'MSFT_TaskSettings','In':True} | | Trigger | object:MSFT_TaskTrigger | 4 | ✓ | - | {'Description':'86','EmbeddedInstance':'MSFT_TaskTrigger','In':True} | | TaskName | string | 5 | ✓ | - | {'Description':'27','In':True} | | cmdletOutput | object:MSFT_ScheduledTask | 6 | - | ✓ | {'EmbeddedInstance':'MSFT_ScheduledTask','Out':True} |
|
|---|
| Description | '84' |
|---|
| implemented | True |
|---|
| static | True |
|---|
| SetByPrincipal method is in 1 class (PS_ScheduledTask) of ROOT\Microsoft\Windows\TaskScheduler and in 1 namespace |
| ▲ SetByUser method |
|---|
| Return | uint32 {'out':True} |
|---|
| Parameters | | Name | CIMType | ID | IN | OUT | Qualifiers | |
|---|
| Action | object:MSFT_TaskAction | 0 | ✓ | - | {'Description':'31','EmbeddedInstance':'MSFT_TaskAction','In':True} | | TaskPath | string | 1 | ✓ | - | {'Description':'28','In':True} | | Settings | object:MSFT_TaskSettings | 2 | ✓ | - | {'Description':'33','EmbeddedInstance':'MSFT_TaskSettings','In':True} | | Trigger | object:MSFT_TaskTrigger | 3 | ✓ | - | {'Description':'86','EmbeddedInstance':'MSFT_TaskTrigger','In':True} | | Password | string | 4 | ✓ | - | {'Description':'25','In':True} | | User | string | 5 | ✓ | - | {'Description':'26','In':True} | | TaskName | string | 6 | ✓ | - | {'Description':'27','In':True} | | cmdletOutput | object:MSFT_ScheduledTask | 7 | - | ✓ | {'EmbeddedInstance':'MSFT_ScheduledTask','Out':True} |
|
|---|
| Description | '84' |
|---|
| implemented | True |
|---|
| static | True |
|---|
| SetByUser method is in 1 class (PS_ScheduledTask) of ROOT\Microsoft\Windows\TaskScheduler and in 1 namespace |
| ▲ StartByObject method |
|---|
| Return | uint32 {'out':True} |
|---|
| Parameters | | Name | CIMType | ID | IN | OUT | Qualifiers | |
|---|
| InputObject | object:MSFT_ScheduledTask | 0 | ✓ | - | {'Description':'77','EmbeddedInstance':'MSFT_ScheduledTask','In':True} |
|
|---|
| Description | '76' |
|---|
| implemented | True |
|---|
| static | True |
|---|
| StartByObject method is in 1 class (PS_ScheduledTask) of ROOT\Microsoft\Windows\TaskScheduler and in 1 namespace |
| ▲ StartByPath method |
|---|
| Return | uint32 {'out':True} |
|---|
| Parameters | | Name | CIMType | ID | IN | OUT | Qualifiers | |
|---|
| TaskPath | string | 0 | ✓ | - | {'Description':'78','In':True} | | TaskName | string | 1 | ✓ | - | {'Description':'79','In':True} |
|
|---|
| Description | '76' |
|---|
| implemented | True |
|---|
| static | True |
|---|
| StartByPath method is in 1 class (PS_ScheduledTask) of ROOT\Microsoft\Windows\TaskScheduler and in 1 namespace |
| ▲ StopByObject method |
|---|
| Return | uint32 {'out':True} |
|---|
| Parameters | | Name | CIMType | ID | IN | OUT | Qualifiers | |
|---|
| InputObject | object:MSFT_ScheduledTask | 0 | ✓ | - | {'Description':'81','EmbeddedInstance':'MSFT_ScheduledTask','In':True} |
|
|---|
| Description | '80' |
|---|
| implemented | True |
|---|
| static | True |
|---|
| StopByObject method is in 1 class (PS_ScheduledTask) of ROOT\Microsoft\Windows\TaskScheduler and in 1 namespace |
| ▲ StopByPath method |
|---|
| Return | uint32 {'out':True} |
|---|
| Parameters | | Name | CIMType | ID | IN | OUT | Qualifiers | |
|---|
| TaskPath | string | 0 | ✓ | - | {'Description':'82','In':True} | | TaskName | string | 1 | ✓ | - | {'Description':'83','In':True} |
|
|---|
| Description | '80' |
|---|
| implemented | True |
|---|
| static | True |
|---|
| StopByPath method is in 1 class (PS_ScheduledTask) of ROOT\Microsoft\Windows\TaskScheduler and in 1 namespace |
PS_ScheduledTask Qualifiers| Name | Value | ToInstance | ToSubclass | Overridable | Amended | Local |
| ClassVersion | '97' | ✗ | ✗ | ✓ | ✗ | ✓ |
| Description | '98' | ✗ | ✓ | ✓ | ✗ | ✓ |
| dynamic | True | ✓ | ✗ | ✓ | ✗ | ✓ |
| provider | 'ScheduledTaskProv' | ✓ | ✗ | ✓ | ✗ | ✓ |
PS_ScheduledTask System properties| Name | Value | Origin | CIMType | Local | Array |
| __PATH | '\\.\ROOT\Microsoft\Windows\TaskScheduler:PS_ScheduledTask' | ___SYSTEM | 8 | ✗ | ✗ |
| __NAMESPACE | 'ROOT\Microsoft\Windows\TaskScheduler' | ___SYSTEM | 8 | ✗ | ✗ |
| __SERVER | '.' | ___SYSTEM | 8 | ✗ | ✗ |
| __DERIVATION | [] | ___SYSTEM | 8 | ✗ | ✓ |
| __PROPERTY_COUNT | 0 | ___SYSTEM | 3 | ✗ | ✗ |
| __RELPATH | 'PS_ScheduledTask' | ___SYSTEM | 8 | ✗ | ✗ |
| __DYNASTY | 'PS_ScheduledTask' | ___SYSTEM | 8 | ✗ | ✗ |
| __SUPERCLASS | null | ___SYSTEM | 8 | ✗ | ✗ |
| __CLASS | 'PS_ScheduledTask' | ___SYSTEM | 8 | ✗ | ✗ |
| __GENUS | 1 | ___SYSTEM | 3 | ✗ | ✗ |
Similar Classes to PS_ScheduledTaskNumber of classes:29
comments powered by
|
|