AccessMode Property

PSModuleInfo.AccessMode Property

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Gets or sets how the module can be added and removed. This property is introduced in Windows PowerShell 2.0.

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

public ModuleAccessMode AccessMode { get; set; }

Property Value

Type: System.Management.Automation.ModuleAccessMode

One of the ModuleAccessMode enumeration values that identifies how the module can be added and removed.

This object is returned by the Get-Module cmdlet.

Return to top

Community Additions

ADD
Show:
© 2016 Microsoft