How to move mailbox to the cloud Using Power shell

1. Open powershell and connect to the cloud :

https://www.itblog.co.il/?p=443 

2. New-MoveRequest -Remote -RemoteHostName mail.domain.com -RemoteCredential $LiveCred-TargetDeliveryDomain CloudDomain.mail.onmicrosoft.com

3. Use the following command to check the move Request Statistics –>

  Get-MoveRequestStatistics  -Identity UserName

4.Get  Move Request Statistics for all users : 

1. use the following command to check the move Request Statistics for all users –>

while(1) { Get-MoveRequest | Get-MoveRequestStatistics }

Posted in Office365 | Leave a comment

How to connect remote PowerShell to the office365’s cloud-based organization

1. Connect to  the cloud :

Connect to Office 365  :

Open Windows PowerShell.
Enter the credentials of an administrator account in the cloud-based organization using the following command –>

$LiveCred = Get-Credential
Create a connection to the cloud-based organization using the following command –>

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri                     https://outlook.office365.com/powershell-liveid/ -Credential $livecred -Authentication Basic -AllowRedirection

Load the Exchange cmdlets on the local computer using the following commands–>

Import-PSSession $Session
Disconnect from the session :

Remove-PSSession $Session

 

Posted in Office365 | Leave a comment

How to Send Email Using Telnet

How to Send Email Using Telnet:

Open CMD

1. Type telnet server.com 25 (where “server.com” is the name of the smtp (outgoing) server of your email provide

2.Type HELO server.com

3.Type MAIL FROM:User@server.com.

4.Type RCPT TO:Whatever@server.com

To write the message, type DATA and press Enter.   A.On the first line type SUBJECT: yoursubject and press Enter twice.

B.Continue typing your message.

C.Put a single period (.) on a line by itself and press Enter to send your message. The       server should say ‘Message accepted for delivery’. (Or it says 250 OK id=a long id)

5.Type QUIT to exit Telnet

Posted in Exchange 2010, Microsoft Exchange | Tagged , , , | Leave a comment

Export Exchange legacy DN For contacts to a csv file with Csvde

Export Exchange legacy DN For contacts to a csv file  with Csvde

Open CMD:

Run:

Csvde -d  “OU=MyContacts,DC=Idit,DC=local” -r “(objectClass=contact)” -f c:\Idit-Contacts.csv

Posted in Exchange 2010, Microsoft Exchange | Leave a comment

Exchange 2010 on Windows 2008 R2 – Features requirements

Exchange 2010 on Windows 2008 R2 – Features requirements

1) Open powershell

2) Import-Module ServerManager

3) Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy -Restart

 

Posted in Exchange 2010, Microsoft Exchange | Leave a comment

How to change the default language for NDR’s in Exchange 2010

How to change the default language for NDR’s in Exchange 2010:

Get-transportconfig | set-transportconfig -ExternalDsnLanguageDetectionEnabled $false -ExternalDsnDefaultLanguage en-us -InternalDsnLanguageDetectionEnabled $false -InternalDsnDefaultLanguage en-us

 

 

Posted in Exchange 2010, Microsoft Exchange | Leave a comment

Welcome to My blog

My name is Idit bnaya,

I work as a Microsoft  Infrastructure Consultant ,I created this blog to provide and share useful information .

 

Hope you found it helpful

Idit.

Note: All posts on this blog is my personal opinion, and is provided “as is”. I do not give any warranties or take responsibility for any errors that might occur

 

Posted in Profile | Leave a comment