I also got powdery mildew on a bed of flowers I grew, at the end of fall. I used the opportunity to test out a copper spray and a few other fungicides. I wanted to see what worked, what didn't for future use.
I found the copper soap spray can really wash away, if you will, the mildew. You have to thoroughly spray, every three days. It had no impact on the health of the leaves and the flowers were unharmed. It came back but in really small spots that I would trim off the plant. They even grew. Not sure how it would impact cannabis. Maybe diluting it a bit in a hand sprayer might effective. Can not be used at all if you are in flower or pre flower. By then it's too late anyway.
I tested another common fungicide, non copper. It didn't work at all. It was so goopy it spayed in globs and was tough to get coverage that way. I threw it out. Was worthless.