This is really not a PoSH specific question.
It's an Citrix config question and better suited for the Citrix forums/blogs.
Citrix has had PoSH support for a few years now. So, you'll need to sue those cmdlets and their docs to see what is possible or look to the MS PowerShellGallery.com and do a search for Citrix modules/scripts/function.
Managing Citrix Policies using MS Powershell
Release Date: Feb 11, 2014
The Citrix XenApp 6 and 6.5 PowerShell SDKs enable customers to manage XenApp 6 and 6.5 farms using Microsoft PowerShell scripting.
How to load the Citrix Powershell snapin for XA and XD
Open Powershell with Run as Administrator
How to set Citrix XenApp 7.6 Policies with PowerShell
cd "C:\Program Files (x86)\Citrix\Scout\Current\Utilities"
import-module "C:\Program Files (x86)\Citrix\Scout\Current\Utilities\Citrix.GroupPolicy.Commands.psm1"