--- title: "Get-Mention" slug: "scripting-get-mention" tags: ["Enterprise Only"] updated: 2026-04-16T16:15:03Z published: 2026-04-16T16:15:03Z canonical: "help.agilityblue.com/scripting-get-mention" --- > ## 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. # Get-Mention ## Summary Retrieves an existing mention record. ```powershell Get-Mention    -Id ``` Returns a mention object. ## Parameters | Parameter | Type | Required? | Notes | | --- | --- | --- | --- | | Id | Int32 | Yes | The mention id. | ## Examples ### Get an existing mention This example retrieves a specific mention and outputs it as JSON. ```powershell # Retrieve a specific mention by id $data = Get-Mention -Id 15423 Write-Output "Retrieved mention $($data.MentionId)" # Convert the data to output as JSON $jsonOutput = $data | ConvertTo-Json -Depth 10 # For debug purposes, convert the data to output as JSON so we can see all the fields Write-Output "" Write-Output "JSON Results:" $jsonOutput = $data | ConvertTo-Json -Depth 10 Write-Output $jsonOutput ``` Results of executing the script: ```json Retrieved mention 15423 JSON Results: {  "MentionId": 15423,  "HistoryTableId": 14,  "HistoryTableName": "Task Comment",  "ForUserId": "44a336ad-8212-497d-8f0a-e895bc933378",  "ForUserFullName": "Max Miller",  "ForUser": null,  "PrimaryKeyId": 22406,  "CreatedByFullName": "Tanya Sampson",  "CreatedById": "47004c9a-93e3-473c-8f96-a0556bf6735d",  "CreatedOn": "2026-04-16T16:06:03.4502714+00:00",  "CreatedBy": null } ```