PSModuleInfo.RequiredModules Property


Updated: April 27, 2016

Applies To: Windows PowerShell

Gets information about the modules that are required to load this module. This property is introduced in Windows PowerShell 2.0.

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

public ReadOnlyCollection<PSModuleInfo> RequiredModules { get; }

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<PSModuleInfo>

A ReadOnlyCollection<T> object that contains a PSModuleInfo object for each module that must be loaded when this module is loaded.

Return to top

Community Additions