offline volume

将焦点放在脱机状态的联机卷。

Note

A volume must be selected for the offline volume command to succeed. Use the select volume command to select a disk and shift the focus to it.

Syntax

offline volume [noerr]

Parameters

Parameter Description
noerr 仅用于脚本编写。 遇到错误时,DiskPart 将继续处理命令,就像错误未发生一样。 如果没有此参数,错误会导致 DiskPart 退出并显示错误代码。

Examples

若要使具有焦点的磁盘脱机,请键入:

offline volume