Good Day :)

Is there any command which helps in getting the Version Of MSMQ software installed on the windows server 2008 ? In my scenario MSMQ registry path is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Parameters\ .

I Tried the below command but it gave the sub values too


Regards, Vikas Chandra .C

  • 1
    The version of MSMQ is linked to the operating system. It isn't a separate product so if you know the OS version then you know the MSMQ major version. What are you planning to do with the information? – John Breakwell Jan 3 '17 at 15:09

I do not know MSMQ but if the version value is located into HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Parameters\ you should be able to use the PowerShell Property : Get-ItemPropertyValue.

For example :

Get-ItemPropertyValue 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion' 'ProgramFilesDir'

Will return the value : C:\Program Files

Hope it can help!

  • Get-ItemPropertyValue : The term 'Get-ItemPropertyValue' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:1 + Get-ItemPropertyValue 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion' 'Program ... + ~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Get-ItemPropertyValue:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException – vikas Jan 3 '17 at 14:45
  • Thank you for the response I tried the command you gave it gave me an error I think am suppose to install the module and have to try this command . – vikas Jan 3 '17 at 14:46
  • Thanks all am able to pull the version details with the below command – vikas Jan 3 '17 at 15:20
  • get-itemproperty -path Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Parameters | format-table – vikas Jan 3 '17 at 15:21
  • Get-ItemPropertyValue may not work in older versions of PowerShell. – Slogmeister Extraordinaire Jan 17 '18 at 14:00

The MSMQ version is linked to the operating system: https://en.wikipedia.org/wiki/Microsoft_Message_Queuing.

That would be 4.0 for Windows Server 2008 and 5.0 for Windows Server 2008 R2.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.