Set-MsmqQueueManagerACL

Windows Server 2012 R2 and Windows 8.1

Set-MsmqQueueManagerACL

Modifies the access rights of a queue manager.

Sintaxis

Parameter Set: Default
Set-MsmqQueueManagerACL -UserName <String[]> [-Allow <QueueManagerAccessRights[]> ] [-Deny <QueueManagerAccessRights[]> ] [-Remove <QueueManagerAccessRights[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]




Descripción detallada

The Set-MsmqQueueManagerACL cmdlet modifies the access rights of the local queue manager. This cmdlet returns the updated MsmqQueueManagerAcl object.

Parámetros

-Allow<QueueManagerAccessRights[]>

Specifies an array of permissions that this cmdlet grants to a user account or group. Los valores aceptables para este parámetro son los siguientes:

-- AllExtendedRights. All extended rights for the specified queue manager.
-- CreateChildObjects. Create child objects with the specified queue manager.
-- CreateQueue. Create a queue with the specified queue manager.
-- Delete. Delete queues of the specified queue manager.
-- DeleteChildObjects. Delete child objects from the specified queue manager.
-- FullControl. Full control of the specified queue manager.
-- GetPermissions. Get the permissions of the specified queue manager.
-- GetProperties. Get the properties of the specified queue manager.
-- ListContent. List content stored in the queues of the specified queue manager.
-- PeekDeadLetter. Peek a message from the specified queue manager system dead letter queue and transactional dead letter queue.
-- PeekJournal. Peek a message from the specified queue manager system journal queue.
-- ReceiveDeadLetter. Receive a message from the specified queue manager system dead letter queue and transactional dead letter queue.
-- ReceiveJournal. Receive a message from the specified queue manager system journal queue.
-- SetPermissions. Set the permissions of the specified queue manager.
-- SetProperties. Set the properties of the specified queue manager.
-- TakeOwnership. Assign a queue of the specified queue manager to oneself.


Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-Deny<QueueManagerAccessRights[]>

Specifies an array of permissions that the cmdlet revokes from a user account or group. Los valores aceptables para este parámetro son los siguientes:

-- AllExtendedRights. All extended rights for the specified queue manager.
-- CreateChildObjects. Create child objects with the specified queue manager.
-- CreateQueue. Create a queue with the specified queue manager.
-- Delete. Delete queues of the specified queue manager.
-- DeleteChildObjects. Delete child objects from the specified queue manager.
-- FullControl. Full control of the specified queue manager.
-- GetPermissions. Get the permissions of the specified queue manager.
-- GetProperties. Get the properties of the specified queue manager.
-- ListContent. List content stored in the queues of the specified queue manager.
-- PeekDeadLetter. Peek a message from the specified queue manager system dead letter queue and transactional dead letter queue.
-- PeekJournal. Peek a message from the specified queue manager system journal queue.
-- ReceiveDeadLetter. Receive a message from the specified queue manager system dead letter queue and transactional dead letter queue.
-- ReceiveJournal. Receive a message from the specified queue manager system journal queue.
-- SetPermissions. Set the permissions of the specified queue manager.
-- SetProperties. Set the properties of the specified queue manager.
-- TakeOwnership. Assign a queue of the specified queue manager to oneself.


Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-Remove<QueueManagerAccessRights[]>

Specifies an array of permissions that this cmdlet removes from a user account or group. Los valores aceptables para este parámetro son los siguientes:

-- AllExtendedRights. All extended rights for the specified queue manager.
-- CreateChildObjects. Create child objects with the specified queue manager.
-- CreateQueue. Create a queue with the specified queue manager.
-- Delete. Delete queues of the specified queue manager.
-- DeleteChildObjects. Delete child objects from the specified queue manager.
-- FullControl. Full control of the specified queue manager.
-- GetPermissions. Get the permissions of the specified queue manager.
-- GetProperties. Get the properties of the specified queue manager.
-- ListContent. List content stored in the queues of the specified queue manager.
-- PeekDeadLetter. Peek a message from the specified queue manager system dead letter queue and transactional dead letter queue.
-- PeekJournal. Peek a message from the specified queue manager system journal queue.
-- ReceiveDeadLetter. Receive a message from the specified queue manager system dead letter queue and transactional dead letter queue.
-- ReceiveJournal. Receive a message from the specified queue manager system journal queue.
-- SetPermissions. Set the permissions of the specified queue manager.
-- SetProperties. Set the properties of the specified queue manager.
-- TakeOwnership. Assign a queue of the specified queue manager to oneself.


Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-UserName<String[]>

Specifies the user account or group whose permissions the cmdlet changes.


Alias

ninguno

¿Requerido?

true

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-Confirm

Solicita confirmación antes de ejecutar el cmdlet.


¿Requerido?

false

¿Posición?

named

Valor predeterminado

falso

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-WhatIf

Muestra lo que sucedería si se ejecutara el cmdlet. El cmdlet no se ejecuta.


¿Requerido?

false

¿Posición?

named

Valor predeterminado

falso

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

Ejemplos

Example 1

PS C:\> Set-MsmqQueueManagerAcl -UserName "CONTOSO\DavidChew" -Allow DeleteMessage,PeekMessage -Deny TakeOwnership,SetPermissions

Temas relacionados

Adiciones de comunidad

AGREGAR
Mostrar: