Hi All,
i am new to PowerCLI, i have task create report script to get user entitled to spesific application id using powershell
how i do this?
Thanks,
What product are you talking about?
Can you give some more info?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Sorry,
the product is Horizon View 7.8
Wouter has a blog post on that, see Finding Horizon View local entitlements using PowerCLI
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thanks Lucd, in that post write about get application from spesific user. but my task is get user entitle from spesific application.
i try command get-hventitlement -resourcetype application but the result "Get-HVQueryFilter : Cannot bind argument to parameter 'Filters' because it is an empty array."
Can you share the complete error message?
Including the line number.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Lucd, i have try add parameter -resourcename and its work, below detail command :
$entitleids=(Get-HVEntitlement -ResourceName 'notepad' -ResourceType Application).base
foreach ($Entityid in ($entitledids.DisplayName)) { write-host $Entityid }
Thanks
that is because those api calls require something to search for.