AddScript Method

PowerShell.AddScript Method

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Adds a script to the end of the pipeline of the PowerShell object. This method is introduced in Windows PowerShell 2.0.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

NameDescription
System_CAPS_pubmethodAddScript(String)

Adds a script to the end of the pipeline of the PowerShell object. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubmethodAddScript(String, Boolean)

Adds a script to the end of the pipeline of the PowerShell object, and indicates whether the script should be run in local scope. This method is introduced in Windows PowerShell 2.0.

Return to top

Community Additions

ADD
Show:
© 2016 Microsoft