Bug Reported and Fixed in Version 2 of the Citrix XenApp 6.5 Farm Documentation Script
Reader Andreas Roth (@schose) reported and fixed a bug in the Check-LoadedModule function.
If the Citrix.GroupPolicy.Commands.psm1 module was manually imported from a non default folder, the function reported the module did not exist on the system. For example:
<br />PS C:\PSScript >import-module "C:\temp\Citrix.GroupPolicy.Commands.psm1"<br />PS C:\PSScript >.\XA65_Inventory_V2.ps1<br />Farm: NewFarm<br /><br />Configuration Logging is disabled.<br /><br /><snip><br /><br />WARNING: The Citrix Group Policy module Citrix.GroupPolicy.Commands.psm1 does not exist (http://support.citrix.com/article/CTX128625), Citrix Policy documentation will not take place.<br />
The article and all scripts have been updated with Andreas’ fix.
NOTE: This script is continually updated. You can always find the most current version by going to https://carlwebster.com/where-to-get-copies-of-the-documentation-scripts/