I found this netsh command for Network Policy Server in Technet recently and thought I’d share.

netsh nps export “C:\config.xml” exportPSK = YES

This will export the entire NPS config to an XML file. That file can be imported into another NPS server by doing:

netsh nps import filename=”path\file.xml”

I am thinking about using this to keep redundant NPS boxes in “sync” for fail over. Regardless if my “sync” idea pans out its a good easy way to backup NPS.