Hi, I have C, D,E drives in my windows machine. Storage team assigned 2 new disks to the machine, each of these 2 Disks need to be added to existing D and E drive, I can do it from the computer management but need your help to do the same from the PowerShell script:
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
Disk 0 Online 375 GB 0 B *
Disk 1 Online 375 GB 0 B *
Disk 2 Online 375 GB 374 GB *
Disk 3 Online 375 GB 374 GB *
Disk 4 Online 375 GB 374 GB *
Disk 5 Online 375 GB 374 GB *
Disk 6 Online 375 GB 374 GB *
Disk 7 Online 375 GB 374 GB *
Disk 8 Online 1023 GB 0 B *
DISKPART> list volume
Volume ### Ltr Label Fs Type Size Status Info
Volume 0 D RAW Partition 374 GB Healthy
Volume 1 E RAW Partition 374 GB Healthy
Volume 2 C NTFS Partition 1022 GB Healthy Boot
Volume 3 FAT32 Partition 100 MB Healthy System