通过PowerShell访问MSMQ [英] Accessing MSMQ via PowerShell

查看:116
本文介绍了通过PowerShell访问MSMQ的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已使用以下 Cmdlet的MSMQ.

I have installed the MSMQ feature onto both server (win 2008 R2) and client machine (win 7) using the following Link. The Feature appears in the server manager and I am able to create a public or privet queue through the GUI. But when I come to try access the queue locally on the server through PowerShell (2.0) none of the Cmdlet's for MSMQ are recognized within the shell.

我是否还需要采取其他步骤来通过PowerShell访问MSMQ?我需要加载一个MSMQ模块吗?

Are there any further steps that I need to take to access MSMQ through PowerShell? Is there a MSMQ module that I need to load?

对此有任何建议.

推荐答案

如果在提供的链接中单击一个级别,则会看到您正在查看预发行的PowerShell 4.0模块文档.这是指向父页面的链接.

If you click up one level in the link you provided you'll see that you're looking at pre-release PowerShell 4.0 module documentation. Here's the link to the parent page.

https ://web.archive.org/web/20131029215718/http://technet.microsoft.com/en-us/library/dn249523.aspx

PowerShell社区扩展(PSCX)具有一些可用于MSMQ的cmdlet,并且可与PowerShell 2.0一起使用.

PowerShell Community Extensions (PSCX) has some cmdlets for working with MSMQ, and it works with PowerShell 2.0, though.

这篇关于通过PowerShell访问MSMQ的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆