ScheduledJobDefinition.Run Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create a Job2 job, runs it and waits for it to complete. Job status and results are written to the job store.
public System.Management.Automation.Job2 Run ();
member this.Run : unit -> System.Management.Automation.Job2
Public Function Run () As Job2
Returns
Job2 job object that was run