Is it possible to enable MSMQ from PowerShell on Windows 8(.1)? If so, how does one do this?
Powershell – Is it possible to enable MSMQ from PowerShell on Windows 8
msmqpowershellwindows 8windows-8.1
msmqpowershellwindows 8windows-8.1
Is it possible to enable MSMQ from PowerShell on Windows 8(.1)? If so, how does one do this?
Best Answer
Sure, when using the GUI, you would use the 'Windows Features' dialog through the control panel:
To do the same thing in PowerShell you can use the
Enable-WindowsOptionalFeature
cmdlet.You need to know the internal feature names, to get these, run:
you get something like this:
Now you can install the features you like:
Some features have dependencies on other features, to solve them, add the
-All
switch, which installs any dependencies automatically.