This command schedules an Aging job for a specified profile. Archive rules must exist on the profile for this job to run. Use Set-ArchiveRulesToProfile to create the rules.
Parameters
·Profile (p): The name or Id of the profile in which to run the job under. REQUIRED.
·ScheduleType (schedtype): The type of schedule to use when setting up this job. Valid values are OneTime, Daily, and Weekly. If not specified, the timer job will run immediately.
·DayOfWeek (dow): The day of the week to run the job when the schedule type is set to Weekly.
·JobStartDate (startdate): The start date/time. The time portion is used to set the start time for Daily and Weekly jobs.
·JobEndDate (enddate): The end date/time. Not used for OneTime jobs. The time portion is used to set the end time for Daily and Weekly jobs.
·JobServer (jobsrv): Server on which the process will be run.
·NumberOfThreads (threads): Number of threads to run the job with.
·RunNow: If specified (-RunNow), then run the job immediately. Ignores any scheduling options provided.
·EmailDefault: If specified (-EmailDefault), send status email to the default notification group setup in General Settings.
·NotificationEmailOther (email): Other email addresses (not in default notification group) to send status emails to.
·EmailOnErrorOnly: If specified (-EmailOnErrorOnly), then send status email only if an error occurs when running the job.
Example
The following example schedules the job on a recurring weekly schedule.
Set-ArchivingAgingJob -p MainProfile1 -schedtype Weekly -dow Saturday -startdate 12/26/2009 3:00 enddate 12/26/2009 6:00 -jobsrv SP2010WFE1 EmailDefault -email someone@example.com -threads 2
This command schedules an archiving metadata processing job for a specified profile. Archive rules must exist on the profile for this job to run. Use Set-ArchiveRulesToProfile to create the rules.
Parameters
·Profile (p): The name or Id of the profile in which to run the job under. REQUIRED.
·JobStartDate (startdate): The start date/time.
·NumberOfThreads (threads): Number of threads to run the job with.
·RunNow: If specified (-RunNow), then run the job immediately. Ignores any scheduling options provided.
·EmailDefault: If specified (-EmailDefault), send status email to the default notification group setup in General Settings.
·NotificationEmailOther (email): Other email addresses (not in default notification group) to send status emails to.
·EmailOnErrorOnly: If specified (-EmailOnErrorOnly), then send status email only if an error occurs when running the job.
Example
This example schedules an archiving metadata processing job to run immediately.
Set-ArchivingMetadataJob p MainProfile1 threads 20 EmailDefault RunNow
This command schedules a Records processing job for a specified profile.
Parameters
·Profile (p): The name or Id of the profile in which to run the job under. REQUIRED.
·JobStartDate (startdate): The start date/time.
·NumberOfThreads (threads): Number of threads to run the job with.
·RunNow: If specified (-RunNow), then run the job immediately. Ignores any scheduling options provided.
·EmailDefault: If specified (-EmailDefault), send status email to the default notification group setup in General Settings.
·NotificationEmailOther (email): Other email addresses (not in default notification group) to send status emails to.
·EmailOnErrorOnly: If specified (-EmailOnErrorOnly), then send status email only if an error occurs when running the job.
Example
This example schedules an archiving metadata processing job to run immediately.
Set-MigrateRecordsJob p MainProfile1 threads 20 EmailDefault RunNow
This command schedules a Holds processing job for a specified profile.
Parameters
·Profile (p): The name or Id of the profile in which to run the job under. REQUIRED.
·JobStartDate (startdate): The start date/time.
·NumberOfThreads (threads): Number of threads to run the job with.
·RunNow: If specified (-RunNow), then run the job immediately. Ignores any scheduling options provided.
·EmailDefault: If specified (-EmailDefault), send status email to the default notification group setup in General Settings.
·NotificationEmailOther (email): Other email addresses (not in default notification group) to send status emails to.
·EmailOnErrorOnly: If specified (-EmailOnErrorOnly), then send status email only if an error occurs when running the job.
Example
This example schedules an archiving metadata processing job to run immediately.
Set-MigrateHoldsJob p MainProfile1 threads 20 EmailDefault RunNow
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Nutzungsbedingungen Datenschutz Cookie Preference Center