RecoveryServices/Microsoft.Azure.Commands.RecoveryServicesRdfe.dll-help.xml
<?xml version="1.0" encoding="utf-8"?>
<helpItems xmlns="http://msh" schema="maml"> <!--Get-AzureSiteRecoveryServer--> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Get-AzureSiteRecoveryServer </command:name> <maml:description> <maml:para>Get information about Azure Site Recovery Server for current Azure Site Recovery vault</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureSiteRecoveryServer</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Get information about Azure Site recovery server for current Azure Site Recovery vault</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryServer</maml:name> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryServer</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>Id of the Server</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryServer</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Name</maml:name> <maml:description> <maml:para>Name of the Server</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>Id of the Server</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Name</maml:name> <maml:description> <maml:para>Name of the Server</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> Get-AzureSiteRecoveryServer ID : cd7dec80-1144-4531-9ab3-888b8ab39bee Name : server1.contoso.com LastHeartbeat : 9/23/2014 3:51:22 PM ProviderVersion : 3.5.520.0 ServerVersion : 3.2.7634.0 ID : f5e713fe-5b6d-4641-9690-6fe74c976b8e Name : Server2.contoso.com LastHeartbeat : 8/13/2014 2:28:58 PM ProviderVersion : 3.5 ServerVersion : 3.2.7510.0 </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Get-AzureSiteRecoveryRecoveryPlanFile--> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Get-AzureSiteRecoveryRecoveryPlanFile </command:name> <maml:description> <maml:para>Get-AzureSiteRecoveryRecoveryPlanFile download the recovery plan in an XML format. This file can be updated and used to upload the updated Recovery Plan.</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureSiteRecoveryRecoveryPlanFile</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Get-AzureSiteRecoveryRecoveryPlanFile download the recovery plan in an XML format. This file can be updated and used to upload the updated Recovery Plan. A recovery plan gathers virtual machines in a group for the purposes of failover and recovery</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryRecoveryPlanFile</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>Id of the recovery Plan</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Path</maml:name> <maml:description> <maml:para>Path to store the recovery plan xml file</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryRecoveryPlanFile</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Path</maml:name> <maml:description> <maml:para>Path to store the recovery plan xml file</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>RecoveryPlan</maml:name> <maml:description> <maml:para>Recovery Plan object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRRecoveryPlan</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>Id of the recovery Plan</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Path</maml:name> <maml:description> <maml:para>Path to store the recovery plan xml file</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>RecoveryPlan</maml:name> <maml:description> <maml:para>Recovery Plan object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRRecoveryPlan</command:parameterValue> <dev:type> <maml:name>ASRRecoveryPlan</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> $Rp = Get-AzureSiteRecoveryRecoveryPlan; Get-AzureSiteRecoveryRecoveryPlanFile -RecoveryPlan $Rp -Path C:\Users\Contoso\Desktop\RP.xml </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Get-AzureSiteRecoveryVM--> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Get-AzureSiteRecoveryVM </command:name> <maml:description> <maml:para>Get information about Virtual Machines managed in Azure Site Recovery</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureSiteRecoveryVM</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Get information about Virtual Machines managed in Azure site Recovery</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryVM</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>ProtectionContainer</maml:name> <maml:description> <maml:para>Protection Container object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionContainer</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryVM</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>Id of the Virtual Machine</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>ProtectionContainer</maml:name> <maml:description> <maml:para>Protection Container object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionContainer</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryVM</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Name</maml:name> <maml:description> <maml:para>Name of the Virtual Machine</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>ProtectionContainer</maml:name> <maml:description> <maml:para>Protection Container object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionContainer</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryVM</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionContianerId</maml:name> <maml:description> <maml:para>ID of the Protection Container </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryVM</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>Id of the Virtual Machine</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionContianerId</maml:name> <maml:description> <maml:para>ID of the Protection Container </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryVM</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Name</maml:name> <maml:description> <maml:para>Name of the Virtual Machine</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionContianerId</maml:name> <maml:description> <maml:para>ID of the Protection Container </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>Id of the Virtual Machine</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Name</maml:name> <maml:description> <maml:para>Name of the Virtual Machine</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>ProtectionContainer</maml:name> <maml:description> <maml:para>Protection Container object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionContainer</command:parameterValue> <dev:type> <maml:name>ASRProtectionContainer</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionContianerId</maml:name> <maml:description> <maml:para>ID of the Protection Container </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> $protectionContainer = Get-AzureSiteRecoveryProtectionContainer; Get-AzureSiteRecoveryVM -ProtectionContainer $protectionContainer ID : a205fd17-3848-4896-bab6-9dbccc3cd8ed ServerId : 4a94c4a9-c856-4577-afbd-367fe9b3ce9c ProtectionContainerId : 4a94c4a9-c856-4577-afbd-367fe9b3ce9c_1c513d45-645d-4ed0-b9ae-e7b869a1f7fc Name : vm1 Type : VirtualMachine FabricObjectId : 86447b9e-d877-4e9a-8302-adcd6bbf18c0 Protected : False CanCommit : False CanFailover : True CanReverseReplicate : False ActiveLocation : Primary ProtectionState : Enabled ReplicationHealth : Healthy TestFailoverState : None ReplicationProvider : HyperVReplica </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Get-AzureSiteRecoveryVaultSettings--> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Get-AzureSiteRecoveryVaultSettings </command:name> <maml:description> <maml:para>Gets Azure Site Recovery Vault settings information</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureSiteRecoveryVaultSettings</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Gets Azure Site Recovery Vault settings information</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryVaultSettings</maml:name> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> Get-AzureSiteRecoveryVaultSettings ResourceName CloudServiceName ------------ ---------------- ContosoVault RecoveryServices-6JP23WE3SKKOM5AFQG2YQAI22MNOWK52QDKWMUP... </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Get-AzureSiteRecoveryProtectionContainer--> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Get-AzureSiteRecoveryProtectionContainer </command:name> <maml:description> <maml:para>The Get-AzureSiteRecoveryProtectionContainer cmdlet gets protected containers for the current Microsoft Azure Site Recovery vault. A protected container is a logical container for protected objects such as virtual machines. Azure Site Recovery configures replication settings for protected containers</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureSiteRecoveryProtectionContainer</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Get information about Azure site recovery Protection container under current Azure Site Recovery Vault. A protection container is the logical container for protection entities on which replication settings can be configured </maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryProtectionContainer</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>Specifies the ID of a protected container to get. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryProtectionContainer</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Name</maml:name> <maml:description> <maml:para>Name of the Protection Container </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>Specifies the ID of a protected container to get. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Name</maml:name> <maml:description> <maml:para>Name of the Protection Container </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> Get-AzureSiteRecoveryProtectionContainer Name : PrimaryCloud ID : fd00d920-79e4-4f2d-a282-a779c0cecb7f_ce995917-c962-45d0-b7f3-9f408a4e1429 FabricObjectId : fd00d920-79e4-4f2d-a282-a779c0cecb7f FabricType : VMM Type : VMM ServerId : fd00d920-79e4-4f2d-a282-a779c0cecb7f Role : Primary AvailableProtectionProfiles : {ab01dcbe-9da0-4c31-9564-d6904cfadfde, ad388147-83de-4d2f-a09d-fa46c626747e} </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Get-AzureSiteRecoveryJob--> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Get-AzureSiteRecoveryJob </command:name> <maml:description> <maml:para>The Get-AzureSiteRecoveryJob cmdlet gets Microsoft Azure Site Recovery jobs. You can use this cmdlet to view the information of the operation for current Azure Site Recovery vault.</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureSiteRecoveryJob</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Get the information of the operation for current Azure Site Recovery Vault.</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>Specifies the ID of a job to get.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Job</maml:name> <maml:description> <maml:para>Specifies an Azure Site Recovery job object to get. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRJob</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryJob</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>EndTime</maml:name> <maml:description> <maml:para>Specifies a end time as a DateTime object. This cmdlet gets jobs that ends after the time that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>StartTime</maml:name> <maml:description> <maml:para>Specifies a start time as a DateTime object. This cmdlet gets jobs that begin after the time that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>State</maml:name> <maml:description> <maml:para>Specifies an input state for an Azure Site Recovery job. This cmdlet gets jobs that match the state that this parameter specifies.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>TargetObjectId</maml:name> <maml:description> <maml:para>ID of the object on which Job was targeted to.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>EndTime</maml:name> <maml:description> <maml:para>Specifies a end time as a DateTime object. This cmdlet gets jobs that ends after the time that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue> <dev:type> <maml:name>DateTime</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>Specifies the ID of a job to get.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Job</maml:name> <maml:description> <maml:para>Specifies an Azure Site Recovery job object to get. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRJob</command:parameterValue> <dev:type> <maml:name>ASRJob</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>StartTime</maml:name> <maml:description> <maml:para>Specifies a start time as a DateTime object. This cmdlet gets jobs that begin after the time that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue> <dev:type> <maml:name>DateTime</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>State</maml:name> <maml:description> <maml:para>Specifies an input state for an Azure Site Recovery job. This cmdlet gets jobs that match the state that this parameter specifies.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>TargetObjectId</maml:name> <maml:description> <maml:para>ID of the object on which Job was targeted to.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> Get-AzureSiteRecoveryJob -Id d0b56c01-1fd7-411a-94e9-be717ac6601e ID : d0b56c01-1fd7-411a-94e9-be717ac6601e ClientRequestId : 0d259706-7882-4614-81bf-7d155f3600cb-2014-10-06 09:40:26Z State : Succeeded StateDescription : Completed StartTime : 10/6/2014 9:40:28 AM EndTime : 10/6/2014 9:40:30 AM AllowedActions : {Cancel, Restart} Name : Remove classification configuration Tasks : {Prerequisites check for unpairing classifications, Unpairing classifications} Errors : {} </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title> -------------------------- EXAMPLE 2 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> $StartTime = Get-Date "2015-02-20 06:10:03Z" $EndTime = Get-Date "2015-02-20 06:20:03Z" Get-AzureSiteRecoveryJob -StartTime $StartTime -EndTime $EndTime Name : SaveRecoveryPlan ID : 5d6389f7-3f08-48d6-9d2c-e4a4aed36a0b ClientRequestId : bc4b291d-4722-419e-a7a3-7a58674c35a3-2015-02-20 06:14:03Z State : Succeeded StateDescription : Completed StartTime : 2/20/2015 6:14:04 AM EndTime : 2/20/2015 6:14:05 AM TargetObjectId : 2d11e8be-29b8-4152-a8b9-2a6a9304537a TargetObjectType : RecoveryPlan TargetObjectName : TestRP AllowedActions : Tasks : {Save a recovery plan task} Errors : {} </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para>Provide the DateTime object in UTC as input to StartTime and EndTime parameter.</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Get-AzureSiteRecoveryRecoveryPlan--> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Get-AzureSiteRecoveryRecoveryPlan </command:name> <maml:description> <maml:para>Get information of the Recovery Plan for current Azure Site Recovery Vault</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureSiteRecoveryRecoveryPlan</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Get information of the Recovery Plan for current Azure Site Recovery Vault. A recovery plan gathers virtual machines in a group for the purposes of failover and recovery</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryRecoveryPlan</maml:name> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryRecoveryPlan</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Name</maml:name> <maml:description> <maml:para>name of the recovery plan</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryRecoveryPlan</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>Id of the recovery plan</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>Id of the recovery plan</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Name</maml:name> <maml:description> <maml:para>name of the recovery plan</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> Get-AzureSiteRecoveryRecoveryPlan ID Name ServerId TargetServerId -- ---- -------- -------------- 71de8ebc-1e9a-4242-aec3-ee... ContosoPlan 4a94c4a9-c856-4577-afbd-36... 78facf56-b273-4941-82fd-cc... </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Get-AzureSiteRecoveryProtectionEntity--> <!-- v 1.3.0.36 --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Get-AzureSiteRecoveryProtectionEntity </command:name> <maml:description> <maml:para>The Get-AzureSiteRecoveryProtectionEntity cmdlet gets protected objects in Microsoft Azure Site Recovery, such as virtual machines. </maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureSiteRecoveryProtectionEntity</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Get the list of Protection Entities like "VMs" . A Protection Entity is an object which can be protected using Azure site Recovery</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryProtectionEntity</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionContainerId</maml:name> <maml:description> <maml:para>Id of the Protection Container</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryProtectionEntity</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>Specifies the ID of a protection entity to get.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionContainerId</maml:name> <maml:description> <maml:para>Id of the Protection Container</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryProtectionEntity</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Name</maml:name> <maml:description> <maml:para>Name of the Protection Entity</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionContainerId</maml:name> <maml:description> <maml:para>Id of the Protection Container</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryProtectionEntity</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>ProtectionContainer</maml:name> <maml:description> <maml:para>Protection Container object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionContainer</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryProtectionEntity</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>Specifies the ID of a protection entity to get.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>ProtectionContainer</maml:name> <maml:description> <maml:para>Protection Container object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionContainer</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryProtectionEntity</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Name</maml:name> <maml:description> <maml:para>Name of the Protection Entity</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>ProtectionContainer</maml:name> <maml:description> <maml:para>Protection Container object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionContainer</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>Specifies the ID of a protection entity to get.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Name</maml:name> <maml:description> <maml:para>Name of the Protection Entity</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>ProtectionContainer</maml:name> <maml:description> <maml:para>Protection Container object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionContainer</command:parameterValue> <dev:type> <maml:name>ASRProtectionContainer</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionContainerId</maml:name> <maml:description> <maml:para>Id of the Protection Container</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> $PC = Get-AzureSiteRecoveryProtectionContainer; Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $PC ID : 43aaab46-1cb0-4c39-8077-9a091c3b05ce ServerId : 4a94c4a9-c856-4577-afbd-367fe9b3ce9c ProtectionContainerId : 4a94c4a9-c856-4577-afbd-367fe9b3ce9c_1c513d45-645d-4ed0-b9ae-e7b869a1f7fc Name : testvm Type : VirtualMachine FabricObjectId : 506B3CAC-5758-49E2-98C4-E5B0512E4D8E Protected : False CanCommit : False CanFailover : False CanReverseReplicate : False ActiveLocation : Primary ProtectionStateDescription : Enabling protection ReplicationHealth : TestFailoverStateDescription : None ReplicationProvider : HyperVReplica </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Import-AzureSiteRecoveryVaultSettingsFile--> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Import-AzureSiteRecoveryVaultSettingsFile </command:name> <maml:description> <maml:para>Imports a Azure site Recovery Vault Settings file to able to connect to Azure site Recovery Vault</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Import</command:verb> <command:noun>AzureSiteRecoveryVaultSettingsFile</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Imports a Azure site Recovery Vault Settings file to able to connect to Azure site Recovery Vault. The Vault settings file can be downloaded from Azure site recovery Vault by logging on the Azure portal</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Import-AzureSiteRecoveryVaultSettingsFile</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Path</maml:name> <maml:description> <maml:para>Path to the Azure site Recovery Vault Settings file. This file can be downloaded from Azure Site Recovery Vault portal and stored locally</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Path</maml:name> <maml:description> <maml:para>Path to the Azure site Recovery Vault Settings file. This file can be downloaded from Azure Site Recovery Vault portal and stored locally</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> Import-AzureSiteRecoveryVaultSettingsFile -Path "C:\Users\Contoso\Contosovault Monday, October 6, 2014.VaultCredentials" VERBOSE: Vault Settings File path: C:\Users\Contoso\Contosovault Monday, October 6, 2014.VaultCredentials ResourceName CloudServiceName ------------ ---------------- Contosovault RecoveryServices-6JP23WE3SKKOM5AFQG2YQAI22MNOWK52QDKWMUP... </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--New-AzureSiteRecoveryRecoveryPlan--> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> New-AzureSiteRecoveryRecoveryPlan </command:name> <maml:description> <maml:para>Adds a Recovery Plan in to a current Azure Site Recovery Vault</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>New</command:verb> <command:noun>AzureSiteRecoveryRecoveryPlan</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Adds a Recovery Plan in to a current Azure Site Recovery Vault. A recovery plan gathers virtual machines in a group for the purposes of failover and recovery. Use Get-AzureSiteRecoveryRecoveryPlanFile commandlet on an existing Recovery Plan to view the RecoveryPlan file and know its format.</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>New-AzureSiteRecoveryRecoveryPlan</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>File</maml:name> <maml:description> <maml:para>Recovery Plan file</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>File</maml:name> <maml:description> <maml:para>Recovery Plan file</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> New-AzureSiteRecoveryRecoveryPlan -File C:\Users\contoso\Desktop\RP.xml ID : 189283c7-7fd9-4010-8bf1-d2a2e4a46df4 ClientRequestId : 6c56d96e-dfdd-4898-81cf-8562f51a8129-2014-34-06 15:34:23Z-P State : NotStarted StateDescription : NotStarted StartTime : EndTime : AllowedActions : {} Name : Tasks : {} Errors : {} </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Remove-AzureSiteRecoveryRecoveryPlan--> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Remove-AzureSiteRecoveryRecoveryPlan </command:name> <maml:description> <maml:para>Remove a Recovery Plan from the current Azure Site Recovery Vault</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Remove</command:verb> <command:noun>AzureSiteRecoveryRecoveryPlan</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Remove a Recovery Plan from the current Azure Site Recovery Vault</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Remove-AzureSiteRecoveryRecoveryPlan</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>Id of the Recovery Plan</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> <maml:para>Bypasses confirmation on passing</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Remove-AzureSiteRecoveryRecoveryPlan</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>RecoveryPlan</maml:name> <maml:description> <maml:para>Recovery Plan object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRRecoveryPlan</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> <maml:para>Bypasses confirmation on passing</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> <maml:para>Bypasses confirmation on passing</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>Id of the Recovery Plan</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>RecoveryPlan</maml:name> <maml:description> <maml:para>Recovery Plan object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRRecoveryPlan</command:parameterValue> <dev:type> <maml:name>ASRRecoveryPlan</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> $Rp = Get-AzureSiteRecoveryRecoveryPlan; Remove-AzureSiteRecoveryRecoveryPlan -RecoveryPlan $Rp ID : 20329f92-9ed6-4529-8b74-d83309623248 ClientRequestId : 6c967844-096f-4ca6-a166-55936fd6d61c-2014-36-06 15:36:40Z-P State : NotStarted StateDescription : NotStarted StartTime : EndTime : AllowedActions : {} Name : Tasks : {} Errors : {} </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Restart-AzureSiteRecoveryJob--> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Restart-AzureSiteRecoveryJob </command:name> <maml:description> <maml:para>Restarts the Operation in Azure Site Recovery </maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Restart</command:verb> <command:noun>AzureSiteRecoveryJob</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Restarts the Operation in Azure Site Recovery . This cmdlet is allowed on failed and cancelled jobs . To know allowed actions on a job look for Allowed Actions in job object</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Restart-AzureSiteRecoveryJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>Id of the Azure Site Recovery Job</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Restart-AzureSiteRecoveryJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Job</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRJob</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>Id of the Azure Site Recovery Job</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Job</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRJob</command:parameterValue> <dev:type> <maml:name>ASRJob</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> Restart-AzureSiteRecoveryJob -Id bbf0b839-9aaa-49e1-8354-601c9145966d ID : bbf0b839-9aaa-49e1-8354-601c9145966d ClientRequestId : ef42c8b0-640c-4442-960b-349f83d161a5-2014-24-06 14:24:04Z-P State : Failed StateDescription : Failed StartTime : 10/6/2014 9:41:08 AM EndTime : 10/6/2014 9:41:21 AM AllowedActions : {Cancel, Restart} Name : Enable protection Tasks : {Prerequisites check for enabling protection , Identifying replication target, Enable replication, Starting initial replication...} Errors : {CreateProtectionTargetTask} </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Resume-AzureSiteRecoveryJob--> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Resume-AzureSiteRecoveryJob </command:name> <maml:description> <maml:para>Resumes a suspended job in Azure Site Recovery</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Resume</command:verb> <command:noun>AzureSiteRecoveryJob</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Resumes the Operation in Azure Site Recovery . This cmdlet is allowed on suspended jobs . To know allowed actions on a job look for Allowed Actions in job object</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Resume-AzureSiteRecoveryJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>ID of the Azure Site Recovery Job</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Comments</maml:name> <maml:description> <maml:para>User comment can be specified while resuming the Job</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Resume-AzureSiteRecoveryJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Job</maml:name> <maml:description> <maml:para>ASR Job object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRJob</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Comments</maml:name> <maml:description> <maml:para>User comment can be specified while resuming the Job</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Comments</maml:name> <maml:description> <maml:para>User comment can be specified while resuming the Job</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>ID of the Azure Site Recovery Job</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Job</maml:name> <maml:description> <maml:para>ASR Job object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRJob</command:parameterValue> <dev:type> <maml:name>ASRJob</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> $jobs= Get-AzureSiteRecoveryJob; Resume-AzureSiteRecoveryJob -Job $jobs ID : d16397fb-cdf1-4972-b677-c333f3c557b4 ClientRequestId : 32ace403-0916-4967-83a1-529176bd6e88-2014-49-06 15:49:24Z-P State : Suspended StateDescription : WaitingForManualAction StartTime : 10/6/2014 10:19:28 AM EndTime : 10/6/2014 10:19:31 AM AllowedActions : {Cancel, RestartTestFailoverCleanup} Name : Test failover Tasks : {Recovery plan preflight checks, Create test environment, All groups failover: Pre steps (1), Recovery plan failover...} Errors : {} </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Set-AzureSiteRecoveryProtectionEntity--> <!-- v 1.3.0.36 --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Set-AzureSiteRecoveryProtectionEntity </command:name> <maml:description> <maml:para>Sets the Protection on a protection entity for Azure Site Recovery</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Set</command:verb> <command:noun>AzureSiteRecoveryProtectionEntity</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Sets the Protection on a protection entity for Azure Site Recovery. This is async cmdlet which will only start the operation and return the job object. </maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Set-AzureSiteRecoveryProtectionEntity</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>ID of the protection entity</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectedContainerId</maml:name> <maml:description> <maml:para>ID of the Protected Container </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Protection</maml:name> <maml:description> <maml:para>set 'Enable' to enable protection and 'Disable' to disable protection</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> <maml:para>Bypasses confirmation on passing</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Set-AzureSiteRecoveryProtectionEntity</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Protection</maml:name> <maml:description> <maml:para>set 'Enable' to enable protection and 'Disable' to disable protection</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>ProtectionEntity</maml:name> <maml:description> <maml:para>Protection Entity object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionEntity</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> <maml:para>Bypasses confirmation on passing</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OS</maml:name> <maml:description> <maml:para>OS type e.g. Windows or Linux</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OSDiskName</maml:name> <maml:description> <maml:para>Name of the disk containing operating system.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionProfile</maml:name> <maml:description> <maml:para>Protection profile to be used to enable protection.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionProfile</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>ID of the protection entity</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Protection</maml:name> <maml:description> <maml:para>set 'Enable' to enable protection and 'Disable' to disable protection</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectedContainerId</maml:name> <maml:description> <maml:para>ID of the Protected Container </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>ProtectionEntity</maml:name> <maml:description> <maml:para>Protection Entity object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionEntity</command:parameterValue> <dev:type> <maml:name>ASRProtectionEntity</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> <maml:para>Bypasses confirmation on passing</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionProfile</maml:name> <maml:description> <maml:para>Protection profile to be used to enable protection.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionProfile</command:parameterValue> <dev:type> <maml:name>ASRProtectionProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OS</maml:name> <maml:description> <maml:para>OS type e.g. Windows or Linux</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>OSDiskName</maml:name> <maml:description> <maml:para>Name of the disk containing operating system.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> $PC = Get-AzureSiteRecoveryProtectionContainer -Name "Cloud1" $PE = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $PC -Name "VM1" Set-AzureSiteRecoveryProtectionEntity -ProtectionEntity $PE -Protection Enable -ProtectionProfile $PC.AvailableProtectionProfiles[0] -OS Windows Name : EnableDr ID : 7d980e67-ad8c-45bc-99a6-6d8ca0a4a689 ClientRequestId : d45eb812-de16-4bff-b4f4-a34ffa4afc5d-2015-02-18 15:31:12Z-P State : InProgress StateDescription : InProgress StartTime : 2/18/2015 3:31:16 PM EndTime : TargetObjectId : 52fa9f2d-57d4-4036-a46f-b112d2d6ae72 TargetObjectType : ProtectionEntity TargetObjectName : TestVM2 AllowedActions : Tasks : {Prerequisites check for enabling protection, Identifying the replication target, Enablereplication, Starting initial replication...} Errors : {} </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para>The OS Parameter is mandatory when an on-premise Hyper-v site is protected to azure</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Start-AzureSiteRecoveryTestFailoverJob--> <!-- v 1.3.0.36 --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Start-AzureSiteRecoveryTestFailoverJob </command:name> <maml:description> <maml:para>The Start-AzureSiteRecoveryTestFailoverJob cmdlet starts the test failover for a protection entity or for a recovery plan in Microsoft Azure Site Recovery. Check whether the job succeeds by using the Get-AzureSiteRecoveryJob cmdlet.</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Start</command:verb> <command:noun>AzureSiteRecoveryTestFailoverJob</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Start the Test Failover operation for a Protection Entity or Recovery Plan under Azure Site Recovery. This will start the test failover job and success of test failover can be tracked state of the Job using Get-AzureSiteRecoveryJob</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryTestFailoverJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionContainerId</maml:name> <maml:description> <maml:para>Specifies the ID of a protected container. This cmdlet starts the job for a protected virtual machine that belongs to the container that this cmdlet specifies.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionEntityId</maml:name> <maml:description> <maml:para>Specifies an ASRProtectionEntity object for which to start the job. To obtain a protection entity object, use the Get-AzureSiteRecoveryProtectionEntity cmdlet. This cmdlet starts a test failover for the protected entity that this parameter specifies.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>NetworkType</maml:name> <maml:description> <maml:para>Specifies the network type to be used for test failover.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryTestFailoverJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogicalNetworkId</maml:name> <maml:description> <maml:para>Specifies the ID of the logical network.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionContainerId</maml:name> <maml:description> <maml:para>Specifies the ID of a protected container. This cmdlet starts the job for a protected virtual machine that belongs to the container that this cmdlet specifies.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionEntityId</maml:name> <maml:description> <maml:para>Specifies an ASRProtectionEntity object for which to start the job. To obtain a protection entity object, use the Get-AzureSiteRecoveryProtectionEntity cmdlet. This cmdlet starts a test failover for the protected entity that this parameter specifies.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>NetworkType</maml:name> <maml:description> <maml:para>Specifies the network type to be used for test failover.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryTestFailoverJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Network</maml:name> <maml:description> <maml:para>Specifies the network object to be used for test failover.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRNetwork</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>NetworkType</maml:name> <maml:description> <maml:para>Specifies the network type to be used for test failover.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionContainerId</maml:name> <maml:description> <maml:para>Specifies the ID of a protected container. This cmdlet starts the job for a protected virtual machine that belongs to the container that this cmdlet specifies.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionEntityId</maml:name> <maml:description> <maml:para>Specifies an ASRProtectionEntity object for which to start the job. To obtain a protection entity object, use the Get-AzureSiteRecoveryProtectionEntity cmdlet. This cmdlet starts a test failover for the protected entity that this parameter specifies.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryTestFailoverJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionContainerId</maml:name> <maml:description> <maml:para>Specifies the ID of a protected container. This cmdlet starts the job for a protected virtual machine that belongs to the container that this cmdlet specifies.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionEntityId</maml:name> <maml:description> <maml:para>Specifies an ASRProtectionEntity object for which to start the job. To obtain a protection entity object, use the Get-AzureSiteRecoveryProtectionEntity cmdlet. This cmdlet starts a test failover for the protected entity that this parameter specifies.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>VmNetworkId</maml:name> <maml:description> <maml:para>Specifies the ID of the virtual machine network.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>NetworkType</maml:name> <maml:description> <maml:para>Specifies the network type to be used for test failover.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryTestFailoverJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>ProtectionEntity</maml:name> <maml:description> <maml:para>Protection Entity object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionEntity</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>NetworkType</maml:name> <maml:description> <maml:para>Specifies the network type to be used for test failover.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryTestFailoverJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogicalNetworkId</maml:name> <maml:description> <maml:para>Specifies the ID of the logical network.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>ProtectionEntity</maml:name> <maml:description> <maml:para>Protection Entity object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionEntity</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>NetworkType</maml:name> <maml:description> <maml:para>Specifies the network type to be used for test failover.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryTestFailoverJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Network</maml:name> <maml:description> <maml:para>Specifies the network object to be used for test failover.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRNetwork</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>NetworkType</maml:name> <maml:description> <maml:para>Specifies the network type to be used for test failover.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionEntity</maml:name> <maml:description> <maml:para>Protection Entity object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionEntity</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryTestFailoverJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionEntity</maml:name> <maml:description> <maml:para>Protection Entity object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionEntity</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>VmNetworkId</maml:name> <maml:description> <maml:para>Specifies the ID of the virtual machine network.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>NetworkType</maml:name> <maml:description> <maml:para>Specifies the network type to be used for test failover.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryTestFailoverJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RpId</maml:name> <maml:description> <maml:para>Specifies the ID of a recovery plan for which to start the job.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>NetworkType</maml:name> <maml:description> <maml:para>Specifies the network type to be used for test failover.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryTestFailoverJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>VmNetworkId</maml:name> <maml:description> <maml:para>Specifies the ID of the virtual machine network.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogicalNetworkId</maml:name> <maml:description> <maml:para>Specifies the ID of the logical network.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>NetworkType</maml:name> <maml:description> <maml:para>Specifies the network type to be used for test failover.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryTestFailoverJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Network</maml:name> <maml:description> <maml:para>Specifies the network object to be used for test failover.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRNetwork</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>NetworkType</maml:name> <maml:description> <maml:para>Specifies the network type to be used for test failover.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RpId</maml:name> <maml:description> <maml:para>Specifies the ID of a recovery plan for which to start the job.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryTestFailoverJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>VmNetworkId</maml:name> <maml:description> <maml:para>Specifies the ID of the virtual machine network.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>NetworkType</maml:name> <maml:description> <maml:para>Specifies the network type to be used for test failover.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryTestFailoverJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>RecoveryPlan</maml:name> <maml:description> <maml:para>Specifies an ASRRecoveryPlan object for which to start the job. To obtain a recovery plan object, use the Get-AzureSiteRecoveryRecoveryPlan cmdlet. This cmdlet starts a test failover for the recovery plan that this parameter specifies.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRRecoveryPlan</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>NetworkType</maml:name> <maml:description> <maml:para>Specifies the network type to be used for test failover.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryTestFailoverJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>RecoveryPlan</maml:name> <maml:description> <maml:para>Specifies an ASRRecoveryPlan object for which to start the job. To obtain a recovery plan object, use the Get-AzureSiteRecoveryRecoveryPlan cmdlet. This cmdlet starts a test failover for the recovery plan that this parameter specifies.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRRecoveryPlan</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogicalNetworkId</maml:name> <maml:description> <maml:para>Specifies the ID of the logical network.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>NetworkType</maml:name> <maml:description> <maml:para>Specifies the network type to be used for test failover.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryTestFailoverJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Network</maml:name> <maml:description> <maml:para>Specifies the network object to be used for test failover.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRNetwork</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>NetworkType</maml:name> <maml:description> <maml:para>Specifies the network type to be used for test failover.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RecoveryPlan</maml:name> <maml:description> <maml:para>Specifies an ASRRecoveryPlan object for which to start the job. To obtain a recovery plan object, use the Get-AzureSiteRecoveryRecoveryPlan cmdlet. This cmdlet starts a test failover for the recovery plan that this parameter specifies.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRRecoveryPlan</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryTestFailoverJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>RecoveryPlan</maml:name> <maml:description> <maml:para>Specifies an ASRRecoveryPlan object for which to start the job. To obtain a recovery plan object, use the Get-AzureSiteRecoveryRecoveryPlan cmdlet. This cmdlet starts a test failover for the recovery plan that this parameter specifies.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRRecoveryPlan</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>NetworkType</maml:name> <maml:description> <maml:para>Specifies the network type to be used for test failover.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogicalNetworkId</maml:name> <maml:description> <maml:para>Specifies the ID of the logical network.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RecoveryPlan</maml:name> <maml:description> <maml:para>Specifies an ASRRecoveryPlan object for which to start the job. To obtain a recovery plan object, use the Get-AzureSiteRecoveryRecoveryPlan cmdlet. This cmdlet starts a test failover for the recovery plan that this parameter specifies.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRRecoveryPlan</command:parameterValue> <dev:type> <maml:name>ASRRecoveryPlan</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RpId</maml:name> <maml:description> <maml:para>Specifies the ID of a recovery plan for which to start the job.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>ProtectionEntity</maml:name> <maml:description> <maml:para>Protection Entity object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionEntity</command:parameterValue> <dev:type> <maml:name>ASRProtectionEntity</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionContainerId</maml:name> <maml:description> <maml:para>Specifies the ID of a protected container. This cmdlet starts the job for a protected virtual machine that belongs to the container that this cmdlet specifies.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionEntityId</maml:name> <maml:description> <maml:para>Specifies an ASRProtectionEntity object for which to start the job. To obtain a protection entity object, use the Get-AzureSiteRecoveryProtectionEntity cmdlet. This cmdlet starts a test failover for the protected entity that this parameter specifies.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>VmNetworkId</maml:name> <maml:description> <maml:para>Specifies the ID of the virtual machine network.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>NetworkType</maml:name> <maml:description> <maml:para>Specifies the network type to be used for test failover.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Network</maml:name> <maml:description> <maml:para>Specifies the network object to be used for test failover.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRNetwork</command:parameterValue> <dev:type> <maml:name>ASRNetwork</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> $PC = Get-AzureSiteRecoveryProtectionContainer; $PE = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $PC; Start-AzureSiteRecoveryTestFailoverJob -ProtectionEntity $PE -Direction PrimaryToRecovery ID : c38eecdc-731c-405b-a61c-08db99aae2fe ClientRequestId : 32ace403-0916-4967-83a1-529176bd6e88-2014-49-06 15:49:24Z-P State : NotStarted StateDescription : NotStarted StartTime : EndTime : AllowedActions : {} Name : Tasks : {} Errors : {} </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title> -------------------------- EXAMPLE 2 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> $RP = Get-AzureSiteRecoveryRecoveryPlan -Name "RP1" Start-AzureSiteRecoveryTestFailoverJob -RecoveryPlan $RP -Direction PrimaryToRecovery Name : ID : 4a991243-a97f-4617-97be-a6e0dc99a2ff ClientRequestId : 0ae1226f-b68d-4131-b2e8-17bb4c19fa29-2015-02-17 14:35:46Z-P State : NotStarted StateDescription : NotStarted StartTime : EndTime : TargetObjectId : TargetObjectType : TargetObjectName : AllowedActions : Tasks : {} Errors : {} </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Start-AzureSiteRecoveryUnplannedFailoverJob--> <!-- v 1.3.0.36 --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Start-AzureSiteRecoveryUnplannedFailoverJob </command:name> <maml:description> <maml:para> The Start-AzureSiteRecoveryUnplannedFailoverJob cmdlet starts the unplanned failover for a protectioned entity or for a recovery plan in Microsoft Azure Site Recovery. Check whether the job succeeds by using the Get-AzureSiteRecoveryJob cmdlet. </maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Start</command:verb> <command:noun>AzureSiteRecoveryUnplannedFailoverJob</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Start the Unplanned Failover operation for a Protection Entity or Recovery Plan under Azure Site Recovery. This will start the failover job and success of failover can be tracked state of the Job using Get-AzureSiteRecoveryJob</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryUnplannedFailoverJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionContainerId</maml:name> <maml:description> <maml:para>Id of the Protection Container</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionEntityId</maml:name> <maml:description> <maml:para>Id of the Protection Entity</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PerformSourceSideActions</maml:name> <maml:description> <maml:para>Its used for indicating whether can do source site operations.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryUnplannedFailoverJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>ProtectionEntity</maml:name> <maml:description> <maml:para>Protection Entity object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionEntity</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PerformSourceSideActions</maml:name> <maml:description> <maml:para>Its used for indicating whether can do source site operations.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryUnplannedFailoverJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RpId</maml:name> <maml:description> <maml:para>Id of the Recovery Plan</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PerformSourceSideActions</maml:name> <maml:description> <maml:para>Its used for indicating whether can do source site operations.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryUnplannedFailoverJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>RecoveryPlan</maml:name> <maml:description> <maml:para>Recovery Plan object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRRecoveryPlan</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PerformSourceSideActions</maml:name> <maml:description> <maml:para>Its used for indicating whether can do source site operations.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>RecoveryPlan</maml:name> <maml:description> <maml:para>Recovery Plan object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRRecoveryPlan</command:parameterValue> <dev:type> <maml:name>ASRRecoveryPlan</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RpId</maml:name> <maml:description> <maml:para>Id of the Recovery Plan</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>ProtectionEntity</maml:name> <maml:description> <maml:para>Protection Entity object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionEntity</command:parameterValue> <dev:type> <maml:name>ASRProtectionEntity</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionEntityId</maml:name> <maml:description> <maml:para>Id of the Protection Entity</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionContainerId</maml:name> <maml:description> <maml:para>Id of the Protection Container</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PerformSourceSideActions</maml:name> <maml:description> <maml:para>Its used for indicating whether can do source site operations.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> $PC = Get-AzureSiteRecoveryProtectionContainer; $PE = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $PC; Start-AzureSiteRecoveryUnplannedFailoverJob -ProtectionEntity $PE -Direction PrimaryToRecovery ID : c38eecdc-731c-405b-a61c-08db99aae2fe ClientRequestId : 32ace403-0916-4967-83a1-529176bd6e88-2014-49-06 15:49:24Z-P State : NotStarted StateDescription : NotStarted StartTime : EndTime : AllowedActions : {} Name : Tasks : {} Errors : {} </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Start-AzureSiteRecoveryCommitFailoverJob--> <!-- v 1.3.0.36 --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Start-AzureSiteRecoveryCommitFailoverJob </command:name> <maml:description> <maml:para>Start the commit failover of the Azure Site Recovery object after failover</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Start</command:verb> <command:noun>AzureSiteRecoveryCommitFailoverJob</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Start the commit failover of the Azure Site Recovery object after failover. This will start the commit and return the job object. Success of the job can be tracked using Get-AzureSiteRecoveryJob</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryCommitFailoverJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>RecoveryPlan</maml:name> <maml:description> <maml:para>Recovery Plan object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRRecoveryPlan</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits for Completion</maml:para> </maml:description> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryCommitFailoverJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RpId</maml:name> <maml:description> <maml:para>Id of the Recovery Plan</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits for Completion</maml:para> </maml:description> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryCommitFailoverJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>ProtectionEntity</maml:name> <maml:description> <maml:para>Protection Entity object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionEntity</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits for Completion</maml:para> </maml:description> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryCommitFailoverJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionContainerId</maml:name> <maml:description> <maml:para>Id of the Protection Container</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionEntityId</maml:name> <maml:description> <maml:para>Id of the Protection Entity</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits for Completion</maml:para> </maml:description> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionContainerId</maml:name> <maml:description> <maml:para>Id of the Protection Container</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>ProtectionEntity</maml:name> <maml:description> <maml:para>Protection Entity object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionEntity</command:parameterValue> <dev:type> <maml:name>ASRProtectionEntity</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits for Completion</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>RecoveryPlan</maml:name> <maml:description> <maml:para>Recovery Plan object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRRecoveryPlan</command:parameterValue> <dev:type> <maml:name>ASRRecoveryPlan</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RpId</maml:name> <maml:description> <maml:para>Id of the Recovery Plan</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionEntityId</maml:name> <maml:description> <maml:para>Id of the Protection Entity</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> $PC = Get-AzureSiteRecoveryProtectionContainer; $PE = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $PC; Start-AzureSiteRecoveryCommitFailoverJob -ProtectionEntity $PE -Direction PrimaryToRecovery ID : c38eecdc-731c-405b-a61c-08db99aae2fe ClientRequestId : 32ace403-0916-4967-83a1-529176bd6e88-2014-49-06 15:49:24Z-P State : NotStarted StateDescription : NotStarted StartTime : EndTime : AllowedActions : {} Name : Tasks : {} Errors : {} </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Start-AzureSiteRecoveryPlannedFailoverJob--> <!-- v 1.3.0.36 --> <!-- v 1.3.0.36 --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Start-AzureSiteRecoveryPlannedFailoverJob </command:name> <maml:description> <maml:para>Start the Planned Failover operation for a Protection Entity or Recovery Plan under Azure Site Recovery</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Start</command:verb> <command:noun>AzureSiteRecoveryPlannedFailoverJob</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Start the Planned Failover operation for a Protection Entity or Recovery Plan under Azure Site Recovery. This will start the failover and return the job object. Success of the job can be tracked using Get-AzureSiteRecoveryJob</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryPlannedFailoverJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>RecoveryPlan</maml:name> <maml:description> <maml:para>Recovery Plan object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRRecoveryPlan</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Optimize</maml:name> <maml:description> <maml:para> This parameter is applicable when Failover is done from Azure to on-premise site which requires a large data synchronization. Specify what synchronization has to optimize: ForDowntime: Synchronize data before failover (minimize downtime) Synchronization will be performed without shutting down the virtual machine. After synchronization is complete, the job would be suspended. Resume the job to do an additional synchronization that shuts down the virtual machine. ForSynchronization : data during failover only (minimize synchronization) With this setting enabled, the virtual machine will begin shutdown immediately. Synchronization will start after shutdown to complete the failover. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryPlannedFailoverJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RpId</maml:name> <maml:description> <maml:para>Id of the Recovery Plan</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Optimize</maml:name> <maml:description> <maml:para> This parameter is applicable when Failover is done from Azure to on-premise site which requires a large data synchronization. Specify what synchronization has to optimize: ForDowntime: Synchronize data before failover (minimize downtime) Synchronization will be performed without shutting down the virtual machine. After synchronization is complete, the job would be suspended. Resume the job to do an additional synchronization that shuts down the virtual machine. ForSynchronization : data during failover only (minimize synchronization) With this setting enabled, the virtual machine will begin shutdown immediately. Synchronization will start after shutdown to complete the failover. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryPlannedFailoverJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>ProtectionEntity</maml:name> <maml:description> <maml:para>Protection Entity object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionEntity</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Optimize</maml:name> <maml:description> <maml:para> This parameter is applicable when Failover is done from Azure to on-premise site which requires a large data synchronization. Specify what synchronization has to optimize: ForDowntime: Synchronize data before failover (minimize downtime) Synchronization will be performed without shutting down the virtual machine. After synchronization is complete, the job would be suspended. Resume the job to do an additional synchronization that shuts down the virtual machine. ForSynchronization : data during failover only (minimize synchronization) With this setting enabled, the virtual machine will begin shutdown immediately. Synchronization will start after shutdown to complete the failover. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryPlannedFailoverJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionContainerId</maml:name> <maml:description> <maml:para>Id of the Protection Container</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionEntityId</maml:name> <maml:description> <maml:para>Id of the Protection Entity</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Optimize</maml:name> <maml:description> <maml:para> This parameter is applicable when Failover is done from Azure to on-premise site which requires a large data synchronization. Specify what synchronization has to optimize: ForDowntime: Synchronize data before failover (minimize downtime) Synchronization will be performed without shutting down the virtual machine. After synchronization is complete, the job would be suspended. Resume the job to do an additional synchronization that shuts down the virtual machine. ForSynchronization : data during failover only (minimize synchronization) With this setting enabled, the virtual machine will begin shutdown immediately. Synchronization will start after shutdown to complete the failover. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Optimize</maml:name> <maml:description> <maml:para> This parameter is applicable when Failover is done from Azure to on-premise site which requires a large data synchronization. Specify what synchronization has to optimize: ForDowntime: Synchronize data before failover (minimize downtime) Synchronization will be performed without shutting down the virtual machine. After synchronization is complete, the job would be suspended. Resume the job to do an additional synchronization that shuts down the virtual machine. ForSynchronization : data during failover only (minimize synchronization) With this setting enabled, the virtual machine will begin shutdown immediately. Synchronization will start after shutdown to complete the failover. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionContainerId</maml:name> <maml:description> <maml:para>Id of the Protection Container</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>ProtectionEntity</maml:name> <maml:description> <maml:para>Protection Entity object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionEntity</command:parameterValue> <dev:type> <maml:name>ASRProtectionEntity</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionEntityId</maml:name> <maml:description> <maml:para>Id of the Protection Entity</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>RecoveryPlan</maml:name> <maml:description> <maml:para>Recovery Plan object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRRecoveryPlan</command:parameterValue> <dev:type> <maml:name>ASRRecoveryPlan</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RpId</maml:name> <maml:description> <maml:para>Id of the Recovery Plan</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> $PC = Get-AzureSiteRecoveryProtectionContainer; $PE = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $PC; Start-AzureSiteRecoveryPlannedFailoverJob -ProtectionEntity $PE -Direction PrimaryToRecovery -Optimize ForDowntime ID : c38eecdc-731c-405b-a61c-08db99aae2fe ClientRequestId : 32ace403-0916-4967-83a1-529176bd6e88-2014-49-06 15:49:24Z-P State : NotStarted StateDescription : NotStarted StartTime : EndTime : AllowedActions : {} Name : Tasks : {} Errors : {} </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Stop-AzureSiteRecoveryJob--> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Stop-AzureSiteRecoveryJob </command:name> <maml:description> <maml:para>Stops the Azure Site Recovery Job. Specify a running Job only.</maml:para> </maml:description> <maml:copyright> <maml:para>Stops the Azure Site Recovery Job. This cmdlet is applicable on a running Job only. To know the allowed actions look for Allowedactions property of Job object</maml:para> </maml:copyright> <command:verb>Stop</command:verb> <command:noun>AzureSiteRecoveryJob</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para> </maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Stop-AzureSiteRecoveryJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>ID of the Azure Site Recovery Job</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Stop-AzureSiteRecoveryJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Job</maml:name> <maml:description> <maml:para>ASR Job object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRJob</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Id</maml:name> <maml:description> <maml:para>ID of the Azure Site Recovery Job</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Job</maml:name> <maml:description> <maml:para>ASR Job object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRJob</command:parameterValue> <dev:type> <maml:name>ASRJob</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> $jobs= Get-AzureSiteRecoveryJob; Stop-AzureSiteRecoveryJob -Job $jobs </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Update-AzureSiteRecoveryRecoveryPlan--> <!-- v 1.3.0.36 --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Update-AzureSiteRecoveryRecoveryPlan </command:name> <maml:description> <maml:para>Update-AzureSiteRecoveryRecoveryPlan cmdlet allows to change an existing Recovery Plan structure and Publish the updated one </maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Update</command:verb> <command:noun>AzureSiteRecoveryRecoveryPlan</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Update-AzureSiteRecoveryRecoveryPlan cmdlet allows to change an existing Recovery Plan structure and Publish the updated one . A recovery plan gathers virtual machines in a group for the purposes of failover and recovery</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Update-AzureSiteRecoveryRecoveryPlan</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>File</maml:name> <maml:description> <maml:para>XML file containing the Recovery Plan</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>File</maml:name> <maml:description> <maml:para>XML file containing the Recovery Plan</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> Update-AzureSiteRecoveryRecoveryPlan -File C:\Users\contoso\Desktop\RP.xml </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Update-AzureSiteRecoveryProtectionDirection--> <!-- v 1.3.0.36 --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Update-AzureSiteRecoveryProtectionDirection </command:name> <maml:description> <maml:para>Update the source and target server for the protection (Reverse Replicate) for Azure Site recovery Object after the commitfailover is completed </maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Update</command:verb> <command:noun>AzureSiteRecoveryProtectionDirection</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Update the source and target server for the protection for Azure Site recovery Object (Reverse Replicate) after the commitfailover is completed . This is async cmdlet which will only start the operation and return the job object.</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Update-AzureSiteRecoveryProtectionDirection</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>RecoveryPlan</maml:name> <maml:description> <maml:para>Recovery Plan object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRRecoveryPlan</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Update-AzureSiteRecoveryProtectionDirection</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RpId</maml:name> <maml:description> <maml:para>Id of the Recovery Plan</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Update-AzureSiteRecoveryProtectionDirection</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>ProtectionEntity</maml:name> <maml:description> <maml:para>Protection Entity object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionEntity</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Update-AzureSiteRecoveryProtectionDirection</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionContainerId</maml:name> <maml:description> <maml:para>Id of the Protection Container</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionEntityId</maml:name> <maml:description> <maml:para>Id of the Protection Entity</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Direction</maml:name> <maml:description> <maml:para>Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>RecoveryPlan</maml:name> <maml:description> <maml:para>Recovery Plan object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRRecoveryPlan</command:parameterValue> <dev:type> <maml:name>ASRRecoveryPlan</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RpId</maml:name> <maml:description> <maml:para>Id of the Recovery Plan</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>ProtectionEntity</maml:name> <maml:description> <maml:para>Protection Entity object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionEntity</command:parameterValue> <dev:type> <maml:name>ASRProtectionEntity</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionEntityId</maml:name> <maml:description> <maml:para>Id of the Protection Entity</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionContainerId</maml:name> <maml:description> <maml:para>Id of the Protection Container</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> Update-AzureSiteRecoveryProtectionDirection -ProtectionEntity $PE -Direction RecoveryToPrimary ID : c38eecdc-731c-405b-a61c-08db99aae2fe ClientRequestId : 32ace403-0916-4967-83a1-529176bd6e88-2014-49-06 15:49:24Z-P State : NotStarted StateDescription : NotStarted StartTime : EndTime : AllowedActions : {} Name : Tasks : {} Errors : {} </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Update-AzureSiteRecoveryProtectionEntity--> <!-- v 1.3.0.36 --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Update-AzureSiteRecoveryProtectionEntity </command:name> <maml:description> <maml:para>Updates the property of Azure Site Recovery Protection Entity like virtual machine owner information. Supported only for VMM to VMM protected protection entities</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Update</command:verb> <command:noun>AzureSiteRecoveryProtectionEntity</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Updates the property of Azure Site Recovery Protection Entity like virtual machine owner information. Supported only for VMM to VMM protected protection entities</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Update-AzureSiteRecoveryProtectionEntity</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>ProtectionEntity</maml:name> <maml:description> <maml:para>Protection Entity object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionEntity</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>ProtectionEntity</maml:name> <maml:description> <maml:para>Protection Entity object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionEntity</command:parameterValue> <dev:type> <maml:name>ASRProtectionEntity</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WaitForCompletion</maml:name> <maml:description> <maml:para>Waits till the operation completes</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> Update-AzureSiteRecoveryProtectionEntity -ProtectionEntity $PE Name : ID : 680ffe0f-6236-465e-8c94-81242fa67e6d ClientRequestId : 2c47e6ce-1460-4187-8a0f-b9073735fa38-2014-12-30 06:44:40Z-P State : NotStarted StateDescription : NotStarted StartTime : EndTime : AllowedActions : {} Tasks : {} Errors : {} </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--New-AzureSiteRecoveryProtectionProfileObject--> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> New-AzureSiteRecoveryProtectionProfileObject </command:name> <maml:description> <maml:para>Creates a Protection profile object . This is an in memory object to be further supplied for Protection Profile related operations.</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>New</command:verb> <command:noun>AzureSiteRecoveryProtectionProfileObject</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Creates a Protection profile object in memory. This command can be used to return a protection profile object to be further supplied for Protection Profile related operations.</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>New-AzureSiteRecoveryProtectionProfileObject</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplicationFrequencyInSeconds</maml:name> <maml:description> <maml:para> Replication frequency interval in seconds. As of now, only three possible values supported. 30 seconds, 300 seconds, 900 seconds. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplicationProvider</maml:name> <maml:description> <maml:para>Type of Replication Provider either HyperVReplica or HyperVReplicaAzure.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AllowReplicaDeletion</maml:name> <maml:description> <maml:para>Switch parameter indicating whether replica entity deletion is to be enabled.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ApplicationConsistentSnapshotFrequencyInHours</maml:name> <maml:description> <maml:para>Frequency of Application Consistent Snapshot in hours.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">int</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Authentication</maml:name> <maml:description> <maml:para>Type of authentication to be used. Possible values are Certificate and Kerberos.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CompressionEnabled</maml:name> <maml:description> <maml:para>Switch parameter indicating whether compression is to be Enabled.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> <maml:para>Specify this to bypass the confirm action and take the default (Y).</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Name</maml:name> <maml:description> <maml:para>Can be used to provide a name to the protection profile settings object that is to be created.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RecoveryPoints</maml:name> <maml:description> <maml:para>Number of hours to retain Recovery points.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">int</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplicationMethod</maml:name> <maml:description> <maml:para>Replication Method either Online - over the network or Offline.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplicationPort</maml:name> <maml:description> <maml:para>Port on which the replication would take place.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">int</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplicationStartTime</maml:name> <maml:description> <maml:para>Replication Start Time. It should be within the next 24 hours of the start of the job.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">TimeSpan</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>New-AzureSiteRecoveryProtectionProfileObject</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RecoveryAzureStorageAccount</maml:name> <maml:description> <maml:para>Azure Storage account name on which the Azure replica entity would be located.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RecoveryAzureSubscription</maml:name> <maml:description> <maml:para>Azure Subscription ID corresponding to the storage account on which the Azure replica entity would be located.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplicationFrequencyInSeconds</maml:name> <maml:description> <maml:para> Replication frequency interval in seconds. As of now, only three possible values supported. 30 seconds, 300 seconds, 900 seconds. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplicationProvider</maml:name> <maml:description> <maml:para>Type of Replication Provider either HyperVReplica or HyperVReplicaAzure.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ApplicationConsistentSnapshotFrequencyInHours</maml:name> <maml:description> <maml:para>Frequency of Application Consistent Snapshot in hours.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">int</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> <maml:para>Specify this to bypass the confirm action and take the default (Y).</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Name</maml:name> <maml:description> <maml:para>Can be used to provide a name to the protection profile settings object that is to be created.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RecoveryPoints</maml:name> <maml:description> <maml:para>Number of hours to retain Recovery points.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">int</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplicationStartTime</maml:name> <maml:description> <maml:para>Replication Start Time. It should be within the next 24 hours of the start of the job.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">TimeSpan</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AllowReplicaDeletion</maml:name> <maml:description> <maml:para>Switch parameter indicating whether replica entity deletion is to be enabled.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ApplicationConsistentSnapshotFrequencyInHours</maml:name> <maml:description> <maml:para>Frequency of Application Consistent Snapshot in hours.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">int</command:parameterValue> <dev:type> <maml:name>int</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Authentication</maml:name> <maml:description> <maml:para>Type of authentication to be used. Possible values are Certificate and Kerberos.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CompressionEnabled</maml:name> <maml:description> <maml:para>Switch parameter indicating whether compression is to be Enabled.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> <maml:para>Specify this to bypass the confirm action and take the default (Y).</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Name</maml:name> <maml:description> <maml:para>Can be used to provide a name to the protection profile settings object that is to be created.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RecoveryAzureStorageAccount</maml:name> <maml:description> <maml:para>Azure Storage account name on which the Azure replica entity would be located.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RecoveryAzureSubscription</maml:name> <maml:description> <maml:para>Azure Subscription ID corresponding to the storage account on which the Azure replica entity would be located.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RecoveryPoints</maml:name> <maml:description> <maml:para>Number of hours to retain Recovery points.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">int</command:parameterValue> <dev:type> <maml:name>int</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplicationFrequencyInSeconds</maml:name> <maml:description> <maml:para> Replication frequency interval in seconds. As of now, only three possible values supported. 30 seconds, 300 seconds, 900 seconds. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplicationMethod</maml:name> <maml:description> <maml:para>Replication Method either Online - over the network or Offline.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplicationPort</maml:name> <maml:description> <maml:para>Port on which the replication would take place.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">int</command:parameterValue> <dev:type> <maml:name>int</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplicationProvider</maml:name> <maml:description> <maml:para>Type of Replication Provider either HyperVReplica or HyperVReplicaAzure.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplicationStartTime</maml:name> <maml:description> <maml:para>Replication Start Time. It should be within the next 24 hours of the start of the job.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">TimeSpan</command:parameterValue> <dev:type> <maml:name>TimeSpan</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>ASRProtectionProfile</maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> New-AzureSiteRecoveryProtectionProfileObject -ReplicationProvider HyperVReplica -ReplicationMethod Online -ReplicationFrequencyInSeconds 30 -RecoveryPoints 2 -ApplicationConsistentSnapshotFrequencyInHours 1 -CompressionEnabled -ReplicationPort 8085 -ReplicationStartTime 1 -AllowReplicaDeletion Name : ID : ReplicationProvider : HyperVReplica HyperVReplicaProviderSettingsObject : Microsoft.Azure.Portal.RecoveryServices.Models.Common.HyperVReplicaProviderS ettings HyperVReplicaAzureProviderSettingsObject : </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title> -------------------------- EXAMPLE 2 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> New-AzureSiteRecoveryProtectionProfileObject -Name protProfile -ReplicationProvider HyperVReplicaAzure -RecoveryAzureSubscription cb53d0c3-bd59-4721-89bc-06916a9147ef -RecoveryAzureStorageAccount test -ReplicationFrequencyInSeconds 30 -RecoveryPoints 1 -Force Name : protProfile ID : ReplicationProvider : HyperVReplicaAzure HyperVReplicaProviderSettingsObject : HyperVReplicaAzureProviderSettingsObject : Microsoft.Azure.Portal.RecoveryServices.Models.Common.HyperVReplicaAzureProv iderSettings </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!-- Start-AzureSiteRecoveryProtectionProfileAssociationJob --> <!-- v 1.3.0.36 --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Start-AzureSiteRecoveryProtectionProfileAssociationJob </command:name> <maml:description> <maml:para>Starts the Protection profile association job.</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Start</command:verb> <command:noun>AzureSiteRecoveryProtectionProfileAssociationJob</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Starts the Protection profile association job.</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryProtectionProfileAssociationJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PrimaryProtectionContainer</maml:name> <maml:description> <maml:para>Gets or sets Primary Protection Container to be applied the Protection Profile settings on.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionContainer</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>ProtectionProfile</maml:name> <maml:description> <maml:para>Protection profile settings object to be applied on to the protection containers.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryProtectionProfileAssociationJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PrimaryProtectionContainer</maml:name> <maml:description> <maml:para>Gets or sets Primary Protection Container to be applied the Protection Profile settings on.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionContainer</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionProfile</maml:name> <maml:description> <maml:para>Protection profile settings object to be applied on to the protection containers.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionProfile</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RecoveryProtectionContainer</maml:name> <maml:description> <maml:para>Gets or sets Recovery Protection Container to be applied the Protection Profile settings on.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionContainer</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionProfile</maml:name> <maml:description> <maml:para>Protection profile settings object to be applied on to the protection containers.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionProfile</command:parameterValue> <dev:type> <maml:name>ASRProtectionProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PrimaryProtectionContainer</maml:name> <maml:description> <maml:para>Gets or sets Primary Protection Container to be applied the Protection Profile settings on.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionContainer</command:parameterValue> <dev:type> <maml:name>ASRProtectionContainer</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RecoveryProtectionContainer</maml:name> <maml:description> <maml:para>Gets or sets Recovery Protection Container to be applied the Protection Profile settings on.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionContainer</command:parameterValue> <dev:type> <maml:name>ASRProtectionContainer</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> Start-AzureSiteRecoveryProtectionProfileAssociationJob -PrimaryProtectionContainer $protectionContainer1 -RecoveryProtectionContainer $protectionContainer2 -ProtectionProfile $protectionProfile Name : MyProtectionProfile ID : 51978b0f-9241-4153-9171-2e19344f0805 ClientRequestId : bb6f3200-b7c6-4c6f-bcbc-a70bb9946f03-2015-01-27 22:55:55Z-P State : InProgress StateDescription : InProgress StartTime : 1/27/2015 10:56:01 PM EndTime : AllowedActions : Tasks : {Adding the protection group, Configuring Windows Server 2012 R2 Hyper-V hosts for Azure} Errors : {} </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!-- Set-AzureSiteRecoveryProtectionProfile --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Set-AzureSiteRecoveryProtectionProfile </command:name> <maml:description> <maml:para> </maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Set</command:verb> <command:noun>AzureSiteRecoveryProtectionProfile</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para> </maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Set-AzureSiteRecoveryProtectionProfile</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ApplicationConsistentSnapshotFrequencyInHours</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">int</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RecoveryAzureStorageAccount</maml:name> <maml:description> <maml:para>Azure Storage account name on which the Azure replica entity would be located.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RecoveryPoints</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">int</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplicationFrequencyInSeconds</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplicationStartTime</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">TimeSpan</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Set-AzureSiteRecoveryProtectionProfile</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AllowReplicaDeletion</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">bool</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ApplicationConsistentSnapshotFrequencyInHours</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">int</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Authentication</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CompressionEnabled</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">bool</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RecoveryPoints</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">int</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplicationFrequencyInSeconds</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplicationMethod</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplicationPort</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">int</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplicationStartTime</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">TimeSpan</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AllowReplicaDeletion</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">bool</command:parameterValue> <dev:type> <maml:name>bool</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ApplicationConsistentSnapshotFrequencyInHours</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">int</command:parameterValue> <dev:type> <maml:name>int</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Authentication</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CompressionEnabled</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">bool</command:parameterValue> <dev:type> <maml:name>bool</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RecoveryAzureStorageAccount</maml:name> <maml:description> <maml:para>Azure Storage account name on which the Azure replica entity would be located.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RecoveryPoints</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">int</command:parameterValue> <dev:type> <maml:name>int</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplicationMethod</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplicationFrequencyInSeconds</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplicationPort</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">int</command:parameterValue> <dev:type> <maml:name>int</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplicationStartTime</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">TimeSpan</command:parameterValue> <dev:type> <maml:name>TimeSpan</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> Set-AzureSiteRecoveryProtectionProfile -ProtectionProfile $protectionProfile -ReplicationFrequencyInSeconds 30 Name : MyProtectionProfile ID : 51978b0f-9241-4153-9171-2e19344f0805 ClientRequestId : bb6f3200-b7c6-4c6f-bcbc-a70bb9946f03-2015-01-30 21:55:55Z-P State : NotStarted StateDescription : NotStarted StartTime : 1/29/2015 09:56:01 PM EndTime : AllowedActions : {} Tasks : {} Errors : {} </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!-- Start-AzureSiteRecoveryProtectionProfileDissociationJob --> <!-- v 1.3.0.36 --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Start-AzureSiteRecoveryProtectionProfileDissociationJob </command:name> <maml:description> <maml:para>Initiates a dissociation job on the protection profile associated with protection containers.</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Start</command:verb> <command:noun>AzureSiteRecoveryProtectionProfileDissociationJob</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Initiates a dissociation job on the protection profile associated with protection containers.</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryProtectionProfileDissociationJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PrimaryProtectionContainer</maml:name> <maml:description> <maml:para>Gets or sets Primary Protection Container to be applied the Protection Profile settings on.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionContainer</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>ProtectionProfile</maml:name> <maml:description> <maml:para>Protection profile settings object to be applied on to the protection containers.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureSiteRecoveryProtectionProfileDissociationJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PrimaryProtectionContainer</maml:name> <maml:description> <maml:para>Gets or sets Primary Protection Container to be applied the Protection Profile settings on.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionContainer</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionProfile</maml:name> <maml:description> <maml:para>Protection profile settings object to be applied on to the protection containers.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionProfile</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RecoveryProtectionContainer</maml:name> <maml:description> <maml:para>Gets or sets Recovery Protection Container to be applied the Protection Profile settings on.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionContainer</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PrimaryProtectionContainer</maml:name> <maml:description> <maml:para>Gets or sets Primary Protection Container to be applied the Protection Profile settings on.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionContainer</command:parameterValue> <dev:type> <maml:name>ASRProtectionContainer</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionProfile</maml:name> <maml:description> <maml:para>Protection profile settings object to be applied on to the protection containers.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionProfile</command:parameterValue> <dev:type> <maml:name>ASRProtectionProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RecoveryProtectionContainer</maml:name> <maml:description> <maml:para>Gets or sets Recovery Protection Container to be applied the Protection Profile settings on.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRProtectionContainer</command:parameterValue> <dev:type> <maml:name>ASRProtectionContainer</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> Start-AzureSiteRecoveryProtectionProfileDissociationJob -ProtectionProfile $protectionProfile -PrimaryProtectionContainer $protectionContainer1 -RecoveryProtectionContainer $protectionContainer2 Name : MyProtectionProfile ID : 51978b0f-9241-4153-9171-2e19344f0805 ClientRequestId : bb6f3200-b7c6-4c6f-bcbc-a70bb9946f03-2015-01-30 02:55:55Z-P State : NotStarted StateDescription : NotStarted StartTime : EndTime : AllowedActions : Tasks : {} Errors : {} </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Get-AzureSiteRecoveryStorage--> <!-- v 1.3.0.36 --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Get-AzureSiteRecoveryStorage </command:name> <maml:description> <maml:para>Get information about Storages managed under current Azure Site Recovery Vault</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureSiteRecoveryStorage</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Get information about Azure Site Recovery Storages for current Azure Site Recovery Vault</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryStorage</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Server</maml:name> <maml:description> <maml:para>Server object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRServer</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Server</maml:name> <maml:description> <maml:para>Server object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRServer</command:parameterValue> <dev:type> <maml:name>ASRServer</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> $servers = Get-AzureSiteRecoveryServer PS C:\> Get-AzureSiteRecoveryStorage -Server $servers[0] Name : phase2PrimaryStorageClassification ID : 1c1d0c0b-0c50-4675-af1a-1fdac70dbb6d FabricObjectID : 1c1d0c0b-0c50-4675-af1a-1fdac70dbb6d ServerId : 774859b0-1966-48cc-9df7-759c441b7a8c Type : Classification FabricType : VMM Name : phase2RecoveryStorageClassification ID : 20cf8d92-fd5d-4872-985a-0f4562b8a0bf FabricObjectID : 20cf8d92-fd5d-4872-985a-0f4562b8a0bf ServerId : 774859b0-1966-48cc-9df7-759c441b7a8c Type : Classification FabricType : VMM </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Get-AzureSiteRecoveryStorageMapping--> <!-- v 1.3.0.36 --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Get-AzureSiteRecoveryStorageMapping </command:name> <maml:description> <maml:para>Get information about Azure Site Recovery Storage mappings for current Azure Site Recovery Vault</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureSiteRecoveryStorageMapping</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Get information about Azure Site Recovery Storage mappings for current Azure Site Recovery Vault</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryStorageMapping</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PrimaryServer</maml:name> <maml:description> <maml:para>Primary Server object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRServer</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RecoveryServer</maml:name> <maml:description> <maml:para>Recovery Server object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRServer</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PrimaryServer</maml:name> <maml:description> <maml:para>Primary Server object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRServer</command:parameterValue> <dev:type> <maml:name>ASRServer</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RecoveryServer</maml:name> <maml:description> <maml:para>Recovery Server object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRServer</command:parameterValue> <dev:type> <maml:name>ASRServer</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> $servers = Get-AzureSiteRecoveryServer PS C:\> Get-AzureSiteRecoveryStorageMapping -PrimaryServer $servers[0] -RecoveryServer $servers[0] PrimaryServerId : 774859b0-1966-48cc-9df7-759c441b7a8c PrimaryStorageId : 1c1d0c0b-0c50-4675-af1a-1fdac70dbb6d PrimaryStorageName : phase2PrimaryStorageClassification RecoveryServerId : 774859b0-1966-48cc-9df7-759c441b7a8c RecoveryStorageId : 20cf8d92-fd5d-4872-985a-0f4562b8a0bf RecoveryStorageName : phase2RecoveryStorageClassification </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--New-AzureSiteRecoveryStorageMapping--> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> New-AzureSiteRecoveryStorageMapping </command:name> <maml:description> <maml:para>Creates a mapping between two Storages</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>New</command:verb> <command:noun>AzureSiteRecoveryStorageMapping</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Creates a mapping between two Storages</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>New-AzureSiteRecoveryStorageMapping</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PrimaryStorage</maml:name> <maml:description> <maml:para>Primary Storage object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRStorage</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RecoveryStorage</maml:name> <maml:description> <maml:para>Recovery Storage object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRStorage</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PrimaryStorage</maml:name> <maml:description> <maml:para>Primary Storage object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRStorage</command:parameterValue> <dev:type> <maml:name>ASRStorage</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RecoveryStorage</maml:name> <maml:description> <maml:para>Recovery Storage object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRStorage</command:parameterValue> <dev:type> <maml:name>ASRStorage</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>PS C:\></maml:para> </maml:introduction> <dev:code> storages = Get-AzureSiteRecoveryStorage -Server $servers[0] PS C:\> New-AzureSiteRecoveryStorageMapping -PrimaryStorage $storages[0] -RecoveryStorage $storages[1] Name : ID : fea46d20-6170-480f-b14b-81811d4c2a9c ClientRequestId : 85033535-9525-4567-9132-a3518fff1d49-2015-01-30 05:28:18Z-P State : NotStarted StateDescription : NotStarted StartTime : EndTime : AllowedActions : Tasks : {} Errors : {} PS C:\> Get-AzureSiteRecoveryJob -Id fea46d20-6170-480f-b14b-81811d4c2a9c Name : ClassificationPairing ID : fea46d20-6170-480f-b14b-81811d4c2a9c ClientRequestId : 85033535-9525-4567-9132-a3518fff1d49-2015-01-30 05:28:18Z-P State : Succeeded StateDescription : Completed StartTime : 1/30/2015 5:28:23 AM EndTime : 1/30/2015 5:28:22 AM AllowedActions : Tasks : {Prerequisites check for mapping classifications, Mapping classifications} Errors : {} </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Remove-AzureSiteRecoveryStorageMapping--> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Remove-AzureSiteRecoveryStorageMapping </command:name> <maml:description> <maml:para>Removes a Storage mapping form current Azure Site Recovery Vault</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Remove</command:verb> <command:noun>AzureSiteRecoveryStorageMapping</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Removes a Storage mapping form current Azure Site Recovery Vault</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Remove-AzureSiteRecoveryStorageMapping</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>StorageMapping</maml:name> <maml:description> <maml:para>Storage Mapping object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRStorageMapping</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>StorageMapping</maml:name> <maml:description> <maml:para>Storage Mapping object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRStorageMapping</command:parameterValue> <dev:type> <maml:name>ASRStorageMapping</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>PS C:\></maml:para> </maml:introduction> <dev:code> $storageMapping = Get-AzureSiteRecoveryStorageMapping -PrimaryServer $servers[0] -RecoveryServer $servers[0] PS C:\> Remove-AzureSiteRecoveryStorageMapping -StorageMapping $storageMapping Name : ClassificationUnpairing ID : 32582350-28c4-4a53-8ebd-28dec9e24aca ClientRequestId : 49c607cf-82fa-4317-8366-dacbe2bf479b-2015-01-30 05:30:16Z-P State : InProgress StateDescription : InProgress StartTime : 1/30/2015 5:30:20 AM EndTime : AllowedActions : Tasks : {Prerequisites check for unmapping classifications, Unmapping classifications} Errors : {} </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Get-AzureSiteRecoveryNetwork--> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Get-AzureSiteRecoveryNetwork </command:name> <maml:description> <maml:para>Get information about Networks managed by Azure Site Recovery for the current Azure Site Recovery Vault.</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureSiteRecoveryNetwork</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Get information about Azure Site Recovery Networks for the current Azure Site Recovery Vault.</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryNetwork</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Server</maml:name> <maml:description> <maml:para>Azure Site Recovery Server object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRServer</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Server</maml:name> <maml:description> <maml:para>Azure Site Recovery Server object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRServer</command:parameterValue> <dev:type> <maml:name>ASRServer</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> $servers = Get-AzureSiteRecoveryServer Get-AzureSiteRecoveryNetwork -Server $servers[0] Name : phase2RecoveryVMNetwork ID : 7cfd636e-5cc2-4e01-873b-8a7aa4962341 FabricObjectID : 7cfd636e-5cc2-4e01-873b-8a7aa4962341 ServerId : 774859b0-1966-48cc-9df7-759c441b7a8c Type : NoIsolation FabricType : VMM VmNetworkSubnetList : {} Name : phase2PrimaryVMNetwork ID : d903e2c6-3141-4cef-bfe1-04616cd43cbb FabricObjectID : d903e2c6-3141-4cef-bfe1-04616cd43cbb ServerId : 774859b0-1966-48cc-9df7-759c441b7a8c Type : NoIsolation FabricType : VMM VmNetworkSubnetList : {} </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Get-AzureSiteRecoveryNetworkMapping--> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Get-AzureSiteRecoveryNetworkMapping </command:name> <maml:description> <maml:para>Get information about Azure Site Recovery Network mappings for current Azure Site Recovery Vault</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureSiteRecoveryNetworkMapping</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Get information about Azure Site Recovery Network mappings for current Azure Site Recovery Vault</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryNetworkMapping</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PrimaryServer</maml:name> <maml:description> <maml:para>Primary Server object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRServer</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RecoveryServer</maml:name> <maml:description> <maml:para>Recovery Server object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRServer</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryNetworkMapping</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PrimaryServer</maml:name> <maml:description> <maml:para>Primary Server object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRServer</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Azure</maml:name> <maml:description> <maml:para>Azure switch parameter</maml:para> </maml:description> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PrimaryServer</maml:name> <maml:description> <maml:para>Primary Server object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRServer</command:parameterValue> <dev:type> <maml:name>ASRServer</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RecoveryServer</maml:name> <maml:description> <maml:para>Recovery Server object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRServer</command:parameterValue> <dev:type> <maml:name>ASRServer</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Azure</maml:name> <maml:description> <maml:para>Azure switch parameter</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>PS C:\></maml:para> </maml:introduction> <dev:code> $servers = Get-AzureSiteRecoveryServer PS C:\> Get-AzureSiteRecoveryNetworkMapping -PrimaryServer $servers[0] -RecoveryServer $servers[0] PrimaryServerId : 774859b0-1966-48cc-9df7-759c441b7a8c PrimaryNetworkId : 7cfd636e-5cc2-4e01-873b-8a7aa4962341 PrimaryNetworkName : phase2RecoveryVMNetwork RecoveryServerId : 774859b0-1966-48cc-9df7-759c441b7a8c RecoveryNetworkId : d903e2c6-3141-4cef-bfe1-04616cd43cbb RecoveryNetworkName : phase2PrimaryVMNetwork PairingStatus : OK </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title> -------------------------- EXAMPLE 2 -------------------------- </maml:title> <maml:introduction> <maml:para>PS C:\></maml:para> </maml:introduction> <dev:code> $servers = Get-AzureSiteRecoveryServer PS C:\> Get-AzureSiteRecoveryNetworkMapping -PrimaryServer $servers[0] -Azure PrimaryServerId : 774859b0-1966-48cc-9df7-759c441b7a8c PrimaryNetworkId : 7cfd636e-5cc2-4e01-873b-8a7aa4962341 PrimaryNetworkName : phase2RecoveryVMNetwork RecoveryServerId : 21a9403c-6ec1-44f2-b744-b4e50b792387 RecoveryNetworkId : ecb3a462-664f-4f57-873e-d09b5925e1a1 RecoveryNetworkName : AzureVMNetwork PairingStatus : OK </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--New-AzureSiteRecoveryNetworkMapping--> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> New-AzureSiteRecoveryNetworkMapping </command:name> <maml:description> <maml:para>Creates a mapping between two Networks</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>New</command:verb> <command:noun>AzureSiteRecoveryNetworkMapping</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Creates a mapping between two Networks</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>New-AzureSiteRecoveryNetworkMapping</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PrimaryNetwork</maml:name> <maml:description> <maml:para>Primary Network object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRNetwork</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RecoveryNetwork</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRNetwork</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>New-AzureSiteRecoveryNetworkMapping</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PrimaryNetwork</maml:name> <maml:description> <maml:para>Primary Network object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRNetwork</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AzureSubscriptionId</maml:name> <maml:description> <maml:para>Azure Subscription Id</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AzureVMNetworkId</maml:name> <maml:description> <maml:para>Azure VM Network Id</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PrimaryNetwork</maml:name> <maml:description> <maml:para>Primary Network object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRNetwork</command:parameterValue> <dev:type> <maml:name>ASRNetwork</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RecoveryNetwork</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRNetwork</command:parameterValue> <dev:type> <maml:name>ASRNetwork</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AzureSubscriptionId</maml:name> <maml:description> <maml:para>Azure Subscription Id</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AzureVMNetworkId</maml:name> <maml:description> <maml:para>Azure VM Network Id</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>PS C:\></maml:para> </maml:introduction> <dev:code> $networks = Get-AzureSiteRecoveryNetwork -Server $servers[0] PS C:\> New-AzureSiteRecoveryNetworkMapping -PrimaryNetwork $networks[0] -RecoveryNetwork $networks[1] Name : ID : 417dc3e8-3f9d-47dd-9c41-b3b3d566c3ac ClientRequestId : 64ed0fcf-263d-404f-8657-4bf971e58730-2015-01-30 05:33:07Z-P State : NotStarted StateDescription : NotStarted StartTime : EndTime : AllowedActions : Tasks : {} Errors : {} PS C:\> Get-AzureSiteRecoveryJob -Id 417dc3e8-3f9d-47dd-9c41-b3b3d566c3ac Name : NetworkPairing ID : 417dc3e8-3f9d-47dd-9c41-b3b3d566c3ac ClientRequestId : 64ed0fcf-263d-404f-8657-4bf971e58730-2015-01-30 05:33:07Z-P State : Succeeded StateDescription : Completed StartTime : 1/30/2015 5:33:11 AM EndTime : 1/30/2015 5:33:12 AM AllowedActions : Tasks : {Map network, Attach network (0)} Errors : {} </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title> -------------------------- EXAMPLE 2 -------------------------- </maml:title> <maml:introduction> <maml:para>PS C:\></maml:para> </maml:introduction> <dev:code> $networks = Get-AzureSiteRecoveryNetwork -Server $servers[0] PS C:\> $subscriptions = Get-AzureSubscription PS C:\> $azureVmNetworks = Get-AzureVNetSite PS C:\> New-AzureSiteRecoveryNetworkMapping -PrimaryNetwork $networks[0] -AzureSubscriptionId $subscriptions[0].SubscriptionId -AzureVMNetworkId $azureVmNetworks[0].Id Name : ID : f4fef3b3-e151-47ac-90a0-b5b8712fd14e ClientRequestId : 56948c99-4e0c-4a86-8dcb-751b150e79fd-2015-01-30 05:38:29Z-P State : NotStarted StateDescription : NotStarted StartTime : EndTime : AllowedActions : Tasks : {} Errors : {} PS C:\> Get-AzureSiteRecoveryJob -Id f4fef3b3-e151-47ac-90a0-b5b8712fd14e Name : NetworkPairing ID : f4fef3b3-e151-47ac-90a0-b5b8712fd14e ClientRequestId : 56948c99-4e0c-4a86-8dcb-751b150e79fd-2015-01-30 05:38:29Z-P State : Succeeded StateDescription : Completed StartTime : 1/30/2015 5:38:34 AM EndTime : 1/30/2015 5:38:36 AM AllowedActions : Tasks : {Map network, Attach network (0)} Errors : {} </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Remove-AzureSiteRecoveryNetworkMapping--> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Remove-AzureSiteRecoveryNetworkMapping </command:name> <maml:description> <maml:para>Removes a Network mapping for current Azure Site Recovery Vault</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Remove</command:verb> <command:noun>AzureSiteRecoveryNetworkMapping</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Removes a Network mapping for current Azure Site Recovery Vault</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Remove-AzureSiteRecoveryNetworkMapping</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>NetworkMapping</maml:name> <maml:description> <maml:para>Network Mapping object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRNetworkMapping</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>NetworkMapping</maml:name> <maml:description> <maml:para>Network Mapping object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRNetworkMapping</command:parameterValue> <dev:type> <maml:name>ASRNetworkMapping</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>PS C:\></maml:para> </maml:introduction> <dev:code> $networkMapping = Get-AzureSiteRecoveryNetworkMapping -PrimaryServer $servers[0] -RecoveryServer $servers[0] PS C:\> Remove-AzureSiteRecoveryNetworkMapping -NetworkMapping $networkMapping Name : ID : d797b3da-a976-4b1c-ab15-b42938a72738 ClientRequestId : 086b3ca2-338d-4491-8668-c0a43238fa5d-2015-01-30 05:34:27Z-P State : NotStarted StateDescription : NotStarted StartTime : EndTime : AllowedActions : Tasks : {} Errors : {} PS C:\> Get-AzureSiteRecoveryJob -Id d797b3da-a976-4b1c-ab15-b42938a72738 Name : NetworkUnPairing ID : d797b3da-a976-4b1c-ab15-b42938a72738 ClientRequestId : 086b3ca2-338d-4491-8668-c0a43238fa5d-2015-01-30 05:34:27Z-P State : Succeeded StateDescription : Completed StartTime : 1/30/2015 5:34:31 AM EndTime : 1/30/2015 5:34:33 AM AllowedActions : Tasks : {Unmap network, Detach network (0)} Errors : {} </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title> -------------------------- EXAMPLE 2 -------------------------- </maml:title> <maml:introduction> <maml:para>PS C:\></maml:para> </maml:introduction> <dev:code> $networkMapping = Get-AzureSiteRecoveryNetworkMapping -PrimaryServer $servers[0] -Azure PS C:\> Remove-AzureSiteRecoveryNetworkMapping -NetworkMapping $networkMapping Name : ID : 5ed061e7-5f03-4f7f-bdec-fc50d96c1df3 ClientRequestId : fc86ee05-c24e-4169-a8fe-7b549dc8c284-2015-01-30 05:40:53Z-P State : NotStarted StateDescription : NotStarted StartTime : EndTime : AllowedActions : Tasks : {} Errors : {} PS C:\> Get-AzureSiteRecoveryJob -Id 5ed061e7-5f03-4f7f-bdec-fc50d96c1df3 Name : NetworkUnPairing ID : 5ed061e7-5f03-4f7f-bdec-fc50d96c1df3 ClientRequestId : fc86ee05-c24e-4169-a8fe-7b549dc8c284-2015-01-30 05:40:53Z-P State : Succeeded StateDescription : Completed StartTime : 1/30/2015 5:40:58 AM EndTime : 1/30/2015 5:40:58 AM AllowedActions : Tasks : {Unmap network, Detach network (0)} Errors : {} </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--New-AzureSiteRecoveryVault--> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> New-AzureSiteRecoveryVault </command:name> <maml:description> <maml:para>Creates a new Azure Site Recovery Vault</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>New</command:verb> <command:noun>AzureSiteRecoveryVault</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Used to initiate a vault create operation</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>New-AzureSiteRecoveryVault</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Location</maml:name> <maml:description> <maml:para>Geo Location Name</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Name</maml:name> <maml:description> <maml:para>Vault Name for which the cred file to be generated</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Location</maml:name> <maml:description> <maml:para>Geo Location Name</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Name</maml:name> <maml:description> <maml:para>Vault Name for which the cred file to be generated</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> New-AzureSiteRecoveryVault -Name testVault -Location "West US" Response -------- Vault has been created </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Get-AzureSiteRecoveryVault--> <!-- v 1.3.0.36 --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Get-AzureSiteRecoveryVault </command:name> <maml:description> <maml:para>Retrieves the information of the active Azure Site Recovery Vault</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureSiteRecoveryVault</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Retrieves the information of the active Azure Site Recovery Vault</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryVault</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Name</maml:name> <maml:description> <maml:para>The name of the vault to be queried for.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Name</maml:name> <maml:description> <maml:para>The name of the vault to be queried for.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> Get-AzureSiteRecoveryVault Name : testVault ID : 6467459117934545458 CloudServiceName : CS-West-US-RecoveryServices SubscriptionId : a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba StatusReason : Status : Active Location : West US </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Get-AzureSiteRecoveryVaultSettingsFile--> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Get-AzureSiteRecoveryVaultSettingsFile </command:name> <maml:description> <maml:para>Allows user to download the Azure Site Recovery Vault Settings File</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureSiteRecoveryVaultSettingsFile</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Allows user to download the Azure Site Recovery Vault Settings File</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryVaultSettingsFile</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Vault</maml:name> <maml:description> <maml:para>Vault object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRVault</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Site</maml:name> <maml:description> <maml:para>Site object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRSite</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureSiteRecoveryVaultSettingsFile</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Location</maml:name> <maml:description> <maml:para>Geo Location Name to which the vault belongs</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Name</maml:name> <maml:description> <maml:para>Vault Name for which the cred file to be generated</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SiteId</maml:name> <maml:description> <maml:para>The site Id if the vault credentials to be downloaded for a Hyper-V sites</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SiteName</maml:name> <maml:description> <maml:para>The site name if the vault credentials to be downloaded for a Hyper-V sites</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Location</maml:name> <maml:description> <maml:para>Geo Location Name to which the vault belongs</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Name</maml:name> <maml:description> <maml:para>Vault Name for which the cred file to be generated</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Site</maml:name> <maml:description> <maml:para>Site object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRSite</command:parameterValue> <dev:type> <maml:name>ASRSite</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SiteId</maml:name> <maml:description> <maml:para>The site Id if the vault credentials to be downloaded for a Hyper-V sites</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SiteName</maml:name> <maml:description> <maml:para>The site name if the vault credentials to be downloaded for a Hyper-V sites</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Vault</maml:name> <maml:description> <maml:para>Vault object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRVault</command:parameterValue> <dev:type> <maml:name>ASRVault</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> Get-AzureSiteRecoveryVaultSettingsFile -Vault $vaults[0] FilePath -------- C:\Users\testUser\AppData\Local\Temp\testVault_2015-02-02T05-39-23.VaultCredentials </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--New-AzureSiteRecoverySite--> <!-- v 1.3.0.36 --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> New-AzureSiteRecoveryVault </command:name> <maml:description> <maml:para>Creates a new Azure Site Recovery Vault</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>New</command:verb> <command:noun>AzureSiteRecoveryVault</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Creates a new Azure Site Recovery Vault</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>New-AzureSiteRecoveryVault</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Location</maml:name> <maml:description> <maml:para>Geo Location Name</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Name</maml:name> <maml:description> <maml:para>Vault Name for which the cred file to be generated</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Location</maml:name> <maml:description> <maml:para>Geo Location Name</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Name</maml:name> <maml:description> <maml:para>Vault Name for which the cred file to be generated</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> New-AzureSiteRecoveryVault -Name testVault -Location "West US" Response -------- Vault has been created </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Get-AzureSiteRecoverySite--> <!-- v 1.3.0.36 --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Get-AzureSiteRecoverySite </command:name> <maml:description> <maml:para>Retrieves the list of sites from the Azure Site Recovery vault.</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureSiteRecoverySite</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Retrieves the list of sites created in Azure Site Recovery vault.</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureSiteRecoverySite</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Vault</maml:name> <maml:description> <maml:para>Vault Object for which the site list is to be fetched</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRVault</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Vault</maml:name> <maml:description> <maml:para>Vault Object for which the site list is to be fetched</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRVault</command:parameterValue> <dev:type> <maml:name>ASRVault</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> Get-AzureSiteRecoverySite Type Name ID ---- ---- -- HyperVSite testSite f16829b4-5b01-4209-a6cf-8e0aff1fe328 </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Set-AzureSiteRecoveryVM--> <!-- v 1.3.0.36 --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Set-AzureSiteRecoveryVM </command:name> <maml:description> <maml:para>Allows the update on a protected Virtual Machine for onprem-Azure scenarios</maml:para> </maml:description> <maml:copyright> <maml:para> </maml:para> </maml:copyright> <command:verb>Set</command:verb> <command:noun>AzureSiteRecoveryVM</command:noun> <dev:version> </dev:version> </command:details> <maml:description> <maml:para>Allows the update on a protected Virtual Machine for onprem-Azure scenarios. Please provide required parameters to update.</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Set-AzureSiteRecoveryVM</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>VirtualMachine</maml:name> <maml:description> <maml:para>Virtual Machine object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRVirtualMachine</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Name</maml:name> <maml:description> <maml:para>Name of the target Virtual Machine</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PrimaryNic</maml:name> <maml:description> <maml:para>Primary NIC</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RecoveryNetworkId</maml:name> <maml:description> <maml:para>Recovery Network ID</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Size</maml:name> <maml:description> <maml:para>Target size, should be limited to set of values of Azure VM sizes</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Name</maml:name> <maml:description> <maml:para>Name of the target Virtual Machine</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>PrimaryNic</maml:name> <maml:description> <maml:para>Primary NIC</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RecoveryNetworkId</maml:name> <maml:description> <maml:para>Recovery Network ID</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Size</maml:name> <maml:description> <maml:para>Target size, should be limited to set of values of Azure VM sizes</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>VirtualMachine</maml:name> <maml:description> <maml:para>Virtual Machine object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">ASRVirtualMachine</command:parameterValue> <dev:type> <maml:name>ASRVirtualMachine</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para> </maml:para> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, site, recovery</maml:para> </maml:alert> <maml:alert> <maml:para> </maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> Set-AzureSiteRecoveryVM -VirtualMachine $VMs[0] -Name newVM5 Name : ID : 8170d274-1e48-404a-b080-172ada140bc3 ClientRequestId : 09354052-8430-4fa8-9a35-63196dd4b2b4-2015-02-03 04:19:06Z-P State : NotStarted StateDescription : NotStarted StartTime : EndTime : AllowedActions : Tasks : {} Errors : {} PS C:\Users\administrator> Get-AzureSiteRecoveryJob -Id 8170d274-1e48-404a-b080-172ada140bc3 Name : UpdateVmProperties ID : 8170d274-1e48-404a-b080-172ada140bc3 ClientRequestId : 09354052-8430-4fa8-9a35-63196dd4b2b4-2015-02-03 04:19:06Z-P State : Succeeded StateDescription : Completed StartTime : 2/3/2015 4:19:08 AM EndTime : 2/3/2015 4:19:08 AM AllowedActions : Tasks : {Update the virtual machine properties} Errors : {} </dev:code> <dev:remarks> <maml:para>Description</maml:para> <maml:para>-----------</maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText> </maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Test-AzureRecoveryServicesVaultUpgrade--> <!-- v 1.3.0.36 --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Test-AzureRecoveryServicesVaultUpgrade </command:name> <maml:description> <maml:para>Checks for Vault Upgrade prerequisites.</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Test</command:verb> <command:noun>AzureRecoveryServicesVaultUpgrade</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>The Test-AzureRecoveryServicesVaultUpgrade cmdlet checks for vault upgrade prerequisites. This includes check for active jobs, agent versions, deployment scenarios, supported configurations. For backup vaults, this check also verifies the billing model.</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Test-AzureRecoveryServicesVaultUpgrade</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ResourceType</maml:name> <maml:description> <maml:para>The type of vault, expected value is 'HyperVRecoveryManagerVault' for Site Recovery vaults and 'BackupVault' for backup vaults.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>VaultName</maml:name> <maml:description> <maml:para>Name of the vault that is to be upgraded.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Location</maml:name> <maml:description> <maml:para>The location of the vault. For eg: 'West US', 'East US' etc.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>TargetResourceGroupName</maml:name> <maml:description> <maml:para>The Resource Group into which the upgraded vault will be placed.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ResourceType</maml:name> <maml:description> <maml:para>The type of vault, expected value is 'HyperVRecoveryManagerVault' for Site Recovery vaults and 'BackupVault' for backup vaults.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>VaultName</maml:name> <maml:description> <maml:para>Name of the vault that is to be upgraded.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Location</maml:name> <maml:description> <maml:para>The location of the vault. For eg: 'West US', 'East US' etc.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>TargetResourceGroupName</maml:name> <maml:description> <maml:para>The Resource Group into which the upgraded vault will be placed.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name></maml:name> <maml:uri/> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name></maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title></maml:title> <maml:alert> <maml:para> </maml:para> </maml:alert> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> PS C:\> Test-AzureRecoveryServicesVaultUpgrade -ResourceType HyperVRecoveryManagerVault -VaultName ContosoVault -Location 'West US' -TargetResourceGroupName ContosoRG Response -------- Successfully completed prerequisites check for vault upgrade. </dev:code> <dev:remarks> <maml:para>This command checks if Site Recovery vault with name 'ContosoVault' in region 'West US' with target resource group name 'ContosoRG' is ready to be upgraded to 'Recovery Services vault'.</maml:para> <maml:para>The output represents status with errors if any along with RequestId with which user can contact support. </maml:para> <maml:para></maml:para> <maml:para></maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText></command:commandText> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title> -------------------------- EXAMPLE 2 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> PS C:\> Test-AzureRecoveryServicesVaultUpgrade -ResourceType BackupVault -VaultName ContosoVault -Location 'West US' -TargetResourceGroupName ContosoRG Response -------- Successfully completed prerequisites check for vault upgrade. </dev:code> <dev:remarks> <maml:para>This command checks if Backup vault with name 'ContosoVault' in region 'West US' with target resource group name 'ContosoRG' is ready to be upgraded to 'Recovery Services vault'.</maml:para> <maml:para>The output represents status with errors if any along with RequestId with which user can contact support. </maml:para> <maml:para></maml:para> <maml:para></maml:para> <maml:para></maml:para> <maml:para></maml:para> <maml:para></maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText></command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText></maml:linkText> <maml:uri/> </maml:navigationLink> </maml:relatedLinks> </command:command> <!--Invoke-AzureRecoveryServicesVaultUpgrade--> <!-- v 1.3.0.36 --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name> Invoke-AzureRecoveryServicesVaultUpgrade </command:name> <maml:description> <maml:para>Upgrades the specified vault (Site Recovery vault or Backup vault) to 'Recovery Services vault'.</maml:para> </maml:description> <maml:copyright> <maml:para></maml:para> </maml:copyright> <command:verb>Invoke</command:verb> <command:noun>AzureRecoveryServicesVaultUpgrade</command:noun> <dev:version></dev:version> </command:details> <maml:description> <maml:para>The Invoke-AzureRecoveryServicesVaultUpgrade cmdlet starts the upgrade of the specified vault (Site Recovery vault or Backup vault) to 'Recovery Services vault'.</maml:para> </maml:description> <!-- Cmdlet syntax section--> <command:syntax> <command:syntaxItem> <maml:name>Invoke-AzureRecoveryServicesVaultUpgrade</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ResourceType</maml:name> <maml:description> <maml:para>The type of vault, expected values are 'HyperVRecoveryManagerVault' for Site Recovery vaults and 'BackupVault' for backup vaults.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>VaultName</maml:name> <maml:description> <maml:para>Name of the vault that is to be upgraded</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Location</maml:name> <maml:description> <maml:para>The location of the vault. For eg: 'West US', 'East US' etc.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>TargetResourceGroupName</maml:name> <maml:description> <maml:para>The Resource Group into which the upgraded vault will be placed.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> <maml:para>Specify this to bypass the confirm action and take the default (Y).</maml:para> </maml:description> </command:parameter> </command:syntaxItem> </command:syntax> <!-- Cmdlet parameter section --> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ResourceType</maml:name> <maml:description> <maml:para>The type of vault, expected values are 'HyperVRecoveryManagerVault' for Site Recovery vaults and 'BackupVault' for backup vaults.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>VaultName</maml:name> <maml:description> <maml:para>Name of the vault that is to be upgraded</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Location</maml:name> <maml:description> <maml:para>The location of the vault. For eg: 'West US', 'East US' etc.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>TargetResourceGroupName</maml:name> <maml:description> <maml:para>The Resource Group into which the upgraded vault will be placed.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">string</command:parameterValue> <dev:type> <maml:name>string</maml:name> <maml:uri/> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Force</maml:name> <maml:description> <maml:para>Specify this to bypass the confirm action and take the default (Y).</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <!-- Input - Output section--> <command:inputTypes> <command:inputType> <dev:type> <maml:name></maml:name> <maml:uri/> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name></maml:name> <maml:uri /> <maml:description /> </dev:type> <maml:description> <maml:para> <!-- description --> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <!-- Error section--> <command:terminatingErrors /> <command:nonTerminatingErrors /> <!-- Notes section --> <maml:alertSet> <maml:title></maml:title> <maml:alert> <maml:para> </maml:para> </maml:alert> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <!-- Example section --> <command:examples> <command:example> <maml:title> -------------------------- EXAMPLE 1 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> PS C:\> Invoke-AzureRecoveryServicesVaultUpgrade -ResourceType HyperVRecoveryManagerVault -VaultName ContosoVault -Location 'West US' -TargetResourceGroupName ContosoRG OperationId : cc627bbc-f9c6-47f7-a2ac-3c499e1aae83-2017-03-31 09:33:01Z-P StartTimeUtc : 3/31/2017 3:03:05 PM OperationResult : Succeeded OperationStatus : Completed UpgradeStatus : HyperVRecoveryManagerVault 'ContosoVault' has been successfully upgraded to Recovery Services vault and is now accessible through the new Azure portal at http://portal.azure.com. </dev:code> <dev:remarks> <maml:para>This command starts vault upgrade of a Site Recovery vault with name 'ContosoVault' in region 'West US' with target resource group name 'ContosoRG'.</maml:para> <maml:para></maml:para> <maml:para></maml:para> <maml:para></maml:para> <maml:para></maml:para> <maml:para></maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText></command:commandText> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title> -------------------------- EXAMPLE 2 -------------------------- </maml:title> <maml:introduction> <maml:para>C:\PS></maml:para> </maml:introduction> <dev:code> PS C:\> Invoke-AzureRecoveryServicesVaultUpgrade -ResourceType BackupVault -VaultName ContosoVault -Location 'West US' -TargetResourceGroupName ContosoRG OperationId : bb627bbc-f9c6-47f7-a2ac-3c499e1aae83-2017-03-31 09:37:01Z-P StartTimeUtc : 3/31/2017 3:10:05 PM OperationResult : Succeeded OperationStatus : Completed UpgradeStatus : BackupVault 'ContosoVault' has been successfully upgraded to Recovery Services vault and is now accessible through the new Azure portal at http://portal.azure.com. </dev:code> <dev:remarks> <maml:para>This command starts vault upgrade of a Backup vault with name 'ContosoVault' in region 'West US' with target resource group name 'ContosoRG'.</maml:para> <maml:para></maml:para> <maml:para></maml:para> <maml:para></maml:para> <maml:para></maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText></command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <!-- Link section --> <maml:relatedLinks> <maml:navigationLink> <maml:linkText></maml:linkText> <maml:uri/> </maml:navigationLink> </maml:relatedLinks> </command:command> </helpItems> |