1.

Solve : Verify folders on list of servers?

Answer»

I have 50 servers that I want to verify if the following path exists.

D:\mssql\data
T:\mssql\data
e:\mssql\data

How do I do this. I want to report to me if it exists or not. Thank youAll 50 have these 3 paths?

Assuming you have shares set up to the paths to get to paths through UNC CALLS such as \\ServerName\d$\mssql\data ?

Are they all physical drive LETTERS on the servers? If they are mapped drive letters it will NEVER work because those only exist during a user session.No Shares. I just need to validate if the path has been created or not.
How do I create the script to go through 50 Servers and say WHETHER the path exists or not.

Example:
Server A Data: D:\mssql\data exists
Server A Log: L:\mssql\data exists
Server B Data: D\mssql\data exists
Server B Data: L:\mssql\data existsLess clear now than when you started...



Discussion

No Comment Found