Switching of shunt capacitors can cause transient overvoltage. The voltages are traditionally evaluated with electromagnetic transients (EMT) simulation programs. It is a very time-consuming process mainly due to the need to convert a power-flow (or short-circuit) case to the EMT case. This paper proposes an idea to conduct capacitor switching studies directly inside commercial power-flow/short-circuit tools such as PSS/E, thus avoiding the data-conversion process. The idea is to conduct switching studies in the frequency domain. The frequency response of the study network is determined using the short-circuit solution engine of the host commercial software. This paper presents the theory, unique issues, and implementation details of the idea. The effectiveness of the proposed method is verified by comparing the results with those of the EMT simulations.