online volume
Takes the offline volume to the online state. Windows commands reference
On Windows
Windows
Takes the offline volume to the online state. This command works on volumes that have failed, are failing, or are in failed redundancy state. NOTE: A volume must be selected for the online volume command to succeed. Use the select volume command to select a volume and shift the focus to it. IMPORTANT: This command will fails if it's used on a read-only disk.
online volume [noerr]online volume
noerrFor scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without this parameter, an error causes DiskPart to exit with an error code.