POSM Command Line Options

POSM has many powerful command line functions to automate tasks. Here are some examples:
How POSM Map reader starts a new session. Once a session is loaded its possible to control the Header page AssetID though a memory hook.
POSM.exe /S /T Nassco Pacp /M D:\City_of_POSM\City of Posm\
Start a new Nassco Pacp session with AssetID 1447989 and work order of WO123ABC POSM.exe /S /T Nassco Pacp /AID 144798 /WO WO123ABC
Generate Reports for a connection called City of POSM msSQL
POSM.exe /C City of POSM msSQL /G Import Sessions to a database.
First edit the Setup.ini in the database path that is to be imported into. Under the AutoImport section
you must update the:
lPOSMFolder = Right(lPosmServerPath, Len(lPosmServerPath) - lRootIndex)
WritePrivateProfileString "AutoImport", "RootPOSMPath", lRootPOSMPath, lIniFile ‘This is the name of the path to POSM server folder only (without POSM folder name)
WritePrivateProfileString "AutoImport", "POSMFolder", lPOSMFolder, lIniFile ‘This is the name of the
POSM folder only
'Save Path to Local Ini
WritePrivateProfileString "AutoImport", "BackupToolPath", lServerPath, App.Path & "\Setup.ini" ‘This is the path where the database is located to be exported from
//PathToServer/POSM.exe /I
The list of commands is as follows:

/S - Start New Session

/T TemplateName - Start Session With Template Selected

/AID AssetID - Start Session With AssetID

/WO WorkOrderNumber - Start Session With Work Order

/M Path - Specify Map Data Path

/SSM - Start Session Management

/C - Select Connection (even if bypass is not checked)

/I - Auto Import Sessions to this database