< Back

Dismount-ActiveDirectorySnapshot

Mon Jan 13, 2020 5:51 am

NAME Dismount-ActiveDirectorySnapshot



SYNOPSIS

Dismount an Active Directory snapshot.





SYNTAX

Dismount-ActiveDirectorySnapshot [-Identity] <String> [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Dismount and Active Directory snapshot.





PARAMETERS

-Identity <String>

The identity of the snapshot to mount



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Dismount-ActiveDirectorySnapshot -Identity "{CAE74093-6422-42D5-AB1B-988C418E1560}" -Verbose



VERBOSE: Performing the operation "Dismount Active Directory snapshot" on target

"{CAE74093-6422-42D5-AB1B-988C418E1560}".



Dismount the Active Directory snapshot with id {CAE74093-6422-42D5-AB1B-988C418E1560}









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-ActiveDirectorySnapshot | ? mounted -eq $true | Dismount-ActiveDirectorySnapshot -Verbose



VERBOSE: Performing the operation "Dismount Active Directory snapshot" on target

"{CAE74093-6422-42D5-AB1B-988C418E1560}".



Dismount all currently mounted Active Directory snapshots.











RELATED LINKS