1Strive
New Member
- Joined
- Dec 17, 2005
- Messages
- 682 (0.10/day)
- Location
- Texas
System Name | Back in Black |
---|---|
Processor | AMD Opteron 180 @ 2.6GHz (Dual Core) |
Motherboard | Asus A8N-SLI Premium |
Cooling | All Antec Case Fans (3-speed and Quiet as they come.) |
Memory | 2GB DDR440MHz (Corsair XMS LED Series) 1GB x2 [Dual-Channel] |
Video Card(s) | 8800GTS G92 512mb (eVGA-745/1000) 9474 in 3Dmark06 at Defaults. |
Storage | 2 WD 74GB Raptors in RAID Zero for Vista. WD 250GB for XP and Storage |
Display(s) | Acer 22' widescreen. 1680x1050 res / 5ms |
Case | Antec Black Server Chassis / Logitec G7 Wireless-Laser Mouse |
Audio Device(s) | X-Fi Music w/ 5.1 Surround Sound Headphones |
Power Supply | Antec 500Watt ATX2.0 Modular |
Software | Vista Ultimate (64-bit) / Playing: Crysis in DX9 on XP @ 1680x1050 High with 30FPS |
Benchmark Scores | Over 9k in 3DMark06! That's better than 80% of all systems tested and logged according to 3Dmark's s |
Hi everyone,
1STRIVE here.
I am not a programmer. I hardly ever have to write my own scripts. Batch files is about the extent of what I do. I am a windows system admin.
I have a batch file to add shares to a cluster and I want to get it to use parameters and then pull the answers from a txt or csv file. Or I want input boxes to pop up for the answers.
Here is what I have.
cluster resource "MGMT1$" /create /group:"Group 00" /Type:"File Share"
cluster resource "MGMT1$" /priv Security=Everyone,set,R:security
cluster resource "MGMT1$" /priv Security=Administrators,set,F:security
cluster resource "MGMT1$" /adddep:"Disk V:"
cluster resource "MGMT1$" /priv ShareName=MGMT1$
cluster resource "MGMT1$" /priv Path="V:\MGMT1"
cluster resource "MGMT1$" /priv Remark=Fuji
cluster resource "MGMT1$" /on
This works like a champ, but I need to repeat it 50 times with different "Share Names, Disk, and Path"
The next one would look like this.
cluster resource "ATHMT1$" /create /group:"Group 00" /Type:"File Share"
cluster resource "ATHMT1$" /priv Security=Everyone,set,R:security
cluster resource "ATHMT1$" /priv Security=Administrators,set,F:security
cluster resource "ATHMT1$" /adddep:"Disk T:"
cluster resource "ATHMT1$" /priv ShareName=ATHMT1$
cluster resource "ATHMT1$" /priv Path="T:\ATHMT1"
cluster resource "ATHMT1$" /priv Remark=Fuji
cluster resource "ATHMT1$" /on
So, any help will be appreciated. Thanks,
1STRIVE
1STRIVE here.
I am not a programmer. I hardly ever have to write my own scripts. Batch files is about the extent of what I do. I am a windows system admin.
I have a batch file to add shares to a cluster and I want to get it to use parameters and then pull the answers from a txt or csv file. Or I want input boxes to pop up for the answers.
Here is what I have.
cluster resource "MGMT1$" /create /group:"Group 00" /Type:"File Share"
cluster resource "MGMT1$" /priv Security=Everyone,set,R:security
cluster resource "MGMT1$" /priv Security=Administrators,set,F:security
cluster resource "MGMT1$" /adddep:"Disk V:"
cluster resource "MGMT1$" /priv ShareName=MGMT1$
cluster resource "MGMT1$" /priv Path="V:\MGMT1"
cluster resource "MGMT1$" /priv Remark=Fuji
cluster resource "MGMT1$" /on
This works like a champ, but I need to repeat it 50 times with different "Share Names, Disk, and Path"
The next one would look like this.
cluster resource "ATHMT1$" /create /group:"Group 00" /Type:"File Share"
cluster resource "ATHMT1$" /priv Security=Everyone,set,R:security
cluster resource "ATHMT1$" /priv Security=Administrators,set,F:security
cluster resource "ATHMT1$" /adddep:"Disk T:"
cluster resource "ATHMT1$" /priv ShareName=ATHMT1$
cluster resource "ATHMT1$" /priv Path="T:\ATHMT1"
cluster resource "ATHMT1$" /priv Remark=Fuji
cluster resource "ATHMT1$" /on
So, any help will be appreciated. Thanks,
1STRIVE