# PowerShellScriptResource Properties

- Package: [CommunityToolkit.Aspire.Hosting.PowerShell](/reference/api/csharp/communitytoolkit.aspire.hosting.powershell.md)
- Type: [PowerShellScriptResource](/reference/api/csharp/communitytoolkit.aspire.hosting.powershell/powershellscriptresource.md)
- Kind: `Properties`
- Members: `1`

Represents a PowerShell script resource.

## Parent

- Name: `Parent`
- Modifiers: `get`
- Returns: [PowerShellRunspacePoolResource](/reference/api/csharp/communitytoolkit.aspire.hosting.powershell/powershellrunspacepoolresource.md)
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.PowerShell/PowerShellScriptResource.cs#L93)

Parent PowerShell runspace pool resource that provides the runspace pool for script execution.

```csharp
public PowerShellRunspacePoolResource Parent { get; }
```
