Unexpose


Applies To: Windows Server 2008

Unexposes a shadow copy that was exposed by using the expose command. The exposed shadow copy can be specified by its Shadow ID, drive letter, share, or mount point.

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

Syntax


Copy Code

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

Parameters

Parameter

Description

<ShadowID>

Unexposes the shadow copy specified by the given Shadow ID.

<Drive:>

Unexposes the shadow copy associated with the specified drive letter (for example, drive P).

<Share>

Unexposes the shadow copy associated with the specified share (for example, \\MachineName\).

<MountPoint>

Unexposes the shadow copy associated with the specified mount point (for example, C:\shadowcopy\).

Remarks

Examples

To unexpose the shadow copy associated with Drive P, type:


Copy Code

unexpose P:

Additional references

Command-Line Syntax Key