ModuleAccessMode Enumeration
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
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)
Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation)
| Member name | Description |
|---|---|
| Constant | The module cannot be removed. This field is introduced in Windows PowerShell 2.0. |
| ReadOnly | The 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. |
| ReadWrite | The 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 PreviewSend comments about this topic to Microsoft.