Condividi tramite


PSExecutionCmdlet.ScriptBlock Property

Definition

Command to execute specified as a string. This can be a single cmdlet, an expression or anything that can be internally converted into a ScriptBlock.

public:
 virtual property System::Management::Automation::ScriptBlock ^ ScriptBlock { System::Management::Automation::ScriptBlock ^ get(); void set(System::Management::Automation::ScriptBlock ^ value); };
public virtual System.Management.Automation.ScriptBlock ScriptBlock { get; set; }
member this.ScriptBlock : System.Management.Automation.ScriptBlock with get, set
Public Overridable Property ScriptBlock As ScriptBlock

Property Value

Applies to