TestimoX

API Reference

Class

ModuleLoadSummary

Namespace TestimoX.PowerShell
Assembly TestimoX

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

Properties

public ModuleLoadStatus OverallStatus { get; set; } #

Overall status of all module load attempts.

public ConcurrentDictionary<String, ModuleLoadResult> ModuleResults { get; } #

Results for each module processed.

public List<String> FailedModules { get; } #

Names of modules that failed to load.