A flock or group of Peafowl is termed as party, ostentation.
Different collective nouns can apply to all bird species, such as flock, colony, fleet, parcel, and dissimulation. However, when a flock or group of birds consists of just one type of bird or closely related species of birds, certain specialized terms are often used to describe the group of birds.
So, party, ostentation is /are used to describe a group of Peafowl.
See more questions on Birds here