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

HOST_MAP

CS:GO

This command will print to console the name of the map you are currently playing on. This can also be used to change the "host_map" that appears in server queries if you provide a map name as an argument.

Syntax
host_map

Description

This command will print to console the name of the map you are currently playing on. This can also be used to change the "host_map" that appears in server queries if you provide a map name as an argument.

Syntax And Arguments

host_map