ITBUFF
asked on
Windows 2008 Server - Export Folder permissions to a file or XML
Our server is acting strange due to a virus passing through our virus scanner. Our backups is not restoring folder permissions properly.
Does anyone know if there is either an application that can nicely capture (export) Windows 2008/NT Security Permissions, or possibly a working script ?
I have tried a few scripts that export in a weird unreadable fashion.
This request is pretty urgent...
Thanks in advance.
Does anyone know if there is either an application that can nicely capture (export) Windows 2008/NT Security Permissions, or possibly a working script ?
I have tried a few scripts that export in a weird unreadable fashion.
This request is pretty urgent...
Thanks in advance.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Export-MessageOps.FolderPe
Export-MessageOps.AllFolde
Example
To exports all the folder permission on a particular folder to a file:
Export-MessageOps.FolderPe
To export the permission from a particular mailbox:
Export-MessageOps.AllFolde
Import Mailbox Folder Permissions
Import-MessageOps.FolderPe
Import-MessageOps.AllFolde
If the ACE already exists on the mailbox folder, the ACE will either be updated with the permission stored in the file or it will be added.
Both cmdlets have the following parameter:
Clearexisting : Boolean parameter with two possible values: $true or $false. This parameter controls the removal of an existing ACE that isn’t in the export file. Set to$false by default.
Example
To import exported Mailbox permission and clear any existing permissions:
Import-MessageOps.FolderPe
To import exported Mailbox permission and clear any existing permissions:
Import-MessageOps.AllFolde