I have used Wireshark tool in a Virtual environment (GNS) where you can click between two links and run Wireshark.
However with physical switches it is different
Let's say you want to capture traffic going from a user PC going to Domain Controller.
You have a laptop with Wireshark tool on it, so where do you plug your Laptop to ? I believe on any available access port on the switch where user PC is plugged to. (Correct me if I am wrong), then connect to the management interface of the switch from the laptop using SSH for instance , then you need to configure the port where the laptop is plugged to as the source of the traffic and the port where the Domain Controller is plugged to as the destination
Well, I am not sure exactly how it should be configured, but I would an Expert to explain it clearly..