Unable to Migrate O365 user back to Exchange On-Prem – ERROR: Cannot find a recipient that has mailbox GUID

When you try to migrate an O365 mailbox back to Exchange on-premise, you may run into this error message.                 Below is the solution for it.     SOLUTION Set the ExchangeGUID property on the associated on-premises remote mailbox before you move the mailbox to the on-premises organization. To do this, follow these […]

Read more

Delete specific email from O365 mailboxes

1.  Connect to Exchange On-line From the PowerShell console on an Exchange 2010 server: $Cred = Get-Credential $s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -Authentication Basic –AllowRedirection Import-PSSession $s Type in your Domain Admin credentials with username of <username>@domain.com Type in your Domain Admin credentials with username of domain\<username>   Run this command: you will need the distribution […]

Read more

Delete a Calendar item from a mailbox

If you have the need to remove a specific calendar event/appointment from a mailbox, you can do it through Power Shell or Exchange Management Shell. Open PowerShell or EMS If this is an O365 mailbox, you will need to connect to the O365 environment Connect to Exchange On-line From the PowerShell console on an Exchange 2010 server: $Cred = Get-Credential […]

Read more

How to Export AD user list with email addresses

If you have the need to export a user list from an Active Directory group along with the user’s email address, run the following command in PowerShell as an administrator.   If your AD has the e-mail attribute filed out:   Powershell Get-ADGroupMember -Identity “groupname” -Recursive | Get-ADUser -Properties Mail | Select-Object Name,Mail | Export-CSV -Path C:\file.csv -NoTypeInformation     […]

Read more

Use PowerShell to disable scheduled tasks

How can I use Windows PowerShell to disable a scheduled task? Use the Disable-ScheduledTask cmdlet and specify the task name, for example: Disable-ScheduledTask -TaskName “SystemScan”     How can I use Windows PowerShell to disable all scheduled tasks in a particular folder? Use the Get-ScheduledTask cmdlet to enumerate the scheduled tasks in the folder, and then pipe the objects to […]

Read more
1 6 7 8 9 10