Reporting Services supports the use of scripts to automate routine installation, deployment, and management tasks. You can refer to this document: Script Deployment and Administrative Tasks.
For RS.exe, you can check the following link: RS.exe Utility (SSRS).
Here is a sample Reporting Services rs.exe script for copying content between report servers that you can use as a reference: https://learn.microsoft.com/en-us/sql/reporting-services/tools/sample-reporting-services-rs-exe-script-to-copy-content-between-report-servers?view=sql-server-ver16.
If the answer is helpful, please click
Accept Answer and
Up-Vote for the same. If you have any questions, please feel free to let me know.