Add-Project

Prev Next

Summary

Creates a new project.

Add-Project
    -Entry

Returns a project object.

Parameters

Parameter

Type

Required?

Notes

Entry

Project Object

Yes


Examples

Create a new project

# Create a project object with bare minimum required fields
$entry = @{
    MatterId = 39
    Description = "Archive Relativity Workspace"
}

$createdEntry = Add-Project -Entry $entry

# Output some information to help indicate that the template was created
Write-Output "Created project '$($createdEntry.Description)' (Id: #$($createdEntry.ProjectId), Status: $($createdEntry.Status))"

# For debug purposes, convert the data to output as JSON so we can see all the fields
Write-Output ""
Write-Output "JSON Results:"

$jsonOutput = $createdEntry | ConvertTo-Json -Depth 10

# Output the data
Write-Output $jsonOutput

Execution results:

Created project 'Archive Relativity Workspace' (Id: #2026010000001, 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": null,
  "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-19T15:43:50.8266439+00:00",
  "LastUpdatedBy": null,
  "Settings": null
}