--- title: "Add-IgnoredFile" slug: "scripting-add-ignoredfile" updated: 2026-01-21T14:50:48Z published: 2026-01-21T14:50:48Z canonical: "help.agilityblue.com/scripting-add-ignoredfile" --- > ## 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. # Add-IgnoredFile ## Summary Creates a new ignored file. ```powershell Add-IgnoredFile    -Entry ``` Returns a ignored file object. ## Parameters | Parameter | Type | Required? | Notes | | --- | --- | --- | --- | | Entry | Ignored File Object | Yes | | ## Examples ### Create a new ignored file ```powershell # Create a ignored file entry object with required fields $entry = @{    SHA256 = "8671bc3173b0a4211ff852fc1b01fd671324a1e5547e517ef2021bbbe8411169" } # Create the entry $entry = Add-IgnoredFile -Entry $entry Write-Output "Created ignored fle entry '$($entry.SHA256)' (Id: #$($entry.IgnoredFileId))" # For debug purposes, convert the entity to output as JSON so we can see the available fields Write-Output "" Write-Output "JSON Results:" $jsonOutput = $entry | ConvertTo-Json -Depth 10 # Output the entity Write-Output $jsonOutput ``` Execution results: ```json Created ignored fle entry '8671bc3173b0a4211ff852fc1b01fd671324a1e5547e517ef2021bbbe8411169' (Id: #9) JSON Results: {  "IgnoredFileId": 9,  "SHA256": "8671bc3173b0a4211ff852fc1b01fd671324a1e5547e517ef2021bbbe8411169",  "Notes": null,  "CreatedByFullName": "Max Miller",  "CreatedById": "510e109b-6ff5-4442-9670-cd5e3cd82a7a",  "CreatedOn": "2026-01-21T14:49:29.5162492+00:00",  "CreatedBy": null,  "LastUpdatedByFullName": "Max Miller",  "LastUpdatedById": "510e109b-6ff5-4442-9670-cd5e3cd82a7a",  "LastUpdatedOn": "2026-01-21T14:49:29.5162492+00:00",  "LastUpdatedBy": null } ```