Brings selected online disk to the offline state. Syntax: OFFLINE DISK NOERR NOERR For scripting only. When an error is encountered, ...

    Brings selected online disk to the offline state.

Syntax:  OFFLINE DISK [NOERR]

    NOERR       For scripting only. When an error is encountered, DiskPart
                continues to process commands as if the error did not occur.
                Without the NOERR parameter, an error causes DiskPart to exit
                with an error code.

    This command operates on a single disk. A disk must be selected for 
    this operation to succeed.

    This command operates on a disk that is in SAN online mode.
    
    This command does not operate on OEM, ESP or recovery partitions.

Examples:

    OFFLINE DISK
English
English (United States)
Deutsch (Deutschland)
German (Germany)
Español (España)
Spanish (Spain)
italiano
Italian
日本語
Japanese
한국어
Korean
Português
Portuguese
Русский
Russian