Citrix Storefront Filtering
How to configure filtering for Citrix Storefront
From our initial testing the Citrix Storefront Filtering are STORE specific, if you want different filters or one store for apps and another store for desktops you need to configure another separate store.
- From elevated PS prompt
- set execution-policy = unrestricted
- c:\program files\citrix\receiver storefront\scripts\ImportModules.ps1
Note: the siteid is ‘1’, but if you have modified the configuration of IIS you can check it by running “%windir%\system32\inetsrv\appcmd.exe list site” just to be sure
SET FILTERING
(substitute your settings with those in in BOLD, ours below are based on a default single store install)
Set-DSResourceFilterKeyword -SiteId 1 -VirtualPath “/Citrix/Store“-IncludeKeywords @(“Include“)
Set-DSResourceFilterKeyword -SiteId 1 -VirtualPath “/Citrix/Store”-ExcludeKeywords @(“Exclude”)
RESET FILTERING
Set-DSResourceFilterKeyword -SiteId 1 -VirtualPath “/Citrix/Store” -IncludeKeywords @(“”)
SHOW/GET
Get-DSResourceFilterKeyword -SiteId 1 -VirtualPath “/Citrix/Store”
FILTER DESKTOPS OR APPLICATIONS COMPLETELY
Set-DSResourceFilterType -SiteId 1 -VirtualPath “/Citrix/Store” -IncludeTypes @(“Applications”)
Set-DSResourceFilterType -SiteId 1 -VirtualPath “/Citrix/Store” -IncludeTypes @(“Desktops”)
Set-DSResourceFilterType -SiteId 1 -VirtualPath “/Citrix/Store” -IncludeTypes @(“Documents”)
Note: You can enable SSO for the PNAgent by performing the following command
PS C:\Program Files\Citrix\Receiver StoreFront\Scripts> .\EnablePnaForStore.ps1 -Siteid 1 -ResourceVirtualPath “/Citrix/Store” -logonmethod sson