Link to home
Start Free TrialLog in
Avatar of Cdewar
Cdewar

asked on

IIS Remote Log File scripting help required

Hello,

There are 2 components to this issue, the first is that we are trying to dump IIS logs onto a remote share via UNC path, however the issue I have is that these servers are all in a Workgroup so NTFS permissions will not allow IIS to drop the logs directly to the UNC, they need to be generated locally and then scripted off to the UNC shares, this was addressed in a few other questions on this site.

The solution my boss now wants is to have a script that runs each night from a single server that pulls the logs from the servers and dumps them into the logging drive. So my question is this:
- Is it best practice to do this? I already have vbscript on the servers that moves the IIS logs according to date. It would be a lot easier to just use this than to write or steal a script that will pull the logs from multiple servers
- If we do have to write our own script Does anyone have anything that pulls data off remote drives?
- Would it be better to use VBscript or Powershell or just Robocopy and .bat scripts?

Thanks in advance.  
ASKER CERTIFIED SOLUTION
Avatar of Chris Dent
Chris Dent
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial

The script needs to create the virtual directory as well I assume?

Chris

Hmm sorry... ignore my comment immediately above, wrong post.

Chris