When you want to retrieve the entitlements and event/triggers of a package you can use the script offered as an example in this article.
First, you must connect to the zone with Application Workspace Powershell Module as described in Getting Started.
Then run the following script:
$entitlements = Get-LiquitPackageEntitlement -Package $package
for ($i = 0; $i -lt $entitlements.Count; $i++) {
$identity=$entitlements[$i].Identity
$events=$entitlements[$i].Events
Write-Host"Identity:"
Write-Host" Type: $($identity.Type)"
Write-Host" Name: $($identity.Name)"
Write-Host" DisplayName: $($identity.DisplayName)"
Write-Host" ID: $($identity.ID)"
Write-Host"Events:"
foreach ($eventin$events) {
Write-Host" Type: $($event.Type)"
Write-Host" ActionSet: $($event.ActionSet)"
Write-Host" Collection: $($event.Collection)"
}
}