Exactly, most switches manufactures have either a DB9 or RJ45 console port. In many cases, most require a rollover cable. Below are some very common types connections.
Computer Serial DB9-RJ45---Rollover Cable---RJ45-DB9 Switch
Computer Serial DB9-RJ45---Rollover Cable---RJ45 Switch