--- title: "Set-UnCancelProject" slug: "scripting-set-uncancelproject" updated: 2026-01-19T16:42:42Z published: 2026-01-19T16:42:42Z canonical: "help.agilityblue.com/scripting-set-uncancelproject" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.agilityblue.com/llms.txt > Use this file to discover all available pages before exploring further. # Set-UnCancelProject ## Summary Un-cancels a project. ```powershell Set-UnCancelProject    -Id ``` Returns nothing. ## Parameters | Parameter | Type | Required? | Notes | | --- | --- | --- | --- | | Id | Int64 | Yes | The project id. | ## Examples ### Un-cancel a project ```powershell # Un-cancel a project Set-UnCancelProject -Id 2026010000001 # Retrieve the project $project = Get-Project -Id 2026010000001 # Output some information to help indicate that the project was un-canceled Write-Output "Un-canceled project '$($project.Description)' (Id: #$($project.ProjectId), Type: $($project.ProjectTypeName), Status: $($project.Status))" # For debug purposes, convert the project to output as JSON so we can see the available fields $jsonOutput = $project | ConvertTo-Json -Depth 10 Write-Output "" Write-Output "JSON Results:" # Output the JSON results Write-Output $jsonOutput ``` Execution results: ```json Un-canceled project 'Archive Relativity Workspace' (Id: #2026010000001, Type: Normal, Status: New) JSON Results: {  "ProjectId": 2026010000001,  "ProjectTypeId": 1,  "ProjectTypeName": "Normal",  "ProjectTypeDescription": "The normal project type where task work is performed.",  "ProjectSourceTypeId": 1,  "ProjectSourceTypeName": "Not Specified",  "MatterId": 39,  "Matter": null,  "MatterName": "AGM Widget Corp. vs. MGM Manufacturing Inc.",  "MatterReference": "1024-0002",  "ClientId": 29,  "Client": null,  "ClientName": "AGM Widget Corporation",  "ClientReference": "1024",  "ContactId": null,  "Contact": null,  "ContactFullName": null,  "PricingAgreementOptionId": 1,  "PricingAgreementOptionName": "Standard Pricing",  "OwnedById": null,  "OwnedBy": null,  "OwnedByFullName": null,  "Priority": "Normal",  "DateReceived": "2026-01-19T15:43:50.6669099+00:00",  "DateDue": null,  "DateInvoiced": null,  "NumberOfTasks": 0,  "NumberOfUnassignedTasks": 0,  "NumberOfBillingEntries": 0,  "NumberOfVolumes": 0,  "NumberOfMediaLogEntries": 0,  "TotalWeight": 0,  "CurrentWeight": 0,  "Status": "New",  "Description": "Archive Relativity Workspace",  "Assignees": null,  "IsApproved": false,  "IsLate": false,  "IsCompleted": false,  "IsCanceled": false,  "EmailNotificationsEnabled": false,  "CompletedOn": null,  "Tags": [],  "ComputedTags": "Document Review",  "CreatedByFullName": "Max Miller",  "CreatedById": "510e109b-6ff5-4442-9670-cd5e3cd82a7a",  "CreatedOn": "2026-01-19T15:43:50.8040195+00:00",  "CreatedBy": null,  "LastUpdatedByFullName": "Max Miller",  "LastUpdatedById": "510e109b-6ff5-4442-9670-cd5e3cd82a7a",  "LastUpdatedOn": "2026-01-19T16:41:04.4624728+00:00",  "LastUpdatedBy": null,  "Settings": null } ```