CommandCollection Class 
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.
Defines a collection of Commands. This collection is used by Pipeline to define elements of pipeline.
public ref class CommandCollection sealed : System::Collections::ObjectModel::Collection<System::Management::Automation::Runspaces::Command ^>
	public sealed class CommandCollection : System.Collections.ObjectModel.Collection<System.Management.Automation.Runspaces.Command>
	type CommandCollection = class
    inherit Collection<Command>
	Public NotInheritable Class CommandCollection
Inherits Collection(Of Command)
		- Inheritance
 - 
				CommandCollection
 
Methods
| Add(String) | 
		 Adds a new command for given string.  | 
        	
| AddScript(String, Boolean) | 
		 Adds a new scrip command for given script.  | 
        	
| AddScript(String) | 
		 Adds a new script command.  |