Tests the SystoLOCK related scheduled tasks.
Test-SystoLockScheduledTask [-All] [<CommonParameters>]
Test-SystoLockScheduledTask [-Name] <String> [<CommonParameters>]
The Test-SystoLockScheduledTask
cmdlet tests the SystoLOCK related scheduled tasks.
PS C:\> Test-SystoLockScheduledTask
Tests all scheduled tasks that are used by SystoLOCK. Returns an array of the objects.
PS C:\> Test-SystoLockScheduledTask -Name 'AdcsControl'
Tests specified SystoLOCK scheduled task, by name. Returns $true or $false.
Specifies an array of all SystoLOCK related tasks.
Type: SwitchParameter
Parameter Sets: All
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the task name.
Type: String
Parameter Sets: Name
Aliases:
Accepted values: AdcsControl, EndpointCertificateRenewal
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Name.
Returns $true if task presents; otherwise $false.
Name: task name.
Folder: indicate ADCS task parent folder.
IsInstalled: boolean value indicating whether the ADCS task exists.
IsEnabled: boolean value indicating whether the ADCS task enabled.
IsRunning: boolean value indicating whether the ADCS task is running.
LastRunTime: indicate the time the registered task was last run.
LastTaskResult: indicate what was returned the last time the registered task was run.