ScriptInfo ScriptInfo ScriptInfo Class

Definition

The command information for MSH scripts that are directly executable by MSH

public class ScriptInfo : System.Management.Automation.CommandInfo
type ScriptInfo = class
    inherit CommandInfo
    interface IScriptCommandInfo
Public Class ScriptInfo
Inherits CommandInfo
Inheritance

Properties

CommandType CommandType CommandType Inherited from CommandInfo
Definition Definition Definition

Gets the definition of the ScriptBlock for the script. This is the ToString() of the ScriptBlock.

Module Module Module Inherited from CommandInfo
ModuleName ModuleName ModuleName Inherited from CommandInfo
Name Name Name Inherited from CommandInfo
OutputType OutputType OutputType

The output type(s) is specified in the script block

ParameterSets ParameterSets ParameterSets Inherited from CommandInfo
Parameters Parameters Parameters Inherited from CommandInfo
RemotingCapability RemotingCapability RemotingCapability Inherited from CommandInfo
ScriptBlock ScriptBlock ScriptBlock

Gets the ScriptBlock that represents the implementation of the script.

Source Source Source Inherited from CommandInfo
Version Version Version Inherited from CommandInfo
Visibility Visibility Visibility Inherited from CommandInfo

Methods

ResolveParameter(String) ResolveParameter(String) ResolveParameter(String) Inherited from CommandInfo
ToString() ToString() ToString()

for diagnostic purposes

Applies to