There's an old joke that goes something like, "If I were you I wouldn't start from here". Apple Music for Windows is missing many useful features from iTunes, playlist export/import being one of them. If you've recently installed Apple Music, Apple TV or Apple Devices I'd suggest removing all three and reverting to your old iTunes library. iTunes is limited to working with audiobooks and podcasts if any of those are installed.
FWIW I just installed Apple Music temporarily to confirm that, unlike iTunes, you cannot select a bunch of tracks and copy them, to then paste a table to data into a spreadsheet or text file. There is no scripting interface either or I'd be able to write scripts to replicate some of these missing features.
tt2