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…