InvokeCommandCommand.NoNewScope Property
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.
When executing a scriptblock in the current session, tell the cmdlet not to create a new scope.
public:
property System::Management::Automation::SwitchParameter NoNewScope { System::Management::Automation::SwitchParameter get(); void set(System::Management::Automation::SwitchParameter value); };
public System.Management.Automation.SwitchParameter NoNewScope { get; set; }
[System.Management.Automation.Parameter(ParameterSetName="InProcess")]
public System.Management.Automation.SwitchParameter NoNewScope { get; set; }
member this.NoNewScope : System.Management.Automation.SwitchParameter with get, set
[<System.Management.Automation.Parameter(ParameterSetName="InProcess")>]
member this.NoNewScope : System.Management.Automation.SwitchParameter with get, set
Public Property NoNewScope As SwitchParameter
Property Value
- Attributes