Change All Queue Type in Interface Queue - MikroTik Script RouterOS

How To Change All Queue Type in Interface Queue

:foreach i in=[/queue interface find ] do={ 
/queue interface set $i queue=only-hardware-queue;
}
or

:foreach i in=[/queue interface find ] do={ 
/queue interface set $i queue=ethernet-default;
}
Credit: www.o-om.com