PSExecutionCmdlet.ScriptBlock Property
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.
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