Murty M
asked on
PowerShell Script Request for Citrix XD 7.15 Site Inventory "published Application Path" and that Published app Servers and User Groups details.
PowerShell Script Request for Citrix XD 7.15 Site Inventory "published Application Path" and that Published app Servers and User Groups details.
Citrix XenApp XenDesktop 7.15 complete site inventory PowerShell script required.
Below PowerShell scripts will pull Site inventory details like app name, assigned users, location etc...for XenApp 7.9 / 7.15.
As per Carl Webster Script, it is providing total site inventory in HTML/PDF/Word format.
But I need "published Application Path" and that Published app Servers and User Groups details.
https://carlwebster.com/downloads/download-info/xenappxendesktop-7-8/
Citrix XenApp XenDesktop 7.15 complete site inventory PowerShell script required.
Below PowerShell scripts will pull Site inventory details like app name, assigned users, location etc...for XenApp 7.9 / 7.15.
As per Carl Webster Script, it is providing total site inventory in HTML/PDF/Word format.
But I need "published Application Path" and that Published app Servers and User Groups details.
https://carlwebster.com/downloads/download-info/xenappxendesktop-7-8/
ASKER
Hi Carl Webster,
I ran the script (XenDesktop7V2.28) in 7.15 CU3 DDC and with -HTML option (MS Word not installed in my DDC). I have received an output.
Under Applications:
Folder: Empty
Name: Applications Name Displayed
Description: Empty
Location: Master Image
State: Enabled / Disabled
Apart from these, I didn't receive any output. As I told, I need the below details in output.
Visibility
Application Path
Command Line arguments
Working directory
Please suggest.
I ran the script (XenDesktop7V2.28) in 7.15 CU3 DDC and with -HTML option (MS Word not installed in my DDC). I have received an output.
Under Applications:
Folder: Empty
Name: Applications Name Displayed
Description: Empty
Location: Master Image
State: Enabled / Disabled
Apart from these, I didn't receive any output. As I told, I need the below details in output.
Visibility
Application Path
Command Line arguments
Working directory
Please suggest.
Did you look at the help text? To get the details, you need to provide additional parameters. You get only summary info by default.
ASKER
Could you please provide the right SYNTAX to get the below details along with default information?
Visibility ( AD Groups which are assigned to Published apps)
Application Path
Command Line arguments
Working directory
Published app Server name and IP
-MachineCatalogs
-MaxDetails
-DeliveryGroups
-DeliveryGroupsUtilization
-Hardware
-Hosting
-StoreFront
-VDARegistryKeys
-Policies
Visibility ( AD Groups which are assigned to Published apps)
Application Path
Command Line arguments
Working directory
Published app Server name and IP
-MachineCatalogs
-MaxDetails
-DeliveryGroups
-DeliveryGroupsUtilization
-Hardware
-Hosting
-StoreFront
-VDARegistryKeys
-Policies
How about the one you missed. :)
.PARAMETER Applications
Gives detailed information for all applications.
This parameter is disabled by default.
This parameter has an alias of Apps.
.PARAMETER Applications
Gives detailed information for all applications.
This parameter is disabled by default.
This parameter has an alias of Apps.
ASKER
Hi Carl Webster,
-HTML –Applications
With the above parameters, I have received the attached report. The main columns “Application path and Visibility (Ad groups)” are in this report.
But the below information also needed the report.
-Published app Server name and IP
- Published app Server .. Vcpu, Memory and Hard disk space
-MachineCatalogs
-MaxDetails
-DeliveryGroups
-DeliveryGroupsUtilization
-Hardware
-Hosting
-StoreFront
-VDARegistryKeys
-Policies
-HTML –Applications
With the above parameters, I have received the attached report. The main columns “Application path and Visibility (Ad groups)” are in this report.
But the below information also needed the report.
-Published app Server name and IP
- Published app Server .. Vcpu, Memory and Hard disk space
-MachineCatalogs
-MaxDetails
-DeliveryGroups
-DeliveryGroupsUtilization
-Hardware
-Hosting
-StoreFront
-VDARegistryKeys
-Policies
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I tried to test the script with -Maxdetails. But received the attached error. Please help.
As per XD7_Inventory_V2_ReadMe file:
Note: The Citrix Group Policy PowerShell module will not load from an elevated PowerShell session. If the module is manually imported, the module is not detected from an elevated PowerShell session.
https://carlwebster.com/citrix-xenapp-xendesktop-7-8-documentation-script-update-version-2-12/
Carl Webster Says:
April 27, 2018 at 6:05 am
You should not have to install any XenApp 6.5 component or add-on to get the 7.x V2.xx script to work. All you need is the Citrix.GroupPolicy.command s.psm1 module file which I provide a copy of. That is shown in the ReadMe file, the script help text, and on the download page.
The StoreFront PowerShell cmdlets do not support remoting and I doubt they ever will. The script can only detect if StoreFront is installed and running on the Delivery Controller (which no sane person does in production).
Webster
In my case, DDC and StoreFront both are in same server.
In this case, how can I run this script?
Error.jpg
As per XD7_Inventory_V2_ReadMe file:
Note: The Citrix Group Policy PowerShell module will not load from an elevated PowerShell session. If the module is manually imported, the module is not detected from an elevated PowerShell session.
https://carlwebster.com/citrix-xenapp-xendesktop-7-8-documentation-script-update-version-2-12/
Carl Webster Says:
April 27, 2018 at 6:05 am
You should not have to install any XenApp 6.5 component or add-on to get the 7.x V2.xx script to work. All you need is the Citrix.GroupPolicy.command
The StoreFront PowerShell cmdlets do not support remoting and I doubt they ever will. The script can only detect if StoreFront is installed and running on the Delivery Controller (which no sane person does in production).
Webster
In my case, DDC and StoreFront both are in same server.
In this case, how can I run this script?
Error.jpg
You will have to reenable UAC so PowerShell will start non-elevated
ASKER
Hi Carl, I did the below steps on UAC in my DDC server.
Control Panel\All Control Panel Items\User Accounts >> Change User Account Settings >> Changed From "Alway Notify to Never Notify"
Rebooted DDC Server and test the Script, but the same result.
Script not started in non-elevated.
Control Panel\All Control Panel Items\User Accounts >> Change User Account Settings >> Changed From "Alway Notify to Never Notify"
Rebooted DDC Server and test the Script, but the same result.
Script not started in non-elevated.
UAC should be set to the level just above never notify. When UAC is set to never notify, PowerShell will always start in elevated mode if your account has admin rights on the server. You have to set UAC mode at any level higher than Off/Never Notify for PowerShell to start non-elevated.
This is the #2 most-asked question/issue I get on the scripts. Only the XenApp/XenDesktop/CVAD scripts when you request policy info have this issue.
This is the #2 most-asked question/issue I get on the scripts. Only the XenApp/XenDesktop/CVAD scripts when you request policy info have this issue.
App Manager
Details
Name (for administrator) App Manager
Name (for user) App Manager
Description and keywords
Folder (for administrators)
Application category (optional)
Visibility Domain\user1
domain\user2
domain\securitygroup1
Application Path C:\Program Files\Internet Explorer\iexplore.exe
Command Line arguments http://App/AppManager/Account/login.aspx
Working directory
Redirected file types
How do you want to control the use of this application?
Allow unlimited use
Application Type Hosted on Desktop
CPU Priority Level Normal
Home Zone Name
Home Zone Only False
Ignore User Home Zone False
Icon from Client
Local Launch Disabled False
Secure Command Line Arguments Enabled True
Add shortcut to user's desktop False
Add shortcut to user's Start Menu False
Wait for Printer Creation False