Leave a Reply

2 comments

  1. Can you tell me what version of the OS and powershell you are using? On Server 2008 R2 with Powershell 3 I can’t get it to recognize any powershell cmdlets. It appears the msmq module is not installed in Powershell on my server, but I can’t find any documentation anywhere I look to explain how/where to get it.

    Mike Saulters Reply

    • I’m also using Windows 2008 R2, but with Powershell 4. If at all possible, I would recommend upgrading to at least this version, and Powershell 5 if possible.
      If you think the MSMQ feature is missing you can add it through the Server manager or through Powershell with “Add-WindowsFeature MSMQ”.
      Note that this post doesn’t really use Cmdlets much, rather it uses the .NET types for MSMQ/XML manipulation – if you think these types are missing, you might need the proper .NET framework: “Add-WindowsFeature NET-Framework-45-Core” or, if all else fails .NET 2.0/3.5: “Add-WindowsFeature NET-Framework-Core”

      Léon Bouquiet Reply