This module supports every action in the WEM Administrator console in a single PowerShell module.
I meant to update this as new WEM versions were being released, but since it's now near impossiblie to get a trial license from Citrix, I have given up. It's a shame such a company does not embrace community driven projects like this one.
The code is now open to the community. Feel free to use it, adopt in your own projects, continue development, or as you see fit :)
You can also install this module from the PowerShell Gallery, but that version will not go beyond 2110.0.1; the latest version that is also available in this repo. You can also install the script from the PowerShell Gallery ([EvergreenAdmx][poshgallery-evergreenadmx]):
Install-Script -Name Citrix.WEMSDK
Supports the following commands:
Get-WEMApp
Get-WEMAppAssignment
Get-WEMEnvVariable
Get-WEMEnvVariableAssignment
Get-WEMExtTask
Get-WEMExtTaskAssignment
Get-WEMFileAssoc
Get-WEMFileAssocAssignment
Get-WEMFileSystemOp
Get-WEMFileSystemOpAssignment
Get-WEMIniFilesOp
Get-WEMIniFilesOpAssignment
Get-WEMKioskSettings
Get-WEMNetDrive
Get-WEMNetDriveAssignment
Get-WEMRegValue
Get-WEMRegValueAssignment
New-WEMApp
New-WEMAppAssignment
New-WEMEnvVariable
New-WEMEnvVariableAssignment
New-WEMExtTask
New-WEMExtTaskAssignment
New-WEMFileAssoc
New-WEMFileAssocAssignment
New-WEMFileSystemOp
New-WEMFileSystemOpAssignment
New-WEMIniFilesOpAssignment
New-WEMNetDrive
New-WEMNetDriveAssignment
New-WEMRegValue
New-WEMRegValueAssignment
Remove-WEMApp
Remove-WEMAppAssignment
Remove-WEMEnvVariable
Remove-WEMEnvVariableAssignment
Remove-WEMExtTask
Remove-WEMExtTaskAssignment
Remove-WEMFileAssoc
Remove-WEMFileAssocAssignment
Remove-WEMFileSystemOp
Remove-WEMFileSystemOpAssignment
Remove-WEMIniFilesOp
Remove-WEMIniFilesOpAssignment
Remove-WEMNetDrive
Remove-WEMNetDriveAssignment
Remove-WEMRegValue
Remove-WEMRegValueAssignment
Reset-WEMKioskSettings
Set-WEMApp
Set-WEMAppAssignment
Set-WEMEnvVariable
Set-WEMEnvVariableAssignment
Set-WEMExtTask
Set-WEMExtTaskAssignment
Set-WEMFileAssoc
Set-WEMFileAssocAssignment
Set-WEMFileSystemOp
Set-WEMFileSystemOpAssignment
Set-WEMIniFilesOp
Set-WEMIniFilesOpAssignment
Set-WEMKioskSettings
Set-WEMNetDrive
Set-WEMNetDriveAssignment
Set-WEMRegValue
Set-WEMRegValueAssignment
Get-WEMAction
Get-WEMActionGroup
Get-WEMActionGroupAssignment
Get-WEMADAgentObject
Get-WEMAdministrator
Get-WEMADUserObject
Get-WEMAgentSettings
Get-WEMApplication
Get-WEMApplicationAssignment
Get-WEMAppLockerRule
Get-WEMAppLockerRuleConditionObject
Get-WEMAppLockerSettings
Get-WEMAssignment
Get-WEMCitrixOptimizerConfiguration
Get-WEMCondition
Get-WEMConfiguration
Get-WEMDatabaseVersion
Get-WEMEnvironmentalSettings
Get-WEMEnvironmentVariable
Get-WEMEnvironmentVariableAssignment
Get-WEMExternalTask
Get-WEMExternalTaskAssignment
Get-WEMFileAssociation
Get-WEMFileAssociationAssignment
Get-WEMFileSystemOperation
Get-WEMFileSystemOperationAssignment
Get-WEMGroupPolicyGlobalSettings
Get-WEMGroupPolicyObject
Get-WEMGroupPolicyObjectAssignment
Get-WEMIniFileOperation
Get-WEMIniFileOperationAssignment
Get-WEMNetworkDrive
Get-WEMNetworkDriveAssignment
Get-WEMParameters
Get-WEMPersonaSettings
Get-WEMPort
Get-WEMPortAssignment
Get-WEMPrinter
Get-WEMPrinterAssignment
Get-WEMRegistryEntry
Get-WEMRegistryEntryAssignment
Get-WEMRule
Get-WEMStorefrontSetting
Get-WEMSystemMonitoringSettings
Get-WEMSystemOptimization
Get-WEMTransformerSettings
Get-WEMUPMSettings
Get-WEMUserDSN
Get-WEMUserDSNAssignment
Get-WEMUSVSettings
Get-WEMVirtualDrive
Get-WEMVirtualDriveAssignment
New-WEMActionGroup
New-WEMActionGroupAssignment
New-WEMADAgentObject
New-WEMAdministrator
New-WEMAdministratorPermissionObject
New-WEMADUserObject
New-WEMApplication
New-WEMApplicationAssignment
New-WEMAppLockerRule
New-WEMAppLockerRuleConditionObject
New-WEMCitrixOptimizerConfiguration
New-WEMCondition
New-WEMConfiguration
New-WEMDatabaseConnection
New-WEMEnvironmentVariable
New-WEMEnvironmentVariableAssignment
New-WEMExternalTask
New-WEMExternalTaskAssignment
New-WEMFileAssociation
New-WEMFileAssociationAssignment
New-WEMFileSystemOperation
New-WEMFileSystemOperationAssignment
New-WEMGroupPolicyObject
New-WEMGroupPolicyObjectAssignment
New-WEMIniFileOperation
New-WEMIniFileOperationAssignment
New-WEMNetworkDrive
New-WEMNetworkDriveAssignment
New-WEMPort
New-WEMPortAssignment
New-WEMPrinter
New-WEMPrinterAssignment
New-WEMRegistryEntry
New-WEMRegistryEntryAssignment
New-WEMRule
New-WEMStorefrontSetting
New-WEMUserDSN
New-WEMUserDSNAssignment
New-WEMVirtualDrive
New-WEMVirtualDriveAssignment
Remove-WEMAction
Remove-WEMActionGroup
Remove-WEMActionGroupAssignment
Remove-WEMADAgentObject
Remove-WEMAdministrator
Remove-WEMADUserObject
Remove-WEMApplication
Remove-WEMApplicationAssignment
Remove-WEMAppLockerRule
Remove-WEMAssignment
Remove-WEMCitrixOptimizerConfiguration
Remove-WEMCondition
Remove-WEMConfiguration
Remove-WEMEnvironmentVariable
Remove-WEMEnvironmentVariableAssignment
Remove-WEMExternalTask
Remove-WEMExternalTaskAssignment
Remove-WEMFileAssociation
Remove-WEMFileAssociationAssignment
Remove-WEMFileSystemOperation
Remove-WEMFileSystemOperationAssignment
Remove-WEMGroupPolicyObject
Remove-WEMGroupPolicyObjectAssignment
Remove-WEMIniFileOperation
Remove-WEMIniFileOperationAssignment
Remove-WEMNetworkDrive
Remove-WEMNetworkDriveAssignment
Remove-WEMPort
Remove-WEMPortAssignment
Remove-WEMPrinter
Remove-WEMPrinterAssignment
Remove-WEMRegistryEntry
Remove-WEMRegistryEntryAssignment
Remove-WEMRule
Remove-WEMStorefrontSetting
Remove-WEMUserDSN
Remove-WEMUserDSNAssignment
Remove-WEMVirtualDrive
Remove-WEMVirtualDriveAssignment
Reset-WEMAgentSettings
Reset-WEMAppLockerSettings
Reset-WEMEnvironmentalSettings
Reset-WEMGroupPolicyGlobalSettings
Reset-WEMParameters
Reset-WEMPersonaSettings
Reset-WEMSystemMonitoringSettings
Reset-WEMSystemOptimization
Reset-WEMTransformerSettings
Reset-WEMUPMSettings
Reset-WEMUSVSettings
Set-WEMActionGroup
Set-WEMActionGroupAssignment
Set-WEMADAgentObject
Set-WEMAdministrator
Set-WEMADUserObject
Set-WEMAgentSettings
Set-WEMApplication
Set-WEMApplicationAssignment
Set-WEMAppLockerRule
Set-WEMAppLockerSettings
Set-WEMCitrixOptimizerConfiguration
Set-WEMCondition
Set-WEMConfiguration
Set-WEMEnvironmentalSettings
Set-WEMEnvironmentVariable
Set-WEMEnvironmentVariableAssignment
Set-WEMExternalTask
Set-WEMExternalTaskAssignment
Set-WEMFileAssociation
Set-WEMFileAssociationAssignment
Set-WEMFileSystemOperation
Set-WEMFileSystemOperationAssignment
Set-WEMGroupPolicyGlobalSettings
Set-WEMGroupPolicyObject
Set-WEMGroupPolicyObjectAssignment
Set-WEMIniFileOperation
Set-WEMIniFileOperationAssignment
Set-WEMNetworkDrive
Set-WEMNetworkDriveAssignment
Set-WEMParameters
Set-WEMPersonaSettings
Set-WEMPort
Set-WEMPortAssignment
Set-WEMPrinter
Set-WEMPrinterAssignment
Set-WEMRegistryEntry
Set-WEMRegistryEntryAssignment
Set-WEMRule
Set-WEMStorefrontSetting
Set-WEMSystemMonitoringSettings
Set-WEMSystemOptimization
Set-WEMTransformerSettings
Set-WEMUPMSettings
Set-WEMUserDSN
Set-WEMUserDSNAssignment
Set-WEMUSVSettings
Set-WEMVirtualDrive
Set-WEMVirtualDriveAssignment