I love scripting....used them to create a folder off the root
(C:\tools), copy BGINGO.EXE and BGInfoSettings.BGI to it, PSEXEC
BGINFO.EXE (to "register .BGI files) and copied a .LNK shortcut to the
All Users\StartUp folder so when any user logs in (if they have perms)
they're good to go!

Excel + .CSV = no sweat for 100's of servers!

All proud of myself...hey, it's Friday, I'm allowed!!

Dave Lum  - Systems Engineer 
[EMAIL PROTECTED] - (971)-222-1025
"When you step on the brakes your life is in your foot's hands" 





-----Original Message-----
From: Michael B. Smith [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 21, 2008 11:16 AM
To: NT System Admin Issues
Subject: RE: Create directory remotely

Or PowerShell:

Get-content servers.txt |% new-item -type directory -path
\\$_\c$\dirname

Regards,

Michael B. Smith
MCSE/Exchange MVP
http://TheEssentialExchange.com


-----Original Message-----
From: Ziots, Edward [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 21, 2008 2:05 PM
To: NT System Admin Issues
Subject: RE: Create directory remotely

Can always use psexec with the md command also

Psexec \\servername md c:\dir\dir etc etc

Z

Edward E. Ziots
Network Engineer
Lifespan Organization
MCSE,MCSA,MCP,Security+,Network+,CCA
Phone: 401-639-3505

-----Original Message-----
From: David Lum [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 21, 2008 1:40 PM
To: NT System Admin Issues
Subject: Create directory remotely

Guys,

I have a need to create a directory on many servers using one batch
file, but how I do that escapes me. How can I create a directory on
remote servers w/out having to RDP into each one?

I have a CSV with about 200 servers and I want to create a new directory
off the root.

Dave Lum  - Systems Engineer 
[EMAIL PROTECTED] - (971)-222-1025
"When you step on the brakes your life is in your foot's hands" 




~ Upgrade to Next Generation Antispam/Antivirus with Ninja!    ~
~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm>  ~

~ Upgrade to Next Generation Antispam/Antivirus with Ninja!    ~
~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm>  ~


~ Upgrade to Next Generation Antispam/Antivirus with Ninja!    ~
~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm>  ~



~ Upgrade to Next Generation Antispam/Antivirus with Ninja!    ~
~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm>  ~

Reply via email to