create system restore point command code example
Example: create system restore point command
Wmic.exe /Namespace:\\root\default Path SystemRestore Call CreateRestorePoint "%DATE%", 100, 1
REM if you want to use a custom name, replace "%DATE%" with a name string, e.g. "My restore point"