gpt4 book ai didi

powershell - 在脚本中的MSMQ队列上设置权限

转载 作者:行者123 更新时间:2023-12-03 13:41:46 25 4
gpt4 key购买 nike

谁能给我一些关于如何在脚本(最好是PowerShell)中设置MSMQ队列权限的建议,但是我会使用VBscript

最佳答案

当前(2015年)该问题的答案。

例:

New-MsmqQueue -Name "MyQueue" -QueueType Private
Get-MsmqQueue -Name "MyQueue" -QueueType Private |
Set-MsmqQueueAcl -UserName "Everyone" -Allow FullControl

适用于:Windows 8.1,Windows PowerShell 4.0,Windows Server 2012 R2

引用: https://technet.microsoft.com/en-us/library/dn391735(v=wps.630).aspx

关于powershell - 在脚本中的MSMQ队列上设置权限,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/765954/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com