Share via


Win32_ShadowStorage class

The Win32_ShadowStorage class represents the association between a volume for which a shadow copy is made, and a volume to which differential data is written.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties and methods are in alphabetic order, not MOF order.

Syntax

class Win32_ShadowStorage
{
  uint64           AllocatedSpace;
  Win32_Volume REF DiffVolume;
  uint64           MaxSpace;
  uint64           UsedSpace;
  Win32_Volume REF Volume;
};

Members

The Win32_ShadowStorage class has these types of members:

  • Methods
  • Properties

Methods

The Win32_ShadowStorage class has these methods.

Method Description
Create

Creates a differential area storage for the specified Volume.

 

Properties

The Win32_ShadowStorage class has these properties.

AllocatedSpace

Data type: uint64

Access type: Read-only

Allocated space on the differential area volume.

For more information about using uint64 values in scripts, see Scripting in WMI.

DiffVolume

Data type: Win32_Volume

Access type: Read-only

Qualifiers: Max (1) , Min (1)

Reference to the differential volume.

MaxSpace

Data type: uint64

Access type: Read/write

Maximum space on the differential area volume.

For more information about using uint64 values in scripts, see Scripting in WMI.

UsedSpace

Data type: uint64

Access type: Read-only

Used space on the differential area volume.

For more information about using uint64 values in scripts, see Scripting in WMI.

Volume

Data type: Win32_Volume

Access type: Read-only

Qualifiers: Max (1) , Min (1)

Reference to the original volume.

Examples

The Get Remote Shadow Volume Information With Powershell PowerShell sample on TechNet gallery uses Win32_ShadowStorage to retrieve shadow volume information.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2003

Namespace

Root\CIMV2

MOF

Vss.mof

DLL

Vsswmi.dll

See also

Win32_ShadowProvider

Win32_ShadowCopy

Win32_ShadowContext

Win32_ShadowBy

Win32_ShadowFor

Win32_ShadowOn

Win32_ShadowVolumeSupport

Win32_ShadowDiffVolumeSupport