NAME
Export-DcsObjectModel
SYNOPSIS
Saves the configuration states of all objects in the configuration to an xml file.
SYNTAX
Export-DcsObjectModel -OutputDirectory <String> [ -Connection <String> ] [ -PipelineVariable <String> ]
DESCRIPTION
Saves the configuration states of all objects in the server group configuration to an xml file. If the file path does not exist, it will be created. The file will be named DcsObjectModel with the date and time appended (for example DcsObjectModel_2011_07_29_20_19_25). This cmdlet is included as a diagnostic tool for DataCore Technical Support.
PARAMETERS
- -OutputDirectory<String>
- The complete path to the folder where the object model information should be saved. If the folder does not exist, it will be created. The file will be created on the default server for the specified connection. The path should begin with the drive letter. For instance, "C:\ObjectModel" could be a valid path.
-
- Required: true
- Position: 1
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -Connection<String>
- Alias of the connection to the server group. If not specified, the default connection is used.
-
- Required: false
- Position: 2
- Default value:
- Accept pipeline input: true (ByValue)
- Accept wildcard characters: false
-
- -PipelineVariable<String>
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
INPUTS
OUTPUTS
xml file : Configuration states for all objects.
NOTES
EXAMPLES
Export-DcsObjectModel -OutputDirectory C:\ConfigStates
Saves the configuration states of all objects in the path "C:\ConfigStates". The folder did not exist and was created when the cmdlet was invoked.
C:\ConfigStates