Planning Analytics 2.0.5
Microsoft Windows 2016 Server
I want a list of all TM1SERVER.LOG files on the servers D drive, to find what TM1 instances applications logs I should inspect with my log file monitor software.
On one of the servers, log in as a local administrator, that also are admin on all the other servers.
Create a text file with the names of the servers.
Enter one server name per row, like this
Save the file as tmservers.txt
Create a CMD file with this content:
for /F %%a in (tmservers.txt) do (
net use z: \\%%a\d$
dir /s /b tm1server.log > d:\temp\%%a.txt
net use z: /d
Save the file as tm1list.cmd
Go to a DOS prompt as administrator and run above file.
It will create a file for each server in the d:\temp folder on the server where you run the cmd file.
Each file will have the servername as filename, in the file will be a list looking something like this;
Z is the D drive on the server.
The path is different, depends on where you store the TM1 instances.