So you have generated users in your ad that you want to move to Office 365. Before you dirsync the user to the Cloud you can change mail-attribute. But after the user in synced to Office365 you cannot do this…
This is how: Get-Mailbox -ResultSize Unlimited | Get-MailboxStatistics | Select DisplayName,servername,database,StorageLimitStatus, @{name=”TotalItemSize (MB)”;expression={[math]::Round((($_.TotalItemSize.Value.ToString()).Split(“(“)[1].Split(” “)[0]. Replace(“,”,””)/1MB),2)}},@{name=”TotalDeletedItemSize (MB)”;expression={[math] ::Round((($_.TotalDeletedItemSize.Value.ToString()).Split(“(“)[1].Split(” “)[0]. Replace(“,”,””)/1MB),2)}},ItemCount,DeletedItemCount | Sort “TotalItemSize (MB)” -Descending | Export-CSV “C:dirAll Mailboxes_120814.csv” -NoTypeInformation Love it!
Hi again, Today I got in the middle of a problem. CRM client told me: But at the same time Web interface was working correctly. After some investigation i found that CRM for Outlook version have been updated to…
Does this look familiar to You? If so you are not alone and the fix is. Delete Relaying Party Trust for Office 365: And then update federation data with this.
1 |
Update-MSOLFederatedDomain -DomainName <Federated Domain Name> |
or
1 |
Update-MSOLFederatedDomain –DomainName:<Federated Domain Name> –supportmultipledomains |
http://support.microsoft.com/kb/2647048 And it works also with ADFS…
Get-ADUser -Filter {UserPrincipalName -like “*@domain.local”} -SearchBase “OU=whateverisright,DC=contoso,DC=com” | ForEach-Object { $UPN = $_.UserPrincipalName.Replace(“domain.local”,”newdomain.local”) Set-ADUser $_ -UserPrincipalName $UPN } Easy as opening a banana, right? https://www.youtube.com/watch?v=nBJV56WUDng 🙂
If you have many users synced to Office 365. It will be more efficient to user powershell to license them. This is how: connect-msolservice and enter crendentials. Get-MsolAccountSku will display the license types. And then: $AccountSkuId = “tenantname:STANDARDWOFFPACK_STUDENT” $UsageLocation =…
https://support.microsoft.com/select/default.aspx?target=assistance Have a good day all!
Direct Access is an excellent vpn-solution from Microsoft. With Server 2012 R2 it got even better. There is alot of pages telling how to install it right, but in real life you have to combine some of them. So here…
Get all users Deleted Items size: Get-MailBox | Get-MailboxStatistics | select DisplayName,TotalDeletedItemSize Get a specific users Deleted Items Size: Get-MailboxStatistics <alias> | select DisplayName,TotalDeletedItemSize Purge All Users Deleted Items: get-mailbox | Search-mailbox -SearchDumpsterOnly -DeleteContent Purge a specific users Deleted Items:…
Lync 2013 Monitoring is great … well when it works 🙂 Today one customer wanted to open Response Group Usage Report and got nothing after 15 minutes on waiting. The reason was a broken index in lcscdr database. And the…