Kralijir, you can do that from the GUI console.
In the left pane, select the ESX host.
In the right pane, click on the "virtual machines" tab. Now, you can bulk select all of the VMs there, and simply right click to shut them all down, or make any other bulk changes.
Some changes via bulk selection require all VMs to be in the same state; Powered Off, Powered On, etc.
If this works for you, please mark this reply as the "answer".