Collection de scripts MFCOM à télécharger

Pour configurer une ferme avec le minimum d’efforts, il est parfois pratique de scripter (parfois?? souvent !).

Citrix propose plusieurs scripts en téléchargement sur sa KB :

Il existe aussi une section outils (DSCHECK, Medevac etc)

il faut s’enregistrer sur le site pour acceder à ces infos (compatible avec les infos utilisateur mycitrix)

Scripts et exemples SDK avec MFCOM :

http://support.citrix.com/kb/category.jspa?categoryID=645&subCategoryID=645



List All Idle Sessions In A Citrix Farm By User Name

FarmAppUtil Tool to save all application properties in an XML file.

Add a Driver Mapping through MFCOM

Move a Server From One Zone to Another Zone

Enable or Disable Logons for a All Servers in a Farm

Enable or Disable Logons for a Specific Server in a Farm

Display Administrator Permissions on Servers and Sub Folders

Create a Virtual IP Range

Enumerate All Applications For All Servers In A Citrix Farm

Enable An Application In A Citrix Farm

Disable An Application In a Citrix Farm

Enumerate All Licenses In a MetaFrame XP Farm

List All Idle Sessions In A Citrix Farm

Disable A Policy In A Citrix Farm

Enable A Policy In A Citrix Farm

Enumerate All Applications For A Server In A Citrix Farm

Enumerate All Policies In A Citrix Farm

Enumerate All Servers For All Application In A Citrix Farm

Enumerate All Servers For An Application In A Citrix Farm

Demonstrate How To Logoff A User From A Session

Hotfix Inventory Management Tool

Enumerate All Printer Drivers In A Citrix Farm

Printer Driver Inventory Management Tool

MFCOM Application Management Tool

Enable Or Disable Server Logons in Citrix Farm

Remove An Application From All Servers In Farm

Remove All Applications From A Server In A Citrix Farm

List Hotfixes For All Servers In A Citrix Farm

Hello

I have a problem for create a property to policies Citrix, i use Powershell …

I created a policies :



$farm = new-Object -com “MetaframeCOM.MetaframeFarm”
$farm.Initialize(1)
$farm.FarmName
$PolicyName= Read-Host "nom Stratégie"
$PolicyDescription=$PolicyName
$NewPolicy = $farm.CreatePolicy(19,$PolicyName,$PolicyDescription)
$farm.$PolicyName


But I can't have a group associated with this policies and to a printer session as this one ... :(
thank you for your answer
Christophe