The PWhere property defines a from/where clause (i.e. a WQL query without the Select clause). The query string may contain ...

The PWhere property defines a from/where clause (i.e. a WQL query without the Select clause). The query string may contain substitution parameters (tokens preceded by a '#' mark) indicating where values may be substituted into the query string. The parameter values are taken from the tokens immediately after the alias if the token cannot be resolved to a switch or verb - this allows for example a command such as 'w KillProcess 154' where the PWhere value for the KillProcess alias would be 'From Win32_process Where ProcessId = #ProcId'