Jesus" question did not reveal lack of knowledge but the desire to identify the woman so He could strengthen and encourage her faith. Occasionally Jesus chose to heal people who expressed no faith in Him. Here someone with faith drew on His power without His conscious selection of her. Evidently God healed the woman through Jesus without Jesus" awareness. Likewise God sometimes brings blessing to others through His children without those believers being aware of it. Jesus meant that God"s power had gone from Him to another person, but not that He consequently felt a lack of power. Luke alone identified Peter as the spokesman of the disciples here perhaps to make the narrative more concrete and vivid. [source][source][source]
"It was good for her, indeed it was necessary for her that her cure be widely known. All her acquaintances must have been aware of her permanent state of ceremonial uncleanness. If she was to be received back into normal religious and social intercourse, it was necessary that her cure become a matter of public knowledge. So Jesus took steps to see that people know what had happened." [1][source]