Brian Madden Logo
Your independent source for application and desktop virtualization.
advertisement

MFCOM Script - Published Application Server Wise, in the Scripting / Automation forum on BrianMadden.com

rated by 0 users
This post has 3 Replies | 3 Followers

Not Ranked
Points 175
Anurag Goswami Posted: Thu, May 21 2009 11:58 AM

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 mfFarm
Dim mfApp
Dim mfGrp
Dim mfUsr

Set mfFarm = CreateObject("MetaFrameCOM.MetaFrameFarm")
mfFarm.Initialize 1

For Each mfApp In mfFarm.Applications
mfApp.LoadData 1

WScript.Echo "Published Application - " & mfApp.Appname
WScript.Echo " Application Location"
WScript.Echo " " & mfApp.WinAppObject.DefaultInitProg
WScript.Echo

WScript.Echo " Groups"
For Each mfGrp In mfApp.Groups
WScript.Echo " " & mfGrp.GroupName
Next

WScript.Echo
WScript.Echo " Users"
For Each mfUsr In mfApp.Users
WScript.Echo " " & mfUsr.UserName
Next

WScript.Echo " Servers"
For Each mfUsr In mfApp.Servers
WScript.Echo " " & mfUsr.ServerName
Next
WScript.Echo

Next

  • | Post Points: 50
Not Ranked
Points 235

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

  • | Post Points: 5
Not Ranked
Points 178

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!!

 

  • | Post Points: 5
Top 10 Contributor
Points 24,510

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

  • | Post Points: 5
Page 1 of 1 (4 items) | RSS