Failed to execute Troubleshoot-DatabaseSpace.ps1

Recently We have encountered issues with Exchange 2010 Troubleshoot-DatabaseSpace.ps1 after we upgraded exchange servers with powershell version 4.0 SCOM started throwing errors: Failed to execute Troubleshoot-DatabaseSpace.ps1. This has happened because it needs PS version 2.0 for execution, We can’t remove PS 4.0 as our storage system software utilizes it. SCOM MP was updated, powershell Fix was applied…

Backup and Restore permissions

This Script/Process is all about backing up permissions & restoring when required. This was the requirement from one of the projects, as their backup software was not able to take permissions backup, therefore on restoring, permissions were not getting applied. Thanks to Powershell & Creator of File System Security PowerShell Module 4.0.1 which has come to our…

Block Sender in Office 365 based on Regex Pattern

We have seen products like Proofpoint & Ironport use Pattern blocks quite effectively, Today we will go ahead & test the same functionality in office 365. Below rule is demonstrated as an example, there can be other regex expressions that can also be utilized. Scenario: Lot of spam was being received from Envelope sender, numbers are always getting…

SharePoint Item Level Permissions

There can be situations when you have to provide item level permissions to one of the user on a list with hundred of items. This can be quite tedious with the manual approach so obviously Powershell will be the saver here 🙂 Sharing the script that will add itemlevel permissions: Input ot the script :…