Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    May 2005
    Posts
    39

    Launch Services.msc connected to a server?

    How would I set up the script on a button to launch the services control panel but instead of 'local' it would be connected to TestServer instead?

    I want a way for a few users to check if several services are running on a remote server... nothing fancy.

  2. #2
    Join Date
    Feb 2007
    Location
    Como, Italy
    Posts
    1,633
    Maybe using the File.OpenURL function and setting the address of TestServer as the destination parameter?
    We are slowly invading your planet to teach lazy humans to read the user manual.
    But don't be scared: we are here to help.

  3. #3
    Join Date
    Jul 2008
    Location
    Switzerland
    Posts
    264
    you could use the psservice

    Download -> PSTools

    Syntax in a Batch File:
    psservice \\computername -user -password restart/stop/start spooler

    regards

    EDIT: with powershell you can get the info if the service are running or not
    Microsoft
    Last edited by Worti; 04-26-2012 at 07:21 AM.

  4. #4
    Join Date
    May 2005
    Posts
    39
    So add PSTools to the project - with an 'install button' - then a batch file assigned to another button? The workstations won't have access to the powershell...

  5. #5
    Join Date
    May 2005
    Posts
    39
    Tried that one - no luck.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts