If it is too painful to reinstall apps and settings use the samsung ssd migration app to move your current C drive to the new 970.
Download and install the samsung pcie driver.
Download various software related to your product, including Samsung Magician, designed for use with Samsung's memory products, and find related information.
www.samsung.com
Download the app and read the instructions.
Run the aid and disconnect your original source drive which will be unchanged.
Keep it as a backup until you know that the conversion was good.
Why are you changing motherboards?
Usually, it is to support a new processor.
When you get the new motherboard it is possible that you can boot with the m.2. You can then install the new motherboard drivers and you are good to go.
If a clean windows install is not a big deal, that is the way to go.