Windows desktop applications
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ScopedItemOptions Enumeration


Updated: April 27, 2016

Applies To: Windows PowerShell

Defines how session state data can be used.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

public enum class ScopedItemOptions

Member nameDescription

The item is propagated to each new child scope created.


The item cannot be removed or changed. This flag can only be set a variable creation.


There are no constraints on the item.


The item is private to the scope it was created in and cannot be seen from child scopes.


The item is readonly. It can be removed but cannot be changed.


The option is not specified by the user

Return to top
© 2016 Microsoft