DistributedApplicationBuilderExtensions
Classstaticnet10.0
Extensions for the
Hosting.IDistributedApplicationBuilder to add PowerShell runspace pool resources. namespace CommunityToolkit.Aspire.Hosting.PowerShell;
public static class DistributedApplicationBuilderExtensions{ // ...}Methods1
Section titled MethodsIResourceBuilder<PowerShellRunspacePoolResource> Adds a PowerShell runspace pool resource to the distributed application, enabling managed execution of PowerShell scripts with configurable language mode and runspace limits.