This topic has not yet been rated - Rate this topic

PSModuleInfo Class

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Provides information about a module, such as the name of the module file, the path to the module file, what elements are exported from the module, and more. This class is introduced in Windows PowerShell 2.0.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation)
'Usage
Dim instance As PSModuleInfo

public sealed class PSModuleInfo
public final class PSModuleInfo
public final class PSModuleInfo

This object is returned by the Get-Module cmdlet.

A module is a collection of resources that can be used to define the elements available to the user. Modules can contain a single file, such as an assembly that contains cmdlet classes, or they can contain several files. For complex modules that contain several files, a module manifest can be used that provides metadata about the module.


System.Object
  System.Management.Automation.PSModuleInfo
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Did you find this helpful?
(1500 characters remaining)