Home Reference WMI Reference root CIMV2 Win32_OSRecoveryConfiguration
 

Win32_OSRecoveryConfiguration

The Win32_OSRecoveryConfiguration class represents the types of information that will be gathered from memory when the operating system fails. This includes boot failures and system crashes.

Quick Start

Properties

Most WMI properties are read-only. You can only read values but not change them. Few properties are also writeable. You can assign new values to those properties.

Writeable properties are marked with this icon:   

  AutoReboot

Data type Boolean

The AutoReboot property determines whether the system will automatically reboot during a recovery operation.

Values: $true or $false. If $true, the system will automatically rebooted.

Caption

Data type String

A short textual description (one-line string) of the CIM_Setting object.

  DebugFilePath

Data type String

The DebugFilePath property indicates the path to the debug file. A debug file is created with the memory state of the machine after a machine failure.

Example: %systemRoot%\Memory.dmp

  DebugInfoType

Data type UInt32

The DebugInfoType property indicates what type of debugging information is to be written to the log file.

Values: 0 = None

1 = Complete memory dump

2 = Kernel memory dump

3 = Small memory dump (64KB)

$DebugInfoType_ReturnValue = 
@{
    0='None'
    1='Complete memory dump'
    2='Kernel memory dump'
    3='Small memory dump'
}

Description

Data type String

A textual description of the CIM_Setting object.

  ExpandedDebugFilePath

Data type String

The ExpandedDebugFilePath property is an expanded version of the DebugFilePath property.

Example: C:\WinNT\Memory.dmp

  ExpandedMiniDumpDirectory

Data type String

The ExpandedMiniDumpDirectory property is an expanded version of the MiniDumpDirectory property.

Example: C:\WinNT\MiniDump

  KernelDumpOnly

Data type Boolean

The KernelDumpOnly property has been deprecated in favor of the DebugInfoType property in the same class. All future work should use this new property.

The KernelDumpOnly property indicates whether only kernel debug information will be written to the debug log file.

Values $true or $false. If $true, then only the state of kernel is written to a file in the event of a system failure. If $false, the system will try to log the state of the memory and any devices that can provide information about the system when it failed.

  MiniDumpDirectory

Data type String

The MiniDumpDirectory property indicates the directory where small memory dump files will be recorded and accumulated.

Example: %systemRoot%\MiniDump

Name

Data type String

The Name property contains an identifying name for this instance of the Win32_OSRecoveryConfiguration class.

  OverwriteExistingDebugFile

Data type Boolean

The OverwriteExistingDebugFile property indicates whether a new log file will overwrite an existing one.

Values: $true or $false. If $true, the existing debug file will be overwritten. If $false, a log file is not written if the filename already exists.

ProductKey

Data type String

  SendAdminAlert

Data type Boolean

The SendAdminAlert property indicates whether or not an alert message will be sent to the system administrator in the event of an operating system failure.

Values: $true or $false. If $true, the system will send an alert to the system administrator.

SettingID

Data type String

The identifier by which the CIM_Setting object is known.

  WriteDebugInfo

Data type Boolean

The WriteDebugInfo property has been deprecated in favor of the DebugInfoType property in the same class. All future work should use this new property.

The WriteDebugInfo property indicates whether or not debugging information is to be written to a log file.

Values: $true or $false. If $true, debug information is written to a file.

  WriteToSystemLog

Data type Boolean

The WriteToSystemLog property indicates whether or not events will be written to a system log.

Values: $true or $false. If $true, information will be written to a system log file.

Methods

Examples

Help and Questions

  Community Content

You are cordially invited to add knowledge to this page. If you have sample code or additional information related to this WMI class, please share it. Use the comment form to send your information. We will edit and incorparate it into the reference library. Thank you!

Please do not use the comment form to submit questions. If you have questions or need assistance, visit our free forum: Help me with WMI.

Content last updated: 2013-12-27 12:29:01 (UTC).

Facebooktwittergoogle_pluspinterestlinkedinFacebooktwittergoogle_pluspinterestlinkedin