We help IT Professionals succeed at work.

IIS Remote Log File scripting help required

Medium Priority
512 Views
Last Modified: 2012-06-21
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.  
Comment
Watch Question

PowerShell Developer
CERTIFIED EXPERT
Top Expert 2010
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Mohamed OsamaSenior IT Consultant
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Chris DentPowerShell Developer
CERTIFIED EXPERT
Top Expert 2010

Commented:

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

Chris
Chris DentPowerShell Developer
CERTIFIED EXPERT
Top Expert 2010

Commented:

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

Chris
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.