Jesus did nothing except the Father showed Him. The works He did were the works of the Father. Likewise the things He said. Wherever He went and whatever He did or said was given to Him from the Father, led and and enabled by the Spirit.
Joh 5:17 But Jesus answered them, My Father worketh hitherto, and I work.
Joh 9:4 I must work the works of him that sent me, while it is day: the night cometh, when no man can work.
Joh 14:10 Believest thou not that I am in the Father, and the Father in me? the words that I speak unto you I speak not of myself: but the Father that dwelleth in me, he doeth the works.
Joh 5:19 Then answered Jesus and said unto them, Verily, verily, I say unto you, The Son can do nothing of himself, but what he seeth the Father do: for what things soever he doeth, these also doeth the Son likewise.
Joh 5:20 For the Father loveth the Son, and sheweth him all things that himself doeth: and he will shew him greater works than these, that ye may marvel.
Joh 5:30 I can of mine own self do nothing: as I hear, I judge: and my judgment is just; because I seek not mine own will, but the will of the Father which hath sent me.
Joh 8:28 Then said Jesus unto them, When ye have lifted up the Son of man, then shall ye know that I am he, and that I do nothing of myself; but as my Father hath taught me, I speak these things.
Joh 12:49 For I have not spoken of myself; but the Father which sent me, he gave me a commandment, what I should say, and what I should speak.
Christ had the Spirit without measure and therefore had perfect communion with the Father. It follows therefore that in all things He was led of the Spirit, the one possible exception (not really an exception but a heightened or strngthened example) being when He was driven of the Spirit to the temptations ~ Mar 1:12 And immediately the Spirit driveth him into the wilderness.
Mar 1:13 And he was there in the wilderness forty days, tempted of Satan; and was with the wild beasts; and the angels ministered unto him.
We are told that at His baptism the Spirit descended upon Him and lighted upon Him and abode with Him and in particular that, Luk 4:1 And Jesus being full of the Holy Ghost returned from Jordan, and was led by the Spirit into the wilderness,
Luk 4:2 Being forty days tempted of the devil. And in those days he did eat nothing: and when they were ended, he afterward hungered.
This is the very first thing after his baptism and sets the complete pattern for all things after.
So we see the Father had everything planned out and arranged everything and Jesus simply walked in the will of the Father and worked the good works, 'which God hath before ordained that He should walk in them.' You notice the extraction from Ephesians 2? Eph 2:10 For we are his workmanship, created in Christ Jesus unto good works, which God hath before ordained that we should walk in them.
So then we too are to learn to walk as Christ walked, in entire and utter dependence upon the Father, 1Jn 2:6 He that saith he abideth in him ought himself also so to walk, even as he walked.
After all without Him we can do nothing, absolutely nothing, zilch. Joh 15:5 I am the vine, ye are the branches: He that abideth in me, and I in him, the same bringeth forth much fruit: for without me ye can do nothing.
Because we do not have perfect communion but are hindered by the old flesh life then it is necessary that we deny self and take up our cross and follow that our old flesh life be cut off and we live by the Spirit.
As it was for Christ so it is to be for us.
So the power to perform miracles, as you put it, was entirely with the Father and ordered of the Father. Christ limited Himself to live only as a man to fully take upon Himself our condition and show it was possible to live like that. It is a mistake, sadly all too common, to see that power residing in Him to use as He might choose, and that is an example to us. This is a very important point, which also addresses the false assumption in your question.
The Father's will is perfect, Christ submitted Himself totally to that, why then should any not also want that?
Thy kingdom come. Thy will be done in earth, as it is in heaven.
As to why the Father did no miracles with some, the Father sees the hearts and since all miracles glorify God, whether those hearts are right to return glory to Him. There is an important principle here also. God never forces any, but will affirm those who seek Him and wait upon Him. A miracle to one not seeking or waiting upon Him would have the effect of forcing them. Likewise Jesus never openly asserted Who He was but always confirmed to those who had received revelation from the Father as to Who He was.
So the Father saw the hearts and would not work miracles for those who would be forced by them.
Remember those forced against their will remain of the same heart and it is a new heart that is required.
This also is why Jesus spoke in parables so as to leave it open for people to draw what they will or not from them but that those with a right heart would have understanding from the Father.
Mat 13:13 Therefore speak I to them in parables: because they seeing see not; and hearing they hear not, neither do they understand.
Mat 13:14 And in them is fulfilled the prophecy of Esaias, which saith, By hearing ye shall hear, and shall not understand; and seeing ye shall see, and shall not perceive:
Mat 13:15 For this people's heart is waxed gross, and their ears are dull of hearing, and their eyes they have closed; lest at any time they should see with their eyes, and hear with their ears, and should understand with their heart, and should be converted, and I should heal them.
So a contrite heart is vital.
Psa 34:18 The LORD is nigh unto them that are of a broken heart; and saveth such as be of a contrite spirit.
Psa 51:17 The sacrifices of God are a broken spirit: a broken and a contrite heart, O God, thou wilt not despise.
Isa 57:15 For thus saith the high and lofty One that inhabiteth eternity, whose name is Holy; I dwell in the high and holy place, with him also that is of a contrite and humble spirit, to revive the spirit of the humble, and to revive the heart of the contrite ones.