Get-ChildItem "./Plugins/Developer/RiderLink/Intermediate/Build/Win64/UnrealEditor/Development" -Filter "*.json" -Recurse | ForEach-Object -Process { ((Get-Content -path $_.FullName -Raw) -Replace '"Version": "1.2"','"Version": "1.1"') | Set-Content -Path $_.FullName}
Edited the script for Rider. Worked for me