Windows Storage Management

Check

To check the status of disks...

Get-Disk

Online

To bring a disk online (if it shows as Offline)...

Set-Disk -Number 1 -IsOffline $False

Offline

To take a disk offline...

Set-Disk -Number 1 -IsOffline $True