Reference for RunPowerShellScriptFromFile

Url: powerShell/

HTTP Method: POST

Message direction Format Body
Request XML Example,Schema
Response XML Example,Schema

The following is an example request XML body:

<?xml version="1.0" encoding="utf-16"?>
<runPowerShellScriptRequest xmlns="http://apprecovery.com/management/api/2010/05">
  <scriptName>PreExportScript</scriptName>
  <scriptParameters>
    <powerShellParameter>
      <name>String content</name>
      <!--Valid elements of type: transferScriptParameterBase, transferPrescriptParameter, transferPostscriptParameter, snapshotScriptParameter-->
      <powerShellParameterValue i:type="transferScriptParameterBase" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
        <forceBaseImage>true</forceBaseImage>
        <isLogTruncation>true</isLogTruncation>
        <key>String content</key>
        <latestEpochSeenByCore>4294967295</latestEpochSeenByCore>
        <shadowCopyType>Unknown</shadowCopyType>
        <storageConfig>
          <encryptionKeyId>String content</encryptionKeyId>
          <repositoryId>1627aea5-8e0a-4371-9022-9b504344e724</repositoryId>
        </storageConfig>
        <transferConfig>
          <cleanSnapshotTimeout>P428DT10H30M12.3S</cleanSnapshotTimeout>
          <enableDirectToTargetTransfer>true</enableDirectToTargetTransfer>
          <enableVerification>true</enableVerification>
          <excludedFilesSettings>
            <useDefaultSettings>true</useDefaultSettings>
            <isExcludeDeletedBlocks>true</isExcludeDeletedBlocks>
            <isExcludeSwapFiles>true</isExcludeSwapFiles>
            <isExcludeSubdirectories>true</isExcludeSubdirectories>
            <excludedFilesAndFolders>
              <excludedFileAndFolder>
                <excludedFileAndFolderPath>String content</excludedFileAndFolderPath>
                <volumeName>
                  <guidName>String content</guidName>
                  <displayName>String content</displayName>
                </volumeName>
              </excludedFileAndFolder>
              <excludedFileAndFolder>
                <excludedFileAndFolderPath>String content</excludedFileAndFolderPath>
                <volumeName>
                  <guidName>String content</guidName>
                  <displayName>String content</displayName>
                </volumeName>
              </excludedFileAndFolder>
            </excludedFilesAndFolders>
          </excludedFilesSettings>
          <excludedWriterIds>
            <ExcludedWriter xmlns="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Transfer">
              <_x003C_Id_x003E_k__BackingField>1627aea5-8e0a-4371-9022-9b504344e724</_x003C_Id_x003E_k__BackingField>
              <_x003C_Name_x003E_k__BackingField>String content</_x003C_Name_x003E_k__BackingField>
            </ExcludedWriter>
            <ExcludedWriter xmlns="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Transfer">
              <_x003C_Id_x003E_k__BackingField>1627aea5-8e0a-4371-9022-9b504344e724</_x003C_Id_x003E_k__BackingField>
              <_x003C_Name_x003E_k__BackingField>String content</_x003C_Name_x003E_k__BackingField>
            </ExcludedWriter>
          </excludedWriterIds>
          <getChangedBlocksRetries>4294967295</getChangedBlocksRetries>
          <initialQueuesize>4294967295</initialQueuesize>
          <maxChangeLogsSizePercents>4294967295</maxChangeLogsSizePercents>
          <maxConcurrentDirectToTargetWrites>4294967295</maxConcurrentDirectToTargetWrites>
          <maxConcurrentStreams>4294967295</maxConcurrentStreams>
          <maxConcurrentWrites>4294967295</maxConcurrentWrites>
          <maxRetries>2147483647</maxRetries>
          <maxSegmentSize>18446744073709551615</maxSegmentSize>
          <maxTransferQueueDepth>4294967295</maxTransferQueueDepth>
          <minVolumeFreeSpacePercents>4294967295</minVolumeFreeSpacePercents>
          <priority>Undefined</priority>
          <providerId>1627aea5-8e0a-4371-9022-9b504344e724</providerId>
          <readTimeout>P428DT10H30M12.3S</readTimeout>
          <snapshotTimeout>P428DT10H30M12.3S</snapshotTimeout>
          <transferDataReaderPort>65535</transferDataReaderPort>
          <transferTimeout>P428DT10H30M12.3S</transferTimeout>
          <useDefaultMaxRetries>true</useDefaultMaxRetries>
          <writeTimeout>P428DT10H30M12.3S</writeTimeout>
        </transferConfig>
        <volumeNames>
          <volumeName>
            <guidName>String content</guidName>
            <displayName>String content</displayName>
          </volumeName>
          <volumeName>
            <guidName>String content</guidName>
            <displayName>String content</displayName>
          </volumeName>
        </volumeNames>
      </powerShellParameterValue>
    </powerShellParameter>
    <powerShellParameter>
      <name>String content</name>
      <!--Valid elements of type: transferScriptParameterBase, transferPrescriptParameter, transferPostscriptParameter, snapshotScriptParameter-->
      <powerShellParameterValue i:type="transferScriptParameterBase" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
        <forceBaseImage>true</forceBaseImage>
        <isLogTruncation>true</isLogTruncation>
        <key>String content</key>
        <latestEpochSeenByCore>4294967295</latestEpochSeenByCore>
        <shadowCopyType>Unknown</shadowCopyType>
        <storageConfig>
          <encryptionKeyId>String content</encryptionKeyId>
          <repositoryId>1627aea5-8e0a-4371-9022-9b504344e724</repositoryId>
        </storageConfig>
        <transferConfig>
          <cleanSnapshotTimeout>P428DT10H30M12.3S</cleanSnapshotTimeout>
          <enableDirectToTargetTransfer>true</enableDirectToTargetTransfer>
          <enableVerification>true</enableVerification>
          <excludedFilesSettings>
            <useDefaultSettings>true</useDefaultSettings>
            <isExcludeDeletedBlocks>true</isExcludeDeletedBlocks>
            <isExcludeSwapFiles>true</isExcludeSwapFiles>
            <isExcludeSubdirectories>true</isExcludeSubdirectories>
            <excludedFilesAndFolders>
              <excludedFileAndFolder>
                <excludedFileAndFolderPath>String content</excludedFileAndFolderPath>
                <volumeName>
                  <guidName>String content</guidName>
                  <displayName>String content</displayName>
                </volumeName>
              </excludedFileAndFolder>
              <excludedFileAndFolder>
                <excludedFileAndFolderPath>String content</excludedFileAndFolderPath>
                <volumeName>
                  <guidName>String content</guidName>
                  <displayName>String content</displayName>
                </volumeName>
              </excludedFileAndFolder>
            </excludedFilesAndFolders>
          </excludedFilesSettings>
          <excludedWriterIds>
            <ExcludedWriter xmlns="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Transfer">
              <_x003C_Id_x003E_k__BackingField>1627aea5-8e0a-4371-9022-9b504344e724</_x003C_Id_x003E_k__BackingField>
              <_x003C_Name_x003E_k__BackingField>String content</_x003C_Name_x003E_k__BackingField>
            </ExcludedWriter>
            <ExcludedWriter xmlns="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Transfer">
              <_x003C_Id_x003E_k__BackingField>1627aea5-8e0a-4371-9022-9b504344e724</_x003C_Id_x003E_k__BackingField>
              <_x003C_Name_x003E_k__BackingField>String content</_x003C_Name_x003E_k__BackingField>
            </ExcludedWriter>
          </excludedWriterIds>
          <getChangedBlocksRetries>4294967295</getChangedBlocksRetries>
          <initialQueuesize>4294967295</initialQueuesize>
          <maxChangeLogsSizePercents>4294967295</maxChangeLogsSizePercents>
          <maxConcurrentDirectToTargetWrites>4294967295</maxConcurrentDirectToTargetWrites>
          <maxConcurrentStreams>4294967295</maxConcurrentStreams>
          <maxConcurrentWrites>4294967295</maxConcurrentWrites>
          <maxRetries>2147483647</maxRetries>
          <maxSegmentSize>18446744073709551615</maxSegmentSize>
          <maxTransferQueueDepth>4294967295</maxTransferQueueDepth>
          <minVolumeFreeSpacePercents>4294967295</minVolumeFreeSpacePercents>
          <priority>Undefined</priority>
          <providerId>1627aea5-8e0a-4371-9022-9b504344e724</providerId>
          <readTimeout>P428DT10H30M12.3S</readTimeout>
          <snapshotTimeout>P428DT10H30M12.3S</snapshotTimeout>
          <transferDataReaderPort>65535</transferDataReaderPort>
          <transferTimeout>P428DT10H30M12.3S</transferTimeout>
          <useDefaultMaxRetries>true</useDefaultMaxRetries>
          <writeTimeout>P428DT10H30M12.3S</writeTimeout>
        </transferConfig>
        <volumeNames>
          <volumeName>
            <guidName>String content</guidName>
            <displayName>String content</displayName>
          </volumeName>
          <volumeName>
            <guidName>String content</guidName>
            <displayName>String content</displayName>
          </volumeName>
        </volumeNames>
      </powerShellParameterValue>
    </powerShellParameter>
  </scriptParameters>
</runPowerShellScriptRequest>

The following is an example response XML body:

No Xml response output for this method.

The following is the request XML Schema:

<?xml version="1.0" encoding="utf-16"?>
<Schemas>
  <xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="anyType" nillable="true" type="xs:anyType" />
    <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
    <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
    <xs:element name="boolean" nillable="true" type="xs:boolean" />
    <xs:element name="byte" nillable="true" type="xs:byte" />
    <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
    <xs:element name="decimal" nillable="true" type="xs:decimal" />
    <xs:element name="double" nillable="true" type="xs:double" />
    <xs:element name="float" nillable="true" type="xs:float" />
    <xs:element name="int" nillable="true" type="xs:int" />
    <xs:element name="long" nillable="true" type="xs:long" />
    <xs:element name="QName" nillable="true" type="xs:QName" />
    <xs:element name="short" nillable="true" type="xs:short" />
    <xs:element name="string" nillable="true" type="xs:string" />
    <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
    <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
    <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
    <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
    <xs:element name="char" nillable="true" type="tns:char" />
    <xs:simpleType name="char">
      <xs:restriction base="xs:int" />
    </xs:simpleType>
    <xs:element name="duration" nillable="true" type="tns:duration" />
    <xs:simpleType name="duration">
      <xs:restriction base="xs:duration">
        <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
        <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
        <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
      </xs:restriction>
    </xs:simpleType>
    <xs:element name="guid" nillable="true" type="tns:guid" />
    <xs:simpleType name="guid">
      <xs:restriction base="xs:string">
        <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
      </xs:restriction>
    </xs:simpleType>
    <xs:attribute name="FactoryType" type="xs:QName" />
    <xs:attribute name="Id" type="xs:ID" />
    <xs:attribute name="Ref" type="xs:IDREF" />
  </xs:schema>
  <xs:schema xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:tns="http://apprecovery.com/management/api/2010/05" elementFormDefault="qualified" targetNamespace="http://apprecovery.com/management/api/2010/05" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import namespace="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.PowerShellExecution" />
    <xs:import namespace="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.ShadowCopy" />
    <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
    <xs:import namespace="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Transfer" />
    <xs:complexType name="runPowerShellScriptRequest">
      <xs:sequence>
        <xs:element minOccurs="0" name="scriptName" xmlns:q1="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.PowerShellExecution" type="q1:ScriptName" />
        <xs:element minOccurs="0" name="scriptParameters" nillable="true" type="tns:parametersCollection" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="runPowerShellScriptRequest" nillable="true" type="tns:runPowerShellScriptRequest" />
    <xs:complexType name="parametersCollection">
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" name="powerShellParameter" nillable="true" type="tns:powerShellParameter" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="parametersCollection" nillable="true" type="tns:parametersCollection" />
    <xs:complexType name="powerShellParameter">
      <xs:sequence>
        <xs:element minOccurs="0" name="name" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="powerShellParameterValue" nillable="true" type="tns:powerShellParameterValueBase" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="powerShellParameter" nillable="true" type="tns:powerShellParameter" />
    <xs:complexType name="powerShellParameterValueBase">
      <xs:sequence />
    </xs:complexType>
    <xs:element name="powerShellParameterValueBase" nillable="true" type="tns:powerShellParameterValueBase" />
    <xs:complexType name="transferScriptParameterBase">
      <xs:complexContent mixed="false">
        <xs:extension base="tns:powerShellParameterValueBase">
          <xs:sequence>
            <xs:element minOccurs="0" name="forceBaseImage" type="xs:boolean" />
            <xs:element minOccurs="0" name="isLogTruncation" type="xs:boolean" />
            <xs:element minOccurs="0" name="key" nillable="true" type="xs:string" />
            <xs:element minOccurs="0" name="latestEpochSeenByCore" type="xs:unsignedInt" />
            <xs:element minOccurs="0" name="shadowCopyType" xmlns:q2="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.ShadowCopy" type="q2:ShadowCopyType" />
            <xs:element minOccurs="0" name="storageConfig" nillable="true" type="tns:agentProtectionStorageConfigurationCommon" />
            <xs:element minOccurs="0" name="transferConfig" nillable="true" type="tns:agentTransferConfigurationParameter" />
            <xs:element minOccurs="0" name="volumeNames" nillable="true" type="tns:volumeNames" />
          </xs:sequence>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
    <xs:element name="transferScriptParameterBase" nillable="true" type="tns:transferScriptParameterBase" />
    <xs:complexType name="agentProtectionStorageConfigurationCommon">
      <xs:sequence>
        <xs:element minOccurs="0" name="encryptionKeyId" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="repositoryId" type="ser:guid" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="agentProtectionStorageConfigurationCommon" nillable="true" type="tns:agentProtectionStorageConfigurationCommon" />
    <xs:complexType name="agentTransferConfigurationParameter">
      <xs:sequence>
        <xs:element minOccurs="0" name="cleanSnapshotTimeout" type="ser:duration" />
        <xs:element minOccurs="0" name="enableDirectToTargetTransfer" type="xs:boolean" />
        <xs:element minOccurs="0" name="enableVerification" type="xs:boolean" />
        <xs:element minOccurs="0" name="excludedFilesSettings" nillable="true" type="tns:excludedFilesSettings" />
        <xs:element minOccurs="0" name="excludedWriterIds" nillable="true" xmlns:q3="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Transfer" type="q3:ArrayOfExcludedWriter" />
        <xs:element minOccurs="0" name="getChangedBlocksRetries" type="xs:unsignedInt" />
        <xs:element minOccurs="0" name="initialQueuesize" type="xs:unsignedInt">
          <xs:annotation>
            <xs:appinfo>
              <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="maxChangeLogsSizePercents" type="xs:unsignedInt" />
        <xs:element minOccurs="0" name="maxConcurrentDirectToTargetWrites" type="xs:unsignedInt" />
        <xs:element minOccurs="0" name="maxConcurrentStreams" type="xs:unsignedInt" />
        <xs:element minOccurs="0" name="maxConcurrentWrites" type="xs:unsignedInt" />
        <xs:element minOccurs="0" name="maxRetries" type="xs:int" />
        <xs:element minOccurs="0" name="maxSegmentSize" type="xs:unsignedLong" />
        <xs:element minOccurs="0" name="maxTransferQueueDepth" type="xs:unsignedInt" />
        <xs:element minOccurs="0" name="minVolumeFreeSpacePercents" type="xs:unsignedInt" />
        <xs:element minOccurs="0" name="priority" xmlns:q4="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Transfer" type="q4:Priority" />
        <xs:element minOccurs="0" name="providerId" type="ser:guid" />
        <xs:element minOccurs="0" name="readTimeout" type="ser:duration" />
        <xs:element minOccurs="0" name="snapshotTimeout" type="ser:duration" />
        <xs:element minOccurs="0" name="transferDataReaderPort" type="xs:unsignedShort" />
        <xs:element minOccurs="0" name="transferTimeout" type="ser:duration" />
        <xs:element minOccurs="0" name="useDefaultMaxRetries" type="xs:boolean" />
        <xs:element minOccurs="0" name="writeTimeout" type="ser:duration" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="agentTransferConfigurationParameter" nillable="true" type="tns:agentTransferConfigurationParameter" />
    <xs:complexType name="excludedFilesSettings">
      <xs:sequence>
        <xs:element minOccurs="0" name="useDefaultSettings" type="xs:boolean" />
        <xs:element minOccurs="0" name="isExcludeDeletedBlocks" type="xs:boolean" />
        <xs:element minOccurs="0" name="isExcludeSwapFiles" type="xs:boolean" />
        <xs:element minOccurs="0" name="isExcludeSubdirectories" type="xs:boolean" />
        <xs:element minOccurs="0" name="excludedFilesAndFolders" nillable="true" type="tns:excludedFileAndFolderCollection" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="excludedFilesSettings" nillable="true" type="tns:excludedFilesSettings" />
    <xs:complexType name="excludedFileAndFolderCollection">
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" name="excludedFileAndFolder" nillable="true" type="tns:excludedFileAndFolder" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="excludedFileAndFolderCollection" nillable="true" type="tns:excludedFileAndFolderCollection" />
    <xs:complexType name="excludedFileAndFolder">
      <xs:sequence>
        <xs:element minOccurs="0" name="excludedFileAndFolderPath" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="volumeName" nillable="true" type="tns:volumeName" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="excludedFileAndFolder" nillable="true" type="tns:excludedFileAndFolder" />
    <xs:complexType name="volumeName">
      <xs:sequence>
        <xs:element minOccurs="0" name="guidName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="displayName" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="volumeName" nillable="true" type="tns:volumeName" />
    <xs:complexType name="volumeNames">
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" name="volumeName" nillable="true" type="tns:volumeName" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="volumeNames" nillable="true" type="tns:volumeNames" />
    <xs:complexType name="transferPrescriptParameter">
      <xs:complexContent mixed="false">
        <xs:extension base="tns:transferScriptParameterBase">
          <xs:sequence />
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
    <xs:element name="transferPrescriptParameter" nillable="true" type="tns:transferPrescriptParameter" />
    <xs:complexType name="transferPostscriptParameter">
      <xs:complexContent mixed="false">
        <xs:extension base="tns:transferScriptParameterBase">
          <xs:sequence>
            <xs:element minOccurs="0" name="id" nillable="true" type="tns:volumeSnapshots" />
            <xs:element minOccurs="0" name="snapshotSetId" type="ser:guid" />
          </xs:sequence>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
    <xs:element name="transferPostscriptParameter" nillable="true" type="tns:transferPostscriptParameter" />
    <xs:complexType name="volumeSnapshots">
      <xs:annotation>
        <xs:appinfo>
          <IsDictionary xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</IsDictionary>
        </xs:appinfo>
      </xs:annotation>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" name="volumeSnapshot">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="volume" nillable="true" type="tns:volumeName" />
              <xs:element name="snapshotInfo" nillable="true" type="tns:volumeSnapshotInfo" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
    <xs:element name="volumeSnapshots" nillable="true" type="tns:volumeSnapshots" />
    <xs:complexType name="volumeSnapshotInfo">
      <xs:sequence>
        <xs:element minOccurs="0" name="blockDataUri" nillable="true" type="xs:anyURI" />
        <xs:element minOccurs="0" name="blockHashesUri" nillable="true" type="xs:anyURI" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="volumeSnapshotInfo" nillable="true" type="tns:volumeSnapshotInfo" />
    <xs:complexType name="snapshotScriptParameter">
      <xs:complexContent mixed="false">
        <xs:extension base="tns:powerShellParameterValueBase">
          <xs:sequence />
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
    <xs:element name="snapshotScriptParameter" nillable="true" type="tns:snapshotScriptParameter" />
  </xs:schema>
  <xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.PowerShellExecution" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.PowerShellExecution" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:simpleType name="ScriptName">
      <xs:restriction base="xs:string">
        <xs:enumeration value="PreExportScript" />
        <xs:enumeration value="PostExportScript" />
        <xs:enumeration value="PreTransferScript" />
        <xs:enumeration value="PostTransferScript" />
        <xs:enumeration value="PreNightlyJobScript" />
        <xs:enumeration value="PostNightlyJobScript" />
        <xs:enumeration value="PreBackupJobScript" />
        <xs:enumeration value="PostBackupJobScript" />
        <xs:enumeration value="PreBackupWritingSegmentScript" />
        <xs:enumeration value="PostBackupWritingSegmentScript" />
        <xs:enumeration value="PreRestoreJobScript" />
        <xs:enumeration value="PostRestoreJobScript" />
        <xs:enumeration value="PreRestoreReadingSegmentScript" />
        <xs:enumeration value="PostRestoreReadingSegmentScript" />
        <xs:enumeration value="PreSnapshotScript" />
        <xs:enumeration value="PostSnapshotScript" />
        <xs:enumeration value="PreHyperVAgentScript" />
      </xs:restriction>
    </xs:simpleType>
    <xs:element name="ScriptName" nillable="true" type="tns:ScriptName" />
  </xs:schema>
  <xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.ShadowCopy" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.ShadowCopy" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:simpleType name="ShadowCopyType">
      <xs:restriction base="xs:string">
        <xs:enumeration value="Unknown" />
        <xs:enumeration value="Copy" />
        <xs:enumeration value="Full" />
      </xs:restriction>
    </xs:simpleType>
    <xs:element name="ShadowCopyType" nillable="true" type="tns:ShadowCopyType" />
  </xs:schema>
  <xs:schema xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:tns="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Transfer" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Transfer" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
    <xs:complexType name="ArrayOfExcludedWriter">
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" name="ExcludedWriter" type="tns:ExcludedWriter" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="ArrayOfExcludedWriter" nillable="true" type="tns:ArrayOfExcludedWriter" />
    <xs:complexType name="ExcludedWriter">
      <xs:annotation>
        <xs:appinfo>
          <IsValueType xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</IsValueType>
        </xs:appinfo>
      </xs:annotation>
      <xs:sequence>
        <xs:element name="_x003C_Id_x003E_k__BackingField" type="ser:guid" />
        <xs:element name="_x003C_Name_x003E_k__BackingField" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="ExcludedWriter" nillable="true" type="tns:ExcludedWriter" />
    <xs:simpleType name="Priority">
      <xs:restriction base="xs:string">
        <xs:enumeration value="Undefined" />
        <xs:enumeration value="One" />
        <xs:enumeration value="Two" />
        <xs:enumeration value="Three" />
        <xs:enumeration value="Four" />
        <xs:enumeration value="Five" />
        <xs:enumeration value="Six" />
        <xs:enumeration value="Seven" />
        <xs:enumeration value="Eight" />
        <xs:enumeration value="Nine" />
        <xs:enumeration value="Ten" />
        <xs:enumeration value="Highest">
          <xs:annotation>
            <xs:appinfo>
              <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
            </xs:appinfo>
          </xs:annotation>
        </xs:enumeration>
        <xs:enumeration value="Lowest">
          <xs:annotation>
            <xs:appinfo>
              <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">10</EnumerationValue>
            </xs:appinfo>
          </xs:annotation>
        </xs:enumeration>
        <xs:enumeration value="Default">
          <xs:annotation>
            <xs:appinfo>
              <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">5</EnumerationValue>
            </xs:appinfo>
          </xs:annotation>
        </xs:enumeration>
      </xs:restriction>
    </xs:simpleType>
    <xs:element name="Priority" nillable="true" type="tns:Priority" />
  </xs:schema>
</Schemas>

The following is the response XML Schema:

The response body is empty.