This LabVIEW Example demonstrates how to programmatically format a Real-Time Target from a Remote PC.
The attached VI will format a Real-Time target programmatically. This VI could be converted into an executable and then be used from computers that don't have LabVIEW nor NI-MAX installed. The user will be able to select the File System to use and choose to preserve or keep the network settings.
With the LabVIEW Development Environment:
When converting this VI into an executable, the target computer will only need:
How Do I Format My Real-Time Target and Reinstall the Software?
http://digital.ni.com/public.nsf/allkb/6B1343F61905203386257051006573CA?OpenDocument
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.