As of Generation IX:
! = "not"
Thunder, !Thunderbolt
Duosion, Iron Treads, Reuniclus, Solosis
Thunderbolt, !Thunder
Amaura, Beheeyem, Buneary, Cyclizar, Elgyem, Espurr, Ferroseed, Gallade, Garbodor, Gardevoir, Golurk, Goomy, Gothita, Gothitelle, Gothorita, Grubbin, Herdier, Hoopa, Inkay, Iron Valiant, Kirlia, Klang, Klink, Lillipup, Magearna, Magmortar, Malamar, Meltan, Meowstic, Minccino, Naganadel, Patrat, Ralts, Silvally, Skrelp, Spritzee, Swirlix
Fire Blast, !Flamethrower
N/A
Flamethrower, !Fire Blast
Druddigon, Eelektross, Electivire, Electrike, Exeggutor-Alola, Furret, Genesect, Inkay, Kommo-o, Malamar, Manectric, Noivern, Sentret, Seviper, Silvally, Slurpuff, Swirlix, Terapagos, Walking Wake, Watchog, Zoroark, Zoroark-Hisui
Blizzard, !Ice Beam
Chien-Pao, Rotom-Frost
Ice Beam, !Blizzard
Altaria, Baltoy, Buneary, Claydol, Cresselia, Deoxys, Ducklett, Golett, Golurk, Gulpin, Latias, Latios, Magearna, Mawile, Melmetal, Sigilyph, Silvally, Swablu, Swalot, Swanna, Terapagos, Wishiwashi
Hydro Pump, !Surf
Bagon, Castform, Hydrapple, Iron Bundle, Iron Jugulis, Magikarp, Roaring Moon, Rotom-Wash, Salamence, Shelgon, Volcanion
Surf, !Hydro Pump
Audino, Avalugg-Hisui, Axew, Azurill, Barbaracle, Beartic, Bergmite, Bibarel, Binacle, Bouffalant, Bunnelby, Clamperl, Cubchoo, Diggersby, Druddigon, Ducklett, Feebas, Fraxure, Furfrou, Furret, Garchomp, Gogoat, Golisopod, Hariyama, Haxorus, Heliolisk, Helioptile, Herdier, Krabby, Latias, Latios, Linoone, Linoone-Galar, Lotad, Makuhita, Miltank, Nidoking, Nidoqueen, Obstagoon, Pancham, Pangoro, Pichu, Pikachu, Raichu, Raichu-Alola, Rampardos, Sealeo, Sentret, Silvally, Skiddo, Slurpuff, Sneasel, Spheal, Stoutland, Stunfisk, Stunfisk-Galar, Swirlix, Tauros, Tauros-Paldea-Combat, Terapagos, Weavile, Wimpod, Zangoose, Zigzagoon, Zigzagoon-Galar
To do this yourself, use the following command in a Showdown chatroom or PM:
/nds MOVE1, !MOVE2, all
Replace MOVE1 with the learnable move and MOVE2 with the unlearnable move. This command doesn't take into account generation-by-generation learnsets (for example, Sandslash-Alola can only learn Ice Beam in Generation VIII onwards); you will want to use /learn POKEMON, MOVE, genNUMBER
to check availability in different games.