NB! It seems this console command is not compatible with CS2.
Command Profile

HOST_WORKSHOP_COLLECTION

CS:GO

This command will get the latest version of the specified workshop collection ID and set the maps in that collection as the server's map list.

Syntax
host_workshop_collection [Workshop ID]

Description

This command will get the latest version of the specified workshop collection ID and set the maps in that collection as the server's map list.

How To Use host_workshop_collection

  1. Enable the developer console in Counter-Strike settings.
  2. Open the console with the tilde key (~).
  3. Enter host_workshop_collection [Workshop ID], replacing bracketed arguments with the value you want, then press Enter.

This legacy command is not currently listed as compatible with Counter-Strike 2.

Syntax And Arguments

host_workshop_collection [Workshop ID]
Workshop ID The ID of the workshop collection you wish to set as the server's map list (the number part of a workshop page URL).