API Reference
Class
ModuleLoadSummary
Summary of loading multiple modules.
Inheritance
- Object
- ModuleLoadSummary
Remarks
This class aggregates the results of attempting to load several PowerShell modules so that callers can inspect failures.
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Examples
var summary = await manager.EnsureModulesAsync(new[] { "DNS", "AD" });
if (summary.OverallStatus == ModuleLoadStatus.Failed)
{
Console.WriteLine(string.Join(", ", summary.FailedModules));
}
Constructors
public ModuleLoadSummary() #