windows – How to shut down computer immediately in Win 10

Back in (Windows XP?) times i had written .bat file which when clicked like normal icon would shut down my PC immediately, no questions no update instalations.

I copied it from somewhere , so I can not remember how to do it..
Also Win 10 might be different.

How to achieve that? (Or something very similar if that .bat trick doesnt work on win 10) ?

Cheers! ♥ ♥