Hi,
I have MFCOM Script which gives me information of farm like applications published on farm,application path,groups,users who has access on the applications.
But the information which I am getting in this I need to format that information and this takes long time to do formatting.
Secondly sometimes I want to see on which server how many applications are published which user or group has access on the published application.
Can someone please help me to modify script which would provide me information:
1. Script sends data in Excel and information would comes in rows and columns.
2. I need server wise published application details.
Thanks in advance.
Anurag
Script:
Dim mfFarmDim mfAppDim mfGrpDim mfUsr
Set mfFarm = CreateObject("MetaFrameCOM.MetaFrameFarm")mfFarm.Initialize 1
For Each mfApp In mfFarm.ApplicationsmfApp.LoadData 1
WScript.Echo "Published Application - " & mfApp.AppnameWScript.Echo " Application Location"WScript.Echo " " & mfApp.WinAppObject.DefaultInitProgWScript.Echo
WScript.Echo " Groups"For Each mfGrp In mfApp.GroupsWScript.Echo " " & mfGrp.GroupNameNext
WScript.EchoWScript.Echo " Users"For Each mfUsr In mfApp.UsersWScript.Echo " " & mfUsr.UserNameNext
WScript.Echo " Servers"For Each mfUsr In mfApp.ServersWScript.Echo " " & mfUsr.ServerNameNextWScript.Echo
Next
Hi Anurag,
To accomplish you goal, you would need to first load up all your data into a relational database and then output the data to a web page(s). I have already developed such a system. Let me know if you would like further information on how to implement this.
Michael
Here is the trick, do the following
- Create Column headings for each of the coulmns, servers, users groups and published apps (in the excel file used to output values)
- Enable Data filter feature in excel for that first row with column names and from there you can do what you are looking for!!
FYI: You might want to have a look at this utility from Citrix:
http://support.citrix.com/article/ctx119955
Also, this website has some decent tools as well:
http://ctxadmtools.musumeci.com.ar/
And there is the Citrix Documentor:
http://www.brianmadden.com/content/article/Ilja-Godau-Releases-Tool-to-Automatically-Document-your-Citrix-PS4-Environments
Alan Osborne
President (MCSE, CCNA, VCP, CCA)
VCIT Consulting - Citrix/Terminal Services Remote Desktop Solutions for SMB
VCIT website My Blog