Export-CDSnapshot
From PowerGUI Wiki
Writes snapshot to file.
Contents |
Syntax
Export-CDSnapshot -InputObject <CDSnapshot> [-PassThru] [-Force] [-Path] <String> [<CommonParameters>]
Detailed Description
Writes snapshot to file.
Related Commands
Parameters
| Name | Description | Required? | Pipeline Input | Default Value |
|---|---|---|---|---|
| InputObject | Result of Get-CDSnapshot command | true | true (ByValue) | |
| PassThru | Passes the input object through the pipeline. By default, this cmdlet does not pass any objects through the pipeline. | false | false | |
| Force | Causes the cmdlet to clear the read-only attribute of the output file if necessary. The cmdlet will attempt to reset the read-only attribute when the command completes. | false | false | |
| Path | Path for saving file. | true | false |
Examples
Example 0
$a = Get-CDDatabase hostname base1 Get-CDSnapshot $a | Export-CDSnapshot 'c:\cdsnapshot.cds'
Snapshot file will be saved in c:\cdsnapshot.cds file
