I would like to share a simple command using the WMIC components in windows operating systems. First, we define WMIC. WMIC stands for Windows Management Instrumentation Command-line. It is a powerful tool which uses the power of Windows Management Instrumentation (WMI) to
enable systems management from the command line.
Here is a sample command in checking the running internet explorer process:
wmic process get Caption,ProcessID,CreationDate | findstr "iexplorer.exe"
Result:
For the creation Date Breakdown:
20141013064922.361940+480
|-> Date the program executed
064922.361940
| |-> Milliseconds
|->Time (hour,minute and seconds)
+480
|->represents the difference, in minutes, between the local time zone and Greenwich Mean Time
wmic process get Caption,ProcessID,CreationDate | findstr "iexplorer.exe"
Result:
For the creation Date Breakdown:
20141013064922.361940+480
|-> Date the program executed
064922.361940
| |-> Milliseconds
|->Time (hour,minute and seconds)
+480
|->represents the difference, in minutes, between the local time zone and Greenwich Mean Time
No comments:
Post a Comment