Mostrando entradas con la etiqueta Exchange. Mostrar todas las entradas
Mostrando entradas con la etiqueta Exchange. Mostrar todas las entradas

miércoles, 2 de marzo de 2016

Remote Powershell to manage Office 365

Yhea, in the previous post I wrote about connecting to Office 365 using powershell in order to do taks related to Office 365.


But if we want to go a bit deep and do some Exchange tasks (For instance Get-Mailbox), we will need to connect into our  Exchange Online, if not we’ll get an error like:



So, in order to connect into our Exchange Online and be able to break everything … sorry, I mean to FIX everything, we should follow the next steps:


1- Update the default PowerShell Execution Policy

Set-ExecutionPolicy Unrestricted


2- Creating a Remote Session to Exchange Online. 
$UserCredential = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession

NOTE: After that a window will pop up asking you for your credentials. You should enter your Office 365 admin user.

3- Done, you are connected to your Exchange Online. 
In order to check your connectivity, now you can run the command Get-Mailbox  

domingo, 30 de noviembre de 2014

Exchange 2003 | ExMerge Export mailbox to PST

How To Export Exchange 2003 mailboxes into PST files


 
 
 
 
 
 
19 Votes

First grant full mailbox permissions to the mailbox (by default even domain administrators have deny access to mailboxes)
To do this open AD and select the user (e.g. John Doe) you want to grant the administrator full maibox rights. Example: Right click on John Doe and go to the Exchange Advanced
Select Mail box rights
Select Advanced
Select “DENY Domain ADministrators” and click on the edit button
Click the check box to allow mailbox full rights
Click OK until you are back to AD main screen
NOw you can migrate the mailbox by doing the following:
Download the exmerge program from Microsoft
(link here: http://www.microsoft.com/downloads/details.aspx?FamilyId=429163EC-DCDF-47DC-96DA-1C12D67327D5&displaylang=en )
Extract the 4 files into Exchsrvr/bin folder
Run the exmerge.exe and select the option for a two step procedure and select the users to export the mailboxes.
You are done!
===========
Granting permissions (Same information with more details)
Granting right to a specific mailbox
Use the following procedure to grant access to an Exchange 2000 or an Exchange 2003 mailbox:
Note: You must have the appropriate Exchange administrative permissions to do so.
1.Start Active Directory Users and Computers.
2.On the View menu, ensure that the Advanced Features check box is selected.
Note: This is not necessary on Exchange Server 2003 because of the fact that the Exchange Advanced tab is exposed by default.
1.Right-click the user whose mailbox you want to give permissions to and choose Properties
Granting right to a specific mailbox
Use the following procedure to grant access to an Exchange 2000 or an Exchange 2003 mailbox:
Note: You must have the appropriate Exchange administrative permissions to do so.
1.Start Active Directory Users and Computers.
2.On the View menu, ensure that the Advanced Features check box is selected.
Note: This is not necessary on Exchange Server 2003 because of the fact that the Exchange Advanced tab is exposed by default.
1.Right-click the user whose mailbox you want to give permissions to and choose Properties
===
1.On the Exchange Advanced tab, click Mailbox Rights
1.Notice that the Domain Admins and Enterprise Admins have both been given Deny access to Full Mailbox access.
2.Click Add, click the user or group who you want to have access to this mailbox, and then click OK.
3.Be sure that the user or group is selected in the Name box.
4.In the Permissions list, click Allow next to Full Mailbox Access, and then click OK.
Click OK all the way out
source:http://www.petri.co.il/grant_full_mailbox_rights_on_exchange_2000_2003.htm

martes, 31 de diciembre de 2013

Exchange 2013 | Email Forwarding

Email Forwarding


Sometimes we need to forward an email account to another account.
For example when a user is OOO, or when a user leaves the company and sombady else needs to receive the emails that sent to the first one.

So, in order to setup that we have 2 choices.

  1. Using Power Shell
  2. Using EAC (Exchange Admin Center)

1- Using Power Shell

This example forwards all email sent to the mailbox of Ken Sanchez to pilarp@contoso.com.
Set-Mailbox -Identity "Ken Sanchez" -ForwardingAddress "pilarp@contoso.com"
This example delivers email to the mailbox of Dan Park and at the same time forwards all mail sent to Dan Park to danpark.parents@fineartschool.net.
Set-Mailbox -Identity "Dan Park" -ForwardingAddress "danpark.parents@fineartschool.net" -DeliverToMailboxAndForward $true
When a mailbox is created, the value of the DeliverToMailboxAndForward parameter is set to $false by default. When you use the EAC to configure mail forwarding, this value isn't changed. This means that email sent to the user's mailbox is sent to the forwarding address and not copied to the user's mailbox. If you want messages to be delivered to both the mailbox and the forwarding address, you have to set the DeliverToMailboxAndForward parameter to $true.


2- Using EAC (Exchange Admin Center)

  1. In the EAC, navigate to Recipients > Mailboxes.
  2. In the list of user mailboxes, click the mailbox that you want to configure mail forwarding for, and then click Edit Edit Icon.
  3. On the mailbox properties page, click Mailbox Features.
  4. Under Delivery Options, click View details to view or change the setting to forward email messages sent to the user to another recipient.
  5. Select the Enable forwarding check box and then click Browse.
  6. On the Select Mail User and Mailbox page, select a recipient to whom you want to forward all email messages that are sent to this mailbox.
  7. Click OK, and then click Save to save your changes.