I am trying to replicate a manual process I am doing in the disk management section of a server I am working with. The server is Windows 2008 R2 Standard.
1. I go into the Disk Management Section
2. Right click on a basic drive and select "Offline"
3. Change out my harddrive
4. Right click on the same basic drive and select "Online"
How can I replicate this process in VB.NET code? Is it possible?