Starting to mess around with scripting and I need a bit of help.
I would like to combine the following two scripts:
http://gallery.technet.microsoft.com/scriptcenter/en-us/52974cee-5de4-451b-9a21-b178c04d9a0b
and
http://gallery.technet.microsoft.com/scriptcenter/en-us/fac36513-672c-476f-a446-9032e41e1d1a
They are almost identical, which is nice. However, I am very new to scripting and I'm not sure how to tackle this? Do I declare everything up top or per loop. And probably the hardest part, how do I have the processor loop run, then wait 5 seconds or whatever, and during that 5 seconds have the mem loop run?
Shoot, I don't even need step by step instructions, if someone could just combine them, I could look at the result and start messing around.
Gracias
I would like to combine the following two scripts:
http://gallery.technet.microsoft.com/scriptcenter/en-us/52974cee-5de4-451b-9a21-b178c04d9a0b
and
http://gallery.technet.microsoft.com/scriptcenter/en-us/fac36513-672c-476f-a446-9032e41e1d1a
They are almost identical, which is nice. However, I am very new to scripting and I'm not sure how to tackle this? Do I declare everything up top or per loop. And probably the hardest part, how do I have the processor loop run, then wait 5 seconds or whatever, and during that 5 seconds have the mem loop run?
Shoot, I don't even need step by step instructions, if someone could just combine them, I could look at the result and start messing around.
Gracias