Expand Minimize

ModuleAccessMode Enumeration

Defines how a module can be accessed when adding or removing the module, such as a read-only or read-write module. This class is introduced in Windows PowerShell 2.0.


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

'Usage
Dim instance As ModuleAccessMode

public enum class ModuleAccessMode
public enum ModuleAccessMode
public enum ModuleAccessMode

Member nameDescription
ConstantThe module cannot be removed. This field is introduced in Windows PowerShell 2.0.
ReadOnlyThe module can be removed only if the Force parameter of the Remove-Module cmdlet is specified. This field is introduced in Windows PowerShell 2.0.
ReadWriteThe module can be added to the runspace by using the Import-Module cmdlet or removed using the Remove-Module cmdlet. This field is introduced in Windows PowerShell 2.0.

 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft