View Single Post
Old 01-07-2008   #2 (permalink)
Marco Shaw [MVP]
Guest


 
 

Re: Powergadget : get-content of directory

IT Staff wrote:
Quote:

> I have a sub-folder that the application generates tens to hundreds of files
> for hours.
>
> Can powergadget create a *online* gadget the *count* the number of files, at
> the same time, set max level . Once reach max level, it will send an email
> to the user ?
>
>
>
I'm not sure I'm exactly following you.

You can use a .ps1 script, and PowerGadgets' -refresh flag to have
PowerGadgets rerun the .ps1 script. That .ps1 script can pass along the
value to out-chart to draw the graph, *and* also have the logic to send
out an email when a value is reached.

Sound like what you want?

--
Microsoft MVP - Windows PowerShell
http://www.microsoft.com/mvp

PowerGadgets MVP
http://www.powergadgets.com/mvp

Blog:
http://marcoshaw.blogspot.com
My System SpecsSystem Spec