How to disable Dir Sync in Office365

Hello all, Even though disabling Dir Sync is not daily task for Office 365 admins, you should know how to do that if you need to do that. In older versions of Office 365 Admin Center, disabling Dir Sync was one of option from UI, but option is removed a long time ago. Process is…

Read More

How to install PowerShell v4

Hello everyone, long time no see ūüôā Today, I’ll give quick tutorial how to install PowerShell version 4. By default PowerShell version 2 is available in 2008 R2 & Windows 7, and there are many reasons to upgrade PowerShell to version 4. The process is simple and shouldn’t take you a lot of time. But,…

Read More

Auto-confirm deleting files in Powershell

Have¬†you ever tried to remove a bulk of files from Powershell with command Get-ChildItem “Path” -Recurse | Remove-Item,¬†but you received message: Get-ChildItem E:\Test -Recurse | Remove-Item The item at Microsoft.PowerShell.Core\FileSystem::E:\Test\001 has children and the Recurse parameter was not specified If you continue, all children will be removed with the item. Are you sure you want…

Read More

List all Exchange mailboxes sorted by size

During last few months, more than few times I received inquiry from clients, where they want list all mailboxes sorted by size. For that action, approximately needed time is 5 minutes, if you know which PowerShell command you need to run. Command Get-Mailbox | Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | Select DisplayName, TotalItemSize¬†will show you…

Read More