- WMI Library -
WMI Libraly > Win32_ShadowCopy Class

Win32_ShadowCopy Class

The Win32_ShadowCopy class is a storage extent that represents a duplicate copy of the original volume at some previous time.
Namespace value is root/CIMV2.
WMI Provider value is MSVSS__PROVIDER.


Properties

  • Caption
  • The Caption property is a short textual description (one-line string) of the object.

  • ClientAccessible
  • The ClientAccessible property is indicates whether the shadow copy was created by the Windows Previous Versions component.

  • Count
  • The Count property is the number of shadow copies in the shadow copy set to which this shadow copy belongs.

  • Description
  • The Description property provides a textual description of the object.

  • DeviceObject
  • The DeviceObject property is the Windows object manager name of the underlying storage device that supports the original volume.

  • Differential
  • The Differential property indicates whether the shadow copy was created by a differential shadow copy provider. The provider can be implemented in hardware or software.

  • ExposedLocally
  • The ExposedLocally property indicates whether the shadow copy is exposed on the local machine with a drive letter or mount point. If this flag and the ExposedRemotely flag is not set, the shadow copy is hidden.

  • ExposedName
  • The ExposedName property is the file system name of the shadow copy when it is exposed. This property might contain a drive letter or mount point. This property is NULL when the shadow copy is hidden or otherwise not exposed.

  • ExposedPath
  • The ExposedPath property is the file system path of the shadow copy when it is exposed. This property is NULL when the shadow copy is hidden or otherwise unexposed.

  • ExposedRemotely
  • The ExposedRemotely property indicates whether the shadow copy is exposed on a remote machine with a network share. If this flag and the ExposedLocally flag is not set, the shadow copy is hidden.

  • HardwareAssisted
  • The HardwareAssisted property indicates whether the shadow copy was created by a hardware shadow copy provider.

  • ID
  • The ID property uniquely identifies the shadow copy on the system.

  • Imported
  • The Imported property indicates whether the shadow copy was imported onto this machine using the Import method rather than created using the ShadowCopy create method.

  • InstallDate
  • The InstallDate property is datetime value indicating when the object was installed. A lack of a value does not indicate that the object is not installed.

  • Name
  • The Name property defines the label by which the object is known. When subclassed, the Name property can be overridden to be a Key property.

  • NoAutoRelease
  • The NoAutoRelease property indicates whether the shadow copy is automatically deleted when the shadow copy requestor process ends. If this property is TRUE, the shadow copy is retained after the requestor process ends.

  • NotSurfaced
  • The shadow copy is not currently in the device namespace of the local machine.

  • NoWriters
  • The NoWriters property indicates whether the shadow copy was created with the involvement of shadow copy writer components.

  • OriginatingMachine
  • The OriginatingMachine property identifies the machine hosting the original volume.

  • Persistent
  • The Persistent property indicates whether the shadow copy is persistent across reboots.

  • Plex
  • The Plex property indicates whether the shadow copy was created by a split mirror shadow copy provider. The provider can be implemented in hardware or software.

  • ProviderID
  • The ProviderID uniquely identifies the shadow provider that created the shadow.

  • ServiceMachine
  • The ServiceMachine property identifies the machine currently servicing the shadow copy.

  • SetID
  • The SetID uniquely identifies the shadow copy set to which the shadow belongs.

  • State
  • The State property describes the current state of the shadow copy

  • Status
  • The Status property is a string indicating the current status of the object. Various operational and non-operational statuses can be defined. Operational statuses are "OK", "Degraded" and "Pred Fail". "Pred Fail" indicates that an element may be functioning properly but predicting a failure in the near future. An example is a SMART-enabled hard drive. Non-operational statuses can also be specified. These are "Error", "Starting", "Stopping" and "Service". The latter, "Service", could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is on-line, yet the managed element is neither "OK" nor in one of the other states.

  • Transportable
  • The Transportable property indicates whether the shadow copy can be surfaced on another machine. If this property is FALSE and the volumes are surfaced locally, it may not be possible to surface them later on a different machine.

  • VolumeName
  • The VolumeName property identifies the original volume for which the shadow copy was taken.


    Methods

  • Create
  • Creates a shadow copy using the specified context.

  • Revert
  • Reverts the original storage volume to this shadow copy. After Revert is done, the original volume will be identical to this shadow copy and every newer shadow copy will be deleted. You cannot cancel or undo the revert operation - any data written to the original volume after the shadow copy was created will be lost!


    Example WQL

    SELECT * FROM Win32_ShadowCopy
    About this site information

    This contents is created by WMI having class information.
    WMI Environment is Windows Server 2008 R2 Enterprise Edition.

    This link is Microsoft documents for "Managing Windows with WMI".
    That is VB(Visual Basic) scripting sample.
    This link is Microsoft documents for "Advanced Programming Topics in WMI .NET".
    That is VB.net(Visual Basic .net) scripting sample.

    - WMI Library -
    http://library.wmifun.net/

    WMI useful by VB,VB.Net,VC,VC.Net,VC#.Net,VBS(WSH),PowerShell for PC asset management, system monitoring and collecting hardware and software inventory.

    This website is created by Toh.
    Copyright(C) 1997-2016 WMI Fun !!. All rights reserved.
    ^ Go to the top...