# PowerShellScriptArgsAnnotation Properties

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

Represents the arguments for a PowerShell script resource.

## Args

- Name: `Args`
- Modifiers: `get; init`
- Returns: `object[]`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.PowerShell/PowerShellScriptResourceBuilderExtensions.cs)

```csharp
public object[] Args { get; init; }
```
