To profile .Net and managed Visual C++ code from the command line, type:
Purify [<Purify options>] /net <exename> [<arguments to exename>]
For example, to profile a managed program and save the memory profiling data, you can type:
purify /SaveData= myVBappTest1.pmy /net "C:\Documents and Settings\jsmith\DotNet Projects\myVBapp.exe"
Purify launches myVBapp.exe, and saves the collected memory profile data to the Purify memory profiling data file (.pmy) myVBappTest1.pmy, without opening the memory profiling main window.
(C) Copyright IBM Corporation 1992, 2010.