Dear friends,
I've the following WMI test query:
"select User from Win32_DiskQuota where Status = 1"
(Alert if row count is > 0)
to check the quota warnings of my file server.
This query works fine and i can send the result in a mail to the manager. But i need include in this mail the output "User" resulting from the query to identify the user that needs to enlarge their quota. How i can do that?
Exist any macro or something similar?
Many thanks in advance.
WMI test method help
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Actually, "WMI" test method does not have any specific macro variables. I think, you should slightly change some options and use %Reply% variable.
For instance, you may use following settings:
Regards,
Max
For instance, you may use following settings:
Code: Select all
Alert if any User <> ''
Max
(more) WMI test method help
Thanks for your help Max, but
when i use the Alert if any User <> '' formula , in the %Reply% variable only the first of the output results (from the first row) of the query are loaded. How can i load the rest of the results (from the next rows) for to send they in my e-mail to the manager?
Newly thanks.
when i use the Alert if any User <> '' formula , in the %Reply% variable only the first of the output results (from the first row) of the query are loaded. How can i load the rest of the results (from the next rows) for to send they in my e-mail to the manager?
Newly thanks.