PowerShell can do that for you. Besides the Microsoft technet sites, here is a pretty good reference site:
http://www.computerperformance.co.uk/index.htm


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of jmmckee
Sent: Wednesday, June 08, 2011 9:01 AM
To: Midrange Systems Technical Discussion
Subject: Re: Network task

The intent was to use a fairly safe command to communicate a request to a server. In this case, the net time command only requests the time from the target server. It only effects the requesting system clock if the /SET parameter is used.

What I ultimately want to do is to stop and start a specific service on a specific server. Perhaps that doesn' work, as I don't see a parameter for the computer name.

John McKee
-----Original message-----
From: "Mark Murphy/STAR BASE Consulting Inc." mmurphy@xxxxxxxxxxxxxxx
Date: Wed, 08 Jun 2011 10:28:21 -0500
To: midrange-l@xxxxxxxxxxxx
Subject: Re: Network task

NET TIME \\computername on a windows computer sends an NTP client request to \\computername. The way you do that on the i is to set it up as an SNTP client. It is an automatic task though, and will adjust the i's system clock based on the clock of the target system, so you might not want to do that. Here is a link to the documentation.

http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?topic=%2Frzakt%2Frzaktscenario1.htm

Mark Murphy
STAR BASE Consulting, Inc.
mmurphy@xxxxxxxxxxxxxxx

-----midrange-l-bounces@xxxxxxxxxxxx wrote: -----
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
From: jmmckee
Sent by: midrange-l-bounces@xxxxxxxxxxxx
Date: 06/07/2011 12:00PM
Subject: Network task

From a DOS command line, I can perform some simple tasks on another computer.  One, for example, is net time \\computername

Is there a way of doing this on the i?  

We have a service on a Windows server that needs to be nudged at apparently random intervals.  On that specific server, a service is stopped and restarted.  We have a program on the i that can indicate whether the remote computer service needs to be nudged.  What I would like to do is have that program be able to do that nudging.  But, that appears to be based on understanding what happens when a net time \\computername is performed.  Is that command using a networking function that the i does not have?

John McKee
--

This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].