Posts

Showing posts with the label Management

Exchange 2010 - Get Full Access to User’s Mailboxes

To get access to a specific mailbox with all permissions use the following command in “Exchange Management Shell” Get-Mailbox username | Add-ADPermission –user username –AccessRights GenericAll To get access to a specific Exchange Mailbox database and all of the mailboxes that this database contains, use the following command in “Exchange Management Shell” Get-MailboxDatabase –identity “ mailbox database name ” | Add-Permission –user username –AccessRights GenericAll Done!

Using PowerShell to Export a List of all the Users in a Security Group in Active Directory

Image
  PowerShell is known with its power of Active Directory management. If you really into simplifying your daily complicated time consuming tasks, this might be very interesting for you. Lately, for a small project I needed to make a list of all the users in a “Security Group” in Active Directory. The security group is called “Color Printing” and we had about 20 users in that “Security Group”. I did not want to write down all the names one by one in a excel sheet so I’ve started to make a research about how to export the list of users in security group. I know that when your users are only in an “Organization Unit”, it’s very easy to do this task, but when it’s a security group, you don’t have the “Export” option. Here what I found to complete a task of this kind! You can download free cmdlets from http://www.quest.com/powershell/activeroles-server.aspx for “Active Directory” management tasks. Once the right setup is downloaded and installed in your computer (in my case X64 version...