Remove multiple projects from portfolio

We use portfolios to manage projects per client with an automation to add to a specific portfolios via the project template. Since we have a lot of projects that are created and automatically added to a portfolio, it’d be great if there was a way to select multiple projects and remove it from the portfolio if the project is no longer active.