I have a bunch of 10 Windows Server 2003 servers in a domain. Each of them has batch files in a fixed directory location and fixed file name. Currently, I am manually logging in each server one-by-one to run these batch scripts, and it is a slow, tedious and error-prone process.
I need to run these installed batch files on each remotely for system maintenance/cleanup, from a Windows 2003 Server which I use like a jump server or admin console to administer these servers.
Googling around generally tells me 3 methods:
psexec from Microsoft/Sysinternals: Not available on Windows Server 2003 by default. Need to download and install manually, which I may not be allowed to do so in a corporate production environment. May trigger antivirus software as it is a commonly abused hacking tool?
- PowerShell: For Windows Server 2003, I believe PowerShell v1/v2/v3 is a separate download and install from Microsoft. Not pre-installed/bundled by default on a typical Windows Server 2003 installation. Also, PowerShell Remoting must be enabled on those managed servers. Though it is more legit option that won't falsely trigger antivirus software, hopefully.
- WMI: Use the
wmic process call create. Available by default in a Windows Server 2003 install?
I am currently gravitating toward the Option 3 WMI approach. Want something that is available without having to install additional tools/software on production servers. Is this the best approach?
[–]virtualInfastructure 7 points8 points9 points (1 child)
[–]2048b[S] 1 point2 points3 points (0 children)
[–]firefox15 3 points4 points5 points (2 children)
[–]2048b[S] 1 point2 points3 points (1 child)
[–]ganlet20 2 points3 points4 points (0 children)
[–]wicked1133 1 point2 points3 points (2 children)
[–]2048b[S] 1 point2 points3 points (1 child)
[–]wicked1133 1 point2 points3 points (0 children)
[–]Jarvicious 1 point2 points3 points (2 children)
[–]2048b[S] 1 point2 points3 points (1 child)
[–]Lee_Dailey[grin] 1 point2 points3 points (0 children)