Summary
Retrieves an existing mention record.
Get-Mention
-IdReturns 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.
# 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 $jsonOutputResults of executing the script:
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
}