none
Comando Auditoria de Exchange 2007 RRS feed

  • Pregunta

  • Buenos días,

    Alguien podría ayudarme con el siguiente comando:

    get-mailboxdatabase -Identity "Server01\StorageGroup01\MailboxDatabase01" | Add-ADPermission -User example\ServiceAccount -ExtendedRights ms-Exch-Store-Bypass-Access-Auditing -InheritanceType All

    Quisiera saber cuál es la sentencia correcta para revertirlo. Es una sentencia de Powershell de Exchange 2007.

    Gracias y un saludo

    martes, 13 de marzo de 2012 4:58

Respuestas

  • hola,

          En realidad son 2 comandos :-)

          uno que lista todos los mailboxes en ese store y otro que agrega permisos de a un usuario especifico de AD.

         si lo que deseas es poder remover dicho permiso, el comando completo seria:

    get-mailboxdatabase -Identity "Server01\StorageGroup01\MailboxDatabase01" | Remove-ADPermission -User example\ServiceAccount -ExtendedRights ms-Exch-Store-Bypass-Access-Auditing -InheritanceType All


    -----------------

    Best Regards, Marianok

    Disclaimer: While I do my best to make sure everything I post is accurate and safe, I’m certainly not perfect so all this information is provided "AS IS" with no warranties or guarantees and confers no rights. Any suggested steps or code provided should be done under your own risk, I take no responsibilities if your system blows, the universe stops spinning, o nor for any other adverse consequence the information on this code might cause directly or indirectly.

    martes, 13 de marzo de 2012 12:10

Todas las respuestas

  • hola,

          En realidad son 2 comandos :-)

          uno que lista todos los mailboxes en ese store y otro que agrega permisos de a un usuario especifico de AD.

         si lo que deseas es poder remover dicho permiso, el comando completo seria:

    get-mailboxdatabase -Identity "Server01\StorageGroup01\MailboxDatabase01" | Remove-ADPermission -User example\ServiceAccount -ExtendedRights ms-Exch-Store-Bypass-Access-Auditing -InheritanceType All


    -----------------

    Best Regards, Marianok

    Disclaimer: While I do my best to make sure everything I post is accurate and safe, I’m certainly not perfect so all this information is provided "AS IS" with no warranties or guarantees and confers no rights. Any suggested steps or code provided should be done under your own risk, I take no responsibilities if your system blows, the universe stops spinning, o nor for any other adverse consequence the information on this code might cause directly or indirectly.

    martes, 13 de marzo de 2012 12:10
  • Gracias Mariano, lo probaré

    Un saludo.

    martes, 13 de marzo de 2012 20:11