Delen via


RegisterScheduledJobCommand.ScriptBlock Property

Definition

ScriptBlock containing script to run in job.

[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ScriptBlock", Position=1)]
[System.Management.Automation.ValidateNotNull]
public System.Management.Automation.ScriptBlock ScriptBlock { get; set; }
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ScriptBlock", Position=1)>]
[<System.Management.Automation.ValidateNotNull>]
member this.ScriptBlock : System.Management.Automation.ScriptBlock with get, set
Public Property ScriptBlock As ScriptBlock

Property Value

Attributes

Applies to