English 中文(简体)
我能否在方案上改变全球多指标类集调查的环境?
原标题:Can I change global MSMQ settings programmatically?

Specifically I m wondering if I can change the "Limit message storage to (KB)" global setting using Powershell? I need to turn off this option. At the moment we aren t doing a programmatic installation of MSMQ so my other option would be to add this to our installation documentation as part of the setup, but I d like to know if this option is there first before doing that.

请注意,这是全球环境,而不是定点。

问题回答

解决办法取决于MSMQ是如何安装的。

  • AD-integrated MSMQ - The setting is a property of the computer object in Active Directiry
  • Workgroup mode - The setting is the MachineQuota registry value.

• 如何在微软电文Queuing上设定计算机配额和配额

Cheers
John

如果这是我所认为的“向(KB)储存电文”的严格登记价值,你可以在权力登记处做这样的事情。

cd hklm:

New-ItemProperty "HKLM:SOFTWAREMicrosoftMSMQSimpleClient" -Name "MachineQuota" -Value 2048 -PropertyType "DWord"

2048年是MSMQ机器的违约值。





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签