Installs MSMQ and, optionally, some of its sub-features, if they aren't already installed.
Install-WindowsFeatureMsmq [-HttpSupport] [-ActiveDirectoryIntegration] [<CommonParameters>]
This function installs MSMQ and, optionally, MSMQ's HTTP support and Active Directory integration. If any of the selected features are already installed, they are not re-installed; nothing happens.
NOTE: This function is only available on operating systems that have servermanagercmd.exe
or ocsetup.exe
and WMI support for the Win32_OptionalFeature class.
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
HttpSupport | SwitchParameter | Enable HTTP Support | false | false | |
ActiveDirectoryIntegration | SwitchParameter | Enable Active Directory Integrations | false | false |
Install-WindowsFeatureMsmq
Installs MSMQ, if it isn't already installed.
Install-WindowsFeatureMsmq -HttpSupport -ActiveDirectoryIntegration
Installs MSMQ and its HTTP support and Active Directory integration features, if they aren't already installed.