# PowerShellScriptArgsAnnotation Constructors

- 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: `Constructors`
- Members: `1`

Represents the arguments for a PowerShell script resource.

## PowerShellScriptArgsAnnotation(object[])

- Name: `Constructor(object[])`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.PowerShell/PowerShellScriptResourceBuilderExtensions.cs#L40)

Represents the arguments for a PowerShell script resource.

```csharp
public record PowerShellScriptArgsAnnotation
{
    public PowerShellScriptArgsAnnotation(
        object[] Args)
    {
        // ...
    }
}
```

## Parameters

- `Args` (`object[]`)
