I can't find the "Set Exclude" feature in 2.82 as shown in this answer. Did they move it, if so where is it?
The feature to exclude a collections from rendering in the view layer was called Set Exclude in the early development of Blender 2.80. At least since the release candidates it is called Exclude from View Layer and can be set by toggling the checkbox in front of the collection name.
Alternatively it can also be set through the context menu, by right-clicking on the collection and then selecting either View Layer > Disable from View Layer or View Layer > Enable in View Layer.