PowerShell.Commands
Property
Definition
Gets or sets current powershell command line.
public System.Management.Automation.PSCommand Commands { get; set; }
Property Value
Exceptions
Cannot set to a null value.
Powershell instance cannot be changed in its
current state.