Windows desktop applications
Collapse the table of content
Expand the table of content
Information
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.

InitialSessionState.LanguageMode Property

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Gets and sets the language mode for runspaces that are opened by using this initial session state. For example, if the language mode is restricted then the runspace will be opened in restricted language mode. This property is introduced in Windows PowerShell 2.0.

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

public PSLanguageMode LanguageMode { get; set; }

Property Value

Type: System.Management.Automation.PSLanguageMode

A PSLanguageMode constant that specifies the language mode for the runspaces that are opened by using this initial session state.

Return to top

Community Additions

Show:
© 2016 Microsoft