Showing posts with label Exchange. Show all posts
Showing posts with label Exchange. Show all posts

Wednesday, October 2, 2013

Deleting a specific mail from an entire Exchange 2010 organisation


Below is a quick guide to deleting a specific mail from an entire Exchange 2010 organisation:


 

Grant access to run commands required:
Add-RoleGroupMember -Identity "Mailbox Import-Export" -Member "Gareth.Cuff"
Create a copy of all mails to be deleted into Gareth.Cuff Mailbox
get-mailbox | Search-Mailbox -SearchQuery 'subject:"Absence from Office" and from:"The Dude"' -TargetMailbox "Gareth.Cuff" -TargetFolder "SearchResult" -LogLevel Full
Export to PST to save as Emails in mailbox will be deleted by next –deletecontent command
Delete the Mails
Get-Mailbox | Search-Mailbox -SearchQuery 'subject:"Absence from Office" and from:"Tony Stephens"' -DeleteContent

Tuesday, April 30, 2013

Making Exchange 2010 Mac friendly


Dear all.

Although the default security permissions on IIS (for Exchange) works pretty efficiently, challenges may arise when trying to connect a mail client that is not Windows friendly, ie. Mac.  In this case specifically Outlook for Mac – it does NOT support Integrated Windows Authentication.  So to set up a RPC connection on this O/S and mail client, you will need to make the following modification:



 Full article can be found here:

Wednesday, April 24, 2013

Microsoft Exchange 2010 Service Pack 3 Release

Hi Guys,


For those of you who don't know yet, MS has finally released Service Pack 3 for Exchange 2010!


See this link for more info;



Have fun upgrading :)

Tuesday, February 26, 2013

Some Helpful Commands

Hi All,

Ever needed to get the Dell service tag in a hurry and didn't have server manager installed? Open a command prompt and run the below command:

wmic bios get serialnmber 


Get DELL Model and Serial number


wmic csproduct get name,identifyingnumber

------------------------------------------
How to Unlock An Active Directory account Using Command Line

If you require to unlock a user account without the use of active directory users and computers mmc snapin you may use the below command:

NET USER (Username E.G:John.Doe) /Domain /active:yes


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

Adding BesAdmin Permissions to a exchange 2010 database;


Get-MailboxDatabase | Add-ADPermission -User "BESAdmin" -AccessRights ExtendedRight -ExtendedRights Receive-As, ms-Exch-Store-Admin

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


To log sessions off of server you can run the following commands from a remote machine, Open CMD prompt as the relevant Domain and then enter the below cmd:

query session /server:servername

This will show all active sessions on the Server. To reset/logoff a session simply type the below command with the Session ID as shown in the previous query statement:
reset session 4 /server:servername

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

File Sharing Permissions via command line


If you require that all sub folder of a specific folder inherit their permissions from the parent there is a simple command that can be run from the command prompt.

Command Prompt:

D:\{usershare}\:> icacls [Directory] /inheritance:e /T

icacls – is the utility built into server 2003 SP2 and up, [followed by directory], /inheritance:e – enables inheritance and the /T switch is to set for all files and sub-folders.

Administrator ownership will be required.