![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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 Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
|
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | powergadget : detect service is down I know how to write a script that detects whether service is up or down. What gadget shld i use to display service is up or down ? i just want to detect one single service .... |
My System Specs![]() |
| | #2 (permalink) | ||||||||||||
| Guest | Re: powergadget : detect service is down IT Staff wrote:
http://powergadgets.com/csPg/forums/...hread.aspx#604 If you check the PG built-in samples, there's also a demo using computers to indicate their status by either red or green (or similar). Marco -- Microsoft MVP - Windows PowerShell http://www.microsoft.com/mvp PowerGadgets MVP http://www.powergadgets.com/mvp Blog: http://marcoshaw.blogspot.com | ||||||||||||
My System Specs![]() | |||||||||||||
| | #3 (permalink) | ||||||||||||||||||||||||
| Guest | Re: powergadget : detect service is down traffic_light gadget not working. does not display any color ...is there anything i did wrong ? "Marco Shaw [MVP]" <marco.shaw@_NO_SPAM_gmail.com> wrote in message news:uWPANipVIHA.2000@xxxxxx
| ||||||||||||||||||||||||
My System Specs![]() | |||||||||||||||||||||||||
| | #4 (permalink) | ||||||||||||||||||||||||||||||||||||
| Guest | Re: powergadget : detect service is down actually traffic light may not be necessary, how about using digital panel to state "1" as service is uo, "0" means service down ? "IT Staff" <jkklim@xxxxxx> wrote in message news:eXzv0rxVIHA.5132@xxxxxx
| ||||||||||||||||||||||||||||||||||||
My System Specs![]() | |||||||||||||||||||||||||||||||||||||
| | #5 (permalink) | ||||||||||||
| Guest | Re: powergadget : detect service is down IT Staff wrote:
Marco | ||||||||||||
My System Specs![]() | |||||||||||||
| | #6 (permalink) | ||||||||||||||||||||||||
| Guest | Re: powergadget : detect service is down no ... there is no cmdlet get-random ... "Marco Shaw [MVP]" <marco.shaw@_NO_SPAM_gmail.com> wrote in message news:%23d9jKFyVIHA.4712@xxxxxx
| ||||||||||||||||||||||||
My System Specs![]() | |||||||||||||||||||||||||
| | #7 (permalink) | ||||||||||||
| Guest | Re: powergadget : detect service is down IT Staff wrote:
I can either: 1. Provide you .NET code to call from PowerShell to do the same thing. or 2. Help you do that digital gauge that might just say "UP" or "DOWN". Pick #1 or #2 or both! | ||||||||||||
My System Specs![]() | |||||||||||||
| | #8 (permalink) | ||||||||||||||||||||||||
| Guest | Re: powergadget : detect service is down both. i would like to learn from you, mr MVP :-) "Marco Shaw [MVP]" <marco.shaw@_NO_SPAM_gmail.com> wrote in message news:eG5CjPyVIHA.4448@xxxxxx
| ||||||||||||||||||||||||
My System Specs![]() | |||||||||||||||||||||||||
| | #9 (permalink) | ||||||||||||
| Guest | Re: powergadget : detect service is down
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![]() | |||||||||||||
| | #10 (permalink) | ||||||||||||||||||||||||
| Guest | Re: powergadget : detect service is down 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 ? "Marco Shaw [MVP]" <marco.shaw@_NO_SPAM_gmail.com> wrote in message news:ePaekS3VIHA.5348@xxxxxx
| ||||||||||||||||||||||||
My System Specs![]() | |||||||||||||||||||||||||
|
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Powergadget version | IT Staff | PowerShell | 3 | 01-25-2008 06:30 AM |
| Powergadget : get-content of directory | IT Staff | PowerShell | 7 | 01-08-2008 07:36 PM |
| powergadget administrator scenarios | IT Staff | PowerShell | 1 | 01-08-2008 04:22 AM |
| Grouping by patches using powergadget | IT Staff | PowerShell | 2 | 01-01-2008 09:20 PM |
| Powergadget - Out-Line | IT Staff | PowerShell | 1 | 12-23-2007 11:58 PM |