script DHCP Pool and Static Ip

Hi Guyz
please help :frowning:

I have a couple of pool ,
VDI-100
VDI-200

and i want , if host name = vdi-pool
this host assigned a VDI-200 ip pool and make static this


sorry for my bad english :slight_smile: