grimstoner
Well-Known Member
- Joined
- Nov 27, 2009
- Messages
- 311
- Reaction score
- 0
Hi...
Anyone proficient in .bat files or Powershell? I have a server with 48 x 1Tb hdd's, that was running Solaris, but is running Windows Server 2008 R2 DataCentre now. I need to run the following commands on each disk in diskpart :
Guess it should be easy to just iterate over a range of n's if you now how to shell script.
Anyone proficient in .bat files or Powershell? I have a server with 48 x 1Tb hdd's, that was running Solaris, but is running Windows Server 2008 R2 DataCentre now. I need to run the following commands on each disk in diskpart :
- select disk n
- attributes disk clear readonly
- online disk
- convert mbr
Guess it should be easy to just iterate over a range of n's if you now how to shell script.