whats the command to ban through console?

ive got some retard that needs a 7 day ban and ive never banned through console before