powershell을 사용하여 특정 큐에서 저장소 제한 (큐 할당량)을 제거하려면 어떻게합니까? powershell을 사용하여 MSMQ 저장소 제한을 제거하십시오.
... | Set-MsmqQueue -QueueQuota $false # (does nothing)
... | Set-MsmqQueue -QueueQuota 0 # (does nothing)
... | Set-MsmqQueue -QueueQuota -1 # (fails; queue quota must be positive integer)
... | Set-MsmqQueue -QueueQuota ([System.Int32]::MaxValue) # (successfully sets quota to 2147483647)
... | Set-MsmqQueue -QueueQuota ([System.Int64]::MaxValue) # (fails; Invalid value 9223372036854775807 for property MaximumQueueSize.)
powershell documentation하지 않는 내가
을 시도 설정를 제거Get-MsmqQueue myQueue | Set-MsmqQueue -QueueQuota 50000
사람 : 으로
이 PowerShell을 몇 가지 값으로 저장 용량 제한을 설정, 우리는 Set-MsmqQueue
cmdlet을 사용할 수 있습니다 이를 수행하는 방법을 지정하십시오. 누구든지이 작업을 수행하는 방법을 알고 있습니까?
해결 방법은 다음과 같이 끝났습니다.'Get-MsmqQueue myQueue | –
값을'$ null '로 설정하면 기본 설정으로 되돌릴 수 있다고 생각합니다. –