I am learning Azure Function Apps, and I have a function with the input binding for a Azure Storage Queue. The function below is the default template code that is provided for powershell in the portal
param([string] $QueueItem, $TriggerMetadata)
# Write out the queue message and insertion time to the information log.
Write-Host "PowerShell queue trigger function processed work item: $QueueItem"
Write-Host "Queue item insertion time: $($TriggerMetadata.InsertionTime)"
The first Write-Host in this function prints
INFORMATION: PowerShell queue trigger function processed work item: System.Collections.Hashtable
How can I print the exact queue item that has caused this function to run? I have tried a few things none of them seem to work.