Expose


Applies To: Windows Server 2008

Exposes a persistent shadow copy as a drive letter, share, or mount point.

For examples of how to use this command, see Examples.

Syntax


Copy Code

expose <ShadowID> {<Drive:> | <Share> | <MountPoint>}

Parameters

Parameter

Description

ShadowID

Specifies the shadow ID of the shadow copy you want to expose.

<Drive:>

Exposes the specified shadow copy as a drive letter (for example, P:).

<Share>

Exposes the specified shadow copy at a share (for example, \\MachineName\).

<MountPoint>

Exposes the specified shadow copy to a mount point (for example, C:\shadowcopy\).

Remarks

Examples

To expose the persistent shadow copy associated with the VSS_SHADOW_1 environment variable as drive X, type:


Copy Code

expose %vss_shadow_1% x:

Additional references

Command-Line Syntax Key