SYNOPSIS
Command for seting last executed date UTC of Command interval execution status table.
SYNTAX
Set-ASCommandIntervalLastExecutedDate -Core <ConnectCore> [-CommandId] [<int[]>] -Date] [<DateTime> [-All] [<SwitchParameter>] [<CommonParameters>]
DESCRIPTION
The Set-ASCommandIntervalLastExecutedDate cmdlet sets last executed date UTC of Command interval execution status table. Core parameter in the cmdlet is mandatory. You can specify core as a parameter, or call Connect-ASCore once and the core parameter will be automatically added from the session state.
Example:
Set-ASCommandIntervalLastExecutedDate -CommandId 801 -Date "2222-02-02 12:00:00.000" |
/*ADAM will set future date to prevent commands to be executed once default command interval is to be applied */ |
---|
SYNOPSIS
Get info about scheduled task.
SYNTAX
Get-ASScheduledTask [-Core] <ConnectCore> [[-ScheduledTask] <ScheduledTaskEnum[]>] [[-ScheduledTaskId] <int[]>] [<CommonParameters>]
DESCRIPTION
The Get-ASScheduledTask will return info about scheduled task. You can specify core as a parameter, or call Connect-ASCore once and the core parameter will be automatically added from the session state.
Example:
Get-ASScheduledTask |
/* Returns all Scheduled Tasks */ |
Get-ASScheduledTask -ScheduledTask AutoRestartModule |
/* Returns Scheduled Task base on name */ |
Get-ASScheduledTask -ScheduledTaskId 33 |
/* Returns Scheduled Task base on TaskID */ |
Get-ASScheduledTask -ScheduledTaskId 1 -ScheduledTask AutoRestartModule |
/* Composite filter base on TaskID and Task Name */ |
SYNOPSIS
Sets a scheduled task.
SYNTAX
Set-ASScheduledTask [-Core] <ConnectCore> -ScheduledTask] <ScheduledTaskEnum[]>] [[-ScheduledTaskId] <int[]>] [[-IsEnabled] [<bool?> -RunNow] <SwitchParameter>] [[-RepeatEvery] [<int?> [<CommonParameters>]
DESCRIPTION
The Set-ASScheduledTask will set a scheduled task. You can specify core as a parameter, or call Connect-ASCore once and the core parameter will be automatically added from the session state.
Example:
Set-ASScheduledTask -ScheduledTask AutoEnableJournalTransformationUsers -RepeatEvery 10 -IsEnabled $true -RunNow |
/* Sets particular task based on name*/ |
---|---|
Set-ASScheduledTask -ScheduledTaskid 33 -RepeatEvery 10 -IsEnabled $true -RunNow |
/* Sets particular task based on TaskId */ |
Set-ASScheduledTask -ScheduledTaskid 33 -ScheduledTask AutoEnableJournalTransformationUsers -RepeatEvery 10 -IsEnabled $true -RunNow |
/* Sets 2 scheduled tasks id 33 and autoenableJTusers */ |
$scheduledTasks = Get-ASScheduledTask | Select-Object -ExpandProperty ScheduledTask
$scheduleTasks | ForEach-Object{Set-ASScheduledTask -ScheduledTask $scheduleTasks -IsEnabled $true -RunNow} |
/* Sets all scheduled Tasks with values */ |
SYNOPSIS
Enables Active Directory sync.
SYNTAX
Enable-ASActiveDirectorySync [-Core] <ConnectCore> [-DistinguishedName] <string[]> [<CommonParameters>]
DESCRIPTION
The Enable-ASActiveDirectorySync cmdlet enables Active Directory sync. After the command is executed, the module status can be checked in the Archive Shuttle user interface. All parameters in the cmdlet are mandatory. You can specify core as a parameter, or call Connect-ASCore once and the core parameter will be automatically added from the session state.
Example:
Enable-ASActiveDirectorySync -DistinguishedName "DC=qa,DC=lab,DC=quadrotech-it,DC=com"
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. 利用規約 プライバシー Cookie Preference Center