--- id: v2024-task-result-dto title: TaskResultDto pagination_label: TaskResultDto sidebar_label: TaskResultDto sidebar_class_name: powershellsdk keywords: ['powershell', 'PowerShell', 'sdk', 'TaskResultDto', 'V2024TaskResultDto'] slug: /tools/sdk/powershell/v2024/models/task-result-dto tags: ['SDK', 'Software Development Kit', 'TaskResultDto', 'V2024TaskResultDto'] --- # TaskResultDto ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Type** | **Enum** [ "TASK_RESULT" ] | Task result DTO type. | [optional] **Id** | **String** | Task result ID. | [optional] **Name** | **String** | Task result display name. | [optional] ## Examples - Prepare the resource ```powershell $TaskResultDto = Initialize-V2024TaskResultDto -Type TASK_RESULT ` -Id 464ae7bf791e49fdb74606a2e4a89635 ` -Name null ``` - Convert the resource to JSON ```powershell $TaskResultDto | ConvertTo-JSON ``` [[Back to top]](#)