How to Manage MailEnable via PowerShell


OVERVIEW

MailEnable's PowerShell interface allows system administrators and developers to manage MailEnable via PowerShell.

Administrators can perform typical actions via scripts and can develop and extend these to these commands via scripting. PowerShell significantly improves automation and integrated management of MailEnable.

LAUNCHING POWERSHELL

You can launch PowerShell either by:

1. Selecting Windows PowerShell from the Start screen, or:

2. Selecting Windows PowerShell from the taskbar.

EXECUTING MAILENABLE POWERSHELL COMMANDS

Once PowerShell opens, use the following command to add the MailEnable PowerShell Commands:

Add-PSSnapin MailEnable.Provision.Command

You can then issue specific commands depending on the area of MailEnable you wish to configure. If you issue the Help command it will provide you a comprehensive list of the settings that can be manipulated.

Example: PS> Get-MailEnablePlatform -Help "*"

The asterisk tells PowerShell to return all settings.

You can also filter them by simply providing part of the setting name.

Example: PS>Get-MailEnablePlatform -Help "Skin"
SettingId : sysSkinCatalogueEnabled
SettingType : MailEnablePlatform
SettingDataType : dword
SettingControl : 0=Disabled, 1=Enabled
Purpose : Determines whether the Management Console shows an online skin catalogue
The Help command returns the SettingId (the name of the setting), and the SettingType (which is the Command that is used to Set it).


MORE INFORMATION

For more information, please refer to the PowerShell reference at: https://www.mailenable.com/developer-resources.asp

 



Product:MailEnable (All Versions)
Article:ME020648
Module:Other
Keywords:Powershell,Development,API,Management
Class:BUG: Product Defect/Bug
Revised:Sunday, August 15, 2021
Author:
Publisher:MailEnable