LAN Server Administators Tools

(Note: the following opening line was written years before the birth of WMI scripting.)

Nothing beats IBM's LAN Server RexxUtil if it comes to creating network administration tools.
It can be found as lsrxut.dll or lsrxut.zip, depending on the LAN Server version, in the \OS2CLNT directory of the LAN/Warp Server CD-ROM.

Most tools presented here are examples from the LAN Server RexxUtil documentation, to which I only added help screens if necessary.
Others, like LHomeDir and RHomeDir, don't use LAN Server RexxUtil at all, though their performance would probably improve if they did.
Finaly, I also added some batch files to this list. At least the ones I think are of use to administrators.

The "LS or Peer" column states if the Rexx program may be used on LAN Server networks only or OS/2 Peer-to-peer as well.

 

Download the ZIPped sources Click the floppy disk icons to download the ZIPped sources

LAN Server Administators Tools
Download the ZIPped sources Name Description LS or Peer
Download the ZIPped sources AllFiles List all open files on server LS only
Download the ZIPped sources DefPrn Shows the default printer and port for the current OS/2 workstation. It will even work for RPL workstations. both
Download the ZIPped sources File Show who opened specified file on server LS only
Download the ZIPped sources Files List open files on server for specified user ID LS only
Download the ZIPped sources GetIP.cmd Batch file showing local PC's IP address both,
plus NT
Download the ZIPped sources HostName Display host name for specified IP address both
Download the ZIPped sources LastBoot Show date and time of last reboot for specified server.
More or less equivalent to my NT batch & VBScript scripts UpTime.bat and LastBoot.vbs.
both
Download the ZIPped sources [1] LHomeDir
[2] RHomeDir
Restore home directory shares, either localy [1] or remotely [2] [1] both (1)
[2] LS only
Download the ZIPped sources ListPRN.cmd Batch file that will list specified (NT) or all (NT and OS/2) network printers' UNC path both,
plus  NT
Download the ZIPped sources NetShare List all shared resources on specified server or domain both
Download the ZIPped sources WhoAmI Show LS info on workstation and current user
Also available for NT as WhoAmI.bat
both

 

Note: (1) Though LHomeDir will work on OS/2 Peer networks, it is rather unlikely that OS/2 Peer servers will contain home directories.

 

Search these Rexx bookmarks for more Rexx related information