Skip to content

Commit 7be9aed

Browse files
committed
Added note about operator property.
1 parent 7921700 commit 7be9aed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Retrieve specific process properties given one or more optional search condition
3636

3737
* object `opt` - An options object
3838
* object{string | number} | object{object{string | number}} `where` - (Optional) An object in which a key is
39-
1. `operator`, with a value of "AND" or "OR" (case-insensitive). Will determine how search conditions are joined.
39+
1. `operator`, with a value of "AND" or "OR" (case-insensitive). Will determine how search conditions are joined. If omitted, conditions are joined with "AND".
4040
2. A process property, with a value of either a process property value to match with an equal to comparison or an object containing `operator` and `value` keys. `operator` is a [WQL operator](https://msdn.microsoft.com/en-us/library/aa394605(v=vs.85).aspx) or [LIKE Operator](https://msdn.microsoft.com/en-us/library/aa392263(v=vs.85).aspx). `value` is a process property value.
4141
* array{string} `get` - Process properties to get
4242
* function(null | object `err`, array{object{string}} `processes`) `cb` - A callback to executed after the process properties are retrieved.
@@ -96,7 +96,7 @@ wmic.process.get({
9696
Retrieve all available process properties given one or more optional search conditions
9797

9898
* object{string | number} | object{object{string | number}} `where` - (Optional) An object in which a key is
99-
1. `operator`, with a value of "AND" or "OR" (case-insensitive). Will determine how search conditions are joined.
99+
1. `operator`, with a value of "AND" or "OR" (case-insensitive). Will determine how search conditions are joined. If omitted, conditions are joined with "AND".
100100
2. A process property, with a value of either a process property value to match with an equal to comparison or an object containing `operator` and `value` keys. `operator` is a [WQL operator](https://msdn.microsoft.com/en-us/library/aa394605(v=vs.85).aspx) or [LIKE Operator](https://msdn.microsoft.com/en-us/library/aa392263(v=vs.85).aspx). `value` is a process property value.
101101
* function(null | object `err`, array{object{string}} `processes`) `cb` - A callback to executed after the process properties are retrieved.
102102

@@ -150,7 +150,7 @@ Execute a method on process(es) given one or more search conditions
150150

151151
* object `opt` - An options object
152152
* object{string | number} | object{object{string | number}} `where` - An object in which a key is
153-
1. `operator`, with a value of "AND" or "OR" (case-insensitive). Will determine how search conditions are joined.
153+
1. `operator`, with a value of "AND" or "OR" (case-insensitive). Will determine how search conditions are joined. If omitted, conditions are joined with "AND".
154154
2. A process property, with a value of either a process property value to match with an equal to comparison or an object containing `operator` and `value` keys. `operator` is a [WQL operator](https://msdn.microsoft.com/en-us/library/aa394605(v=vs.85).aspx) or [LIKE Operator](https://msdn.microsoft.com/en-us/library/aa392263(v=vs.85).aspx). `value` is a process property value.
155155
* string `call` - The method to execute
156156
* function(null | object `err`, array{object{string}} `stdOut`) `cb` - A callback to be executed after the method is called.
@@ -195,7 +195,7 @@ Terminate process(es) given one or more search conditions
195195

196196
* object `opt` - An options object
197197
* object{string | number} | object{object{string | number}} `where` - An object in which a key is
198-
1. `operator`, with a value of "AND" or "OR" (case-insensitive). Will determine how search conditions are joined.
198+
1. `operator`, with a value of "AND" or "OR" (case-insensitive). Will determine how search conditions are joined. If omitted, conditions are joined with "AND".
199199
2. A process property, with a value of either a process property value to match with an equal to comparison or an object containing `operator` and `value` keys. `operator` is a [WQL operator](https://msdn.microsoft.com/en-us/library/aa394605(v=vs.85).aspx) or [LIKE Operator](https://msdn.microsoft.com/en-us/library/aa392263(v=vs.85).aspx). `value` is a process property value.
200200
* function(null | object `err`, array{object{string}} `stdOut`) `cb` - A callback to be executed after the process(es) are terminated.
201201

0 commit comments

Comments
 (0)