How to upgrade Cisco switches in Mixed Stack

How to upgrade cisco switches in Mixed Stack

In this example I upgrade a mixed 2960 stack, mixed with 2960s and 2960x

in order to upgrade the whole stack at once, I have to provide all the different firmwares for the different models X/S series (It has to be the same version eg. version 15.0.2 EX5)

this command will download and distribute the right firmware to the right switch in the stack, and upgrade all switches