Windows Dev Center

The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ScheduledJob Class

Represents a scheduled job. This class cannot be inherited. Introduced in Windows PowerShell 3.0.

Namespace: Microsoft.PowerShell.ScheduledJob
Assembly: Microsoft.PowerShell.ScheduledJob (in Microsoft.PowerShell.ScheduledJob.dll)

Dim instance As ScheduledJob

public ref class ScheduledJob sealed : public Job2, ISerializable
/** @attribute SerializableAttribute() */ 
public final class ScheduledJob extends Job2 implements ISerializable
public final class ScheduledJob extends Job2 implements ISerializable

This class is used to load job result data from previously run jobs so that a user can view results of scheduled job runs. This class also contains the definition of the scheduled job, so it can run an instance of the scheduled job and optionally save the results to a file.

This class can be serialized.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Target Platforms

© 2015 Microsoft