Jesus (PBUH) had control or power over devils. (Matthew 12/27-28), but it was also a miracle that was performed by others.
When the Jews accused him of casting out devils by the aid of the devils’ leader, he said, “And if I cast out demons by Beelzebul, by whom do your sons cast them out?”(Matt. 12:27). As such, he proved that the Jews have the same ability of controlling devils.
Jesus (PBUH) warned us of liars who would succeed in casting out devils. He said, “On that day many will say to me, 'Lord, Lord, did we not prophesy in your name, and cast out demons in your name, and do many mighty work in your name?”(Matthew 7/22-23). False prophets are able to bring out devils, but that does not prove their prophethood, their righteousness, or their divinity.