How can I use Drush to add a block in Drupal 9?


A similar question was asked for Drupal 7: Add a block to a region using drush

However as far as I can see this feature is not available in newer versions of Drupal. Looking at the Drush Extras module, it appears to only be available for Drupal 7.x.

How can I add a block to a region in Drupal 9?