![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #11 (permalink) |
| | Re: powergadget : detect service is down IT Staff wrote: Quote: > yeap i got the concepts. > > If i have a list of computers to ping, can i have a *group gadget* or one > gadget for every single machine ? do. Group allows you to put a bunch of gadgets together and just have to click on a little button to switch between different gauges. From out-chart help, the group parameter: "Allows you to create the chart window as a separate process and assigns an ID that allows multiple charts to share the same window." I might ask PowerGadgets about adding group support to out-gauge. Marco |
My System Specs![]() |
| | #12 (permalink) |
| | Re: powergadget : detect service is down thks "Marco Shaw [MVP]" <marco.shaw@_NO_SPAM_gmail.com> wrote in message news:eOdFs2KWIHA.748@xxxxxx Quote: > IT Staff wrote: Quote: >> yeap i got the concepts. >> >> If i have a list of computers to ping, can i have a *group gadget* or one >> gadget for every single machine ? > out-gauge doesn't seem to support the group parameter like the others do. > Group allows you to put a bunch of gadgets together and just have to click > on a little button to switch between different gauges. > > From out-chart help, the group parameter: > > "Allows you to create the chart window as a separate process and assigns > an ID that allows multiple charts to share the same window." > > I might ask PowerGadgets about adding group support to out-gauge. > > Marco |
My System Specs![]() |
| | #13 (permalink) |
| | Re: powergadget : detect service is down Marco Shaw [MVP] wrote: Quote: > IT Staff wrote: Quote: >> yeap i got the concepts. >> >> If i have a list of computers to ping, can i have a *group gadget* or >> one gadget for every single machine ? > out-gauge doesn't seem to support the group parameter like the others > do. Group allows you to put a bunch of gadgets together and just have > to click on a little button to switch between different gauges. > > From out-chart help, the group parameter: > > "Allows you to create the chart window as a separate process and assigns > an ID that allows multiple charts to share the same window." > > I might ask PowerGadgets about adding group support to out-gauge. > > Marco PSH>"test"|out-gauge -name test -type digital -group testing PSH>"123"|out-gauge -name 123 -type digital -group testing Marco |
My System Specs![]() |
| | #14 (permalink) |
| | Re: powergadget : detect service is down yes it works ..hahaha ...and probably they need to document more. BTW, do u foresee when is the next version of powergadget coming ? "Marco Shaw [MVP]" <marco.shaw@_NO_SPAM_gmail.com> wrote in message news:%23IMEraQWIHA.2368@xxxxxx Quote: > Marco Shaw [MVP] wrote: Quote: >> IT Staff wrote: Quote: >>> yeap i got the concepts. >>> >>> If i have a list of computers to ping, can i have a *group gadget* or >>> one gadget for every single machine ? >> out-gauge doesn't seem to support the group parameter like the others do. >> Group allows you to put a bunch of gadgets together and just have to >> click on a little button to switch between different gauges. >> >> From out-chart help, the group parameter: >> >> "Allows you to create the chart window as a separate process and assigns >> an ID that allows multiple charts to share the same window." >> >> I might ask PowerGadgets about adding group support to out-gauge. >> >> Marco > Actually, it isn't documented but works: > > PSH>"test"|out-gauge -name test -type digital -group testing > PSH>"123"|out-gauge -name 123 -type digital -group testing > > Marco |
My System Specs![]() |
| | #15 (permalink) |
| | Re: powergadget : detect service is down > $computer+" is up" Quote: > } > else > { > $computer+" is down" default color which is not bold enough to view. "Marco Shaw [MVP]" <marco.shaw@_NO_SPAM_gmail.com> wrote in message news:ePaekS3VIHA.5348@xxxxxx Quote: > Quote: >> I can either: >> 1. Provide you .NET code to call from PowerShell to do the same thing. >> 2. Help you do that digital gauge that might just say "UP" or "DOWN". > #1: > PSH> ./ping|out-gauge -type digital > PSH> get-content ping.ps1 > $computer="localhost" > > $ping= new-object System.Net.NetworkInformation.Ping > $response=$ping.send($computer) > > if ($response.Status -eq "Success") > { > $computer+" is up" > } > else > { > $computer+" is down" > } > > #2: > Using .NET to get a random number: > PSH> $rand=new-object System.Random > PSH> $rand.Next(0,5) <--Gives a random number, only 0,1,2,3 or 4 > 3 > PSH> $rand.Next(0,5) > 4 > PSH> $rand.Next(0,5) > 1 |
My System Specs![]() |
| | #16 (permalink) |
| | Re: powergadget : detect service is down IT Staff wrote: Quote: Quote: >> $computer+" is up" >> } >> else >> { >> $computer+" is down" > Can i put some colors into it ? Otherwise i had to follow the powergadget > default color which is not bold enough to view. parameters: .... -Size [<System.String>] Sets the gauge's size in pixels. Required? false Position? named Default value Accept pipeline input? false Accept wildcard characters? false .... Also the .chm help file mentions there's a "-appearance_color" parameter that takes values like "blue", "green", etc. What exactly are you looking for? |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Powergadget version | PowerShell | |||
| Powergadget : get-content of directory | PowerShell | |||
| powergadget administrator scenarios | PowerShell | |||
| Re: powergadget : how to pass parameters | PowerShell | |||
| Powergadget - Out-Line | PowerShell | |||