This bat file can be use to create folders on multiple servers at a time

On Error Resume Next
Computers = Array("Servername1","Servername2",......)
For Each Computer In Computers
Set objWMIService = GetObject _
("winmgmts:\\" & Computer & "\root\cimv2:Win32_Process")
errReturn = objWMIService.Create _
("cmd.exe /c md c:\Foldername", Null, Null, intProcessID)
Next

Comments

Popular posts from this blog

Solved Account lockout issue

My Wintel Infrastructure Transitioning Experience

A Nice Lesson