PowerShell.AddScript Method
Adds a script to the end of the pipeline of the PowerShell object. This method is introduced in Windows PowerShell 2.0.
| Name | Description |
|---|---|
| PowerShell.AddScript (String) | Adds a script to the end of the pipeline of the PowerShell object. This method is introduced in Windows PowerShell 2.0. |
| PowerShell.AddScript (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. |
Send comments about this topic to Microsoft.