2026-07-23 19:47:22 -05:00
|
|
|
using LANCommander.SDK.Plugins;
|
|
|
|
|
|
|
|
|
|
namespace LANCommander.SamplePlugin;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Registers the sample plugin's cmdlets (and optionally PowerShell modules) into the runspace used
|
|
|
|
|
/// by LANCommander scripts.
|
|
|
|
|
/// </summary>
|
2026-07-28 19:06:33 -05:00
|
|
|
public sealed class SamplePowerShellExtension : IPluginPowerShellExtension
|
2026-07-23 19:47:22 -05:00
|
|
|
{
|
|
|
|
|
public IEnumerable<Type> GetCmdletTypes() => new[] { typeof(SampleGreetingCmdlet) };
|
|
|
|
|
|
|
|
|
|
public IEnumerable<string> GetModulePaths() => Array.Empty<string>();
|
|
|
|
|
}
|