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.Commands Property


Updated: April 27, 2016

Applies To: Windows PowerShell

Gets a collection that contains the commands, such as cmdlets, scripts, functions, and aliases, of the initial session state. The host application can use this collection to add commands to the session state. This property is introduced in Windows PowerShell 2.0.

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

Public Overridable ReadOnly Property Commands As InitialSessionStateEntryCollection(Of SessionStateCommandEntry)
Return to top

Community Additions