Microsoft.Azure.Commands.AzureBackup.dll-help.xml
<?xml version="1.0" encoding="utf-8"?>
<helpItems schema="maml"> <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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> <command:name>Backup-AzureRmBackupItem</command:name> <maml:description> <maml:para>Trigger backup for a protected item</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Backup</command:verb> <command:noun>AzureRMBackupItem</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>Using this commandlet is the equivalent of "Backup Now". It triggers an ad-hoc backup that is not tied to the backup schedule. This is useful in two scenarios: 1. Starting initial backup immediately after enabling protection 2. Triggering ad-hoc backup when a previous scheduled backup has failed</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Backup-AzureRmBackupItem</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Item</maml:name> <maml:description> <maml:para>The Azure Backup item for which ad-hoc backup is being triggered</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupItem</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Item</maml:name> <maml:description> <maml:para>The Azure Backup item for which ad-hoc backup is being triggered</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupItem</command:parameterValue> <dev:type> <maml:name>AzureRMBackupItem</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>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>AzureRMBackupItem</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that you can pipe to the cmdlet. </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>AzureRMBackupJob</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that the cmdlet emits. </maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors> </command:terminatingErrors> <command:nonTerminatingErrors> </command:nonTerminatingErrors> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para>When an existing backup job is running this commandlet will fail.</maml:para> <maml:para>Keywords: azure, azurerm, arm, resource, management, manager, backup</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- Trigger backup for a virtual machine --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>Get-AzureRmBackupItem -Container $c | Backup-AzureRmBackupItem</dev:code> <dev:remarks> <maml:para /> <maml:para /> <maml:para /> <maml:para>WorkloadName Operation Status StartTime EndTime ------------ --------- ------ --------- ------- test-vm Backup InProgress 26-Aug-15 12:24:01 PM 01-Jan-01 12:00:00 AM</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>-------------------------- Failure to trigger backup when an existing backup is running --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>Get-AzureRmBackupItem -Container $c | Backup-AzureRmBackupItem</dev:code> <dev:remarks> <maml:para /> <maml:para /> <maml:para /> <maml:para>WorkloadName Operation Status StartTime EndTime ------------ --------- ------ --------- ------- test-vm Backup Failed 26-Aug-15 12:30:30 PM 26-Aug-15 12:30:30 PM</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> </maml:relatedLinks> </command:command> <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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> <command:name>Disable-AzureRmBackupProtection</command:name> <maml:description> <maml:para>Disable protection for a protected item</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Disable</command:verb> <command:noun>AzureRMBackupProtection</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>To stop regular scheduled backup of a backup item and to delete existing recovery points associated with the backup item.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Disable-AzureRmBackupProtection</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1"> <maml:name>RemoveRecoveryPoints</maml:name> <maml:description> <maml:para>An optional switch parameter that deletes the recovery points data associated with a backup item. It is possible to disable backup and keep the recovery points data by NOT supplying this parameter. At a later point the same commandlet can be used to delete the data</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Item</maml:name> <maml:description> <maml:para>The Azure Backup item for which protection is being disabled.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupItem</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1"> <maml:name>RemoveRecoveryPoints</maml:name> <maml:description> <maml:para>An optional switch parameter that deletes the recovery points data associated with a backup item. It is possible to disable backup and keep the recovery points data by NOT supplying this parameter. At a later point the same commandlet can be used to delete the data</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="0"> <maml:name>Item</maml:name> <maml:description> <maml:para>The Azure Backup item for which protection is being disabled.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupItem</command:parameterValue> <dev:type> <maml:name>AzureRMBackupItem</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>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Reason</maml:name> <maml:description> <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="3"> <maml:name>Comments</maml:name> <maml:description> <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> <command:inputTypes> <command:inputType> <dev:type> <maml:name>AzureRMBackupItem</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that you can pipe to the cmdlet.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>AzureRMBackupJob</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that the cmdlet emits.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors> </command:terminatingErrors> <command:nonTerminatingErrors> </command:nonTerminatingErrors> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para>None</maml:para> <maml:para>Keywords: azure, azurerm, arm, resource, management, manager, backup</maml:para> </maml:alert> </maml:alertSet> <command:examples> </command:examples> <maml:relatedLinks> </maml:relatedLinks> </command:command> <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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> <command:name>Enable-AzureRmBackupContainerReregistration</command:name> <maml:description> <maml:para>Allow re-registration of the server to connect the server back to the vault and continue the backup points chain.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Enable</command:verb> <command:noun>AzureRMBackupContainerReregistration</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>When a server is destroyed, all its cloud backup points remain in the Azure Backup vault. If the server is rebuilt and given the same FQDN, it is possible to connect it back to the same vault. This will allow the server to continue taking backups and adding new backup points to the existing set - essentially continuing where it was left off in the backup chain.</maml:para> <maml:para>To make this connection, the AzureBackupContainer has to be primed for "re-registration". Without this step, you can lose all the existing data as a part of the registration process. The commandlet tells the service that the next time the container is registered, it should continue the backup chain.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Enable-AzureRmBackupContainerReregistration</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Container</maml:name> <maml:description> <maml:para>An object referencing the container for which re-registration is being requested</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupContainer</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Container</maml:name> <maml:description> <maml:para>An object referencing the container for which re-registration is being requested</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupContainer</command:parameterValue> <dev:type> <maml:name>AzureRMBackupContainer</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>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>AzureBackupContainer</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that you can pipe to the cmdlet.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para /> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors> </command:terminatingErrors> <command:nonTerminatingErrors> </command:nonTerminatingErrors> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para>None</maml:para> <maml:para>Keywords: azure, azurerm, arm, resource, management, manager, backup</maml:para> </maml:alert> </maml:alertSet> <command:examples> </command:examples> <maml:relatedLinks> </maml:relatedLinks> </command:command> <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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> <command:name>Enable-AzureRmBackupProtection</command:name> <maml:description> <maml:para>Associate an item with a protection policy</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Enable</command:verb> <command:noun>AzureRMBackupProtection</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>Enabling protection involves two key entities - the AzureRMBackupItem and the AzureRMBackupProtectionPolicy. Both need to belong to the same vault. The backup schedule will take care of doing the full initial copy for the item and the incremental copy for the subsequent backups.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Enable-AzureRmBackupProtection</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Policy</maml:name> <maml:description> <maml:para>The Azure Backup protection policy that will be associated with the item.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupProtectionPolicy</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Item</maml:name> <maml:description> <maml:para>The Azure Backup item object for which protection is being enabled.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupContainerContextObject</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Policy</maml:name> <maml:description> <maml:para>The Azure Backup protection policy that will be associated with the item.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupProtectionPolicy</command:parameterValue> <dev:type> <maml:name>AzureRMBackupProtectionPolicy</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Item</maml:name> <maml:description> <maml:para>The Azure Backup item object for which protection is being enabled.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupContainerContextObject</command:parameterValue> <dev:type> <maml:name>AzureRMBackupContainerContextObject</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>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>AzureRMBackupItem</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that you can pipe to the cmdlet.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>AzureRMBackupJob</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that the cmdlet emits.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors> </command:terminatingErrors> <command:nonTerminatingErrors> </command:nonTerminatingErrors> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para>None</maml:para> <maml:para>Keywords: azure, azurerm, arm, resource, management, manager, backup</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- Enable protection on an Azure VM --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>Get-AzureRmBackupContainer -Type AzureVM -Status Registered -Vault $v | Get-AzureRmBackupItem | Enable-AzureRmBackupProtection -Policy $policies[0]</dev:code> <dev:remarks> <maml:para /> <maml:para /> <maml:para /> <maml:para>WorkloadName Operation Status StartTime EndTime ------------ --------- ------ --------- ------- test-vm ConfigureBackup Completed 26-Aug-15 12:19:49 PM 26-Aug-15 12:19:54 PM</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureRmBackupItem</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureRmBackupProtectionPolicy</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Backup-AzureRmBackupItem</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> </maml:relatedLinks> </command:command> <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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> <command:name>Get-AzureRmBackupContainer</command:name> <maml:description> <maml:para>Retrieves one or more Azure Backup containers that match the filter criteria specified.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureRMBackupContainer</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>An AzureBackupContainer is an object that encapsulates datasources, protected items, and recovery points. An AzureBackupContainer can be one of three: - a Windows server - a System Center Data Protection Manager server (SCDPM) - an Azure IaaS virtual machine</maml:para> <maml:para>Before a datasource or item can be backed-up, the container holding it must be registered with the Azure Backup service and be authenticated to send backup data to the backup vault. For Windows and SCDPM servers, the registration is held with the FQDN of the server.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureRmBackupContainer</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Name</maml:name> <maml:description> <maml:para>Name of the container to be retrieved.</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>Type</maml:name> <maml:description> <maml:para>Type of the container. Currently supported types are Windows</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureBackupContainerType</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ManagedResourceGroupName</maml:name> <maml:description> <maml:para>The resource group name associated with the container. When registering the container this input would have been provided using the -ServiceName or the -ResourceGroupName parameter.</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>Status</maml:name> <maml:description> <maml:para>The current status of the container object. Supported values are: NotRegistered, Registered, Registering, </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureBackupContainerRegistrationStatus</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Vault</maml:name> <maml:description> <maml:para>The Azure Backup vault from to which the container is associated.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupVault</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <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 container to be retrieved.</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>Type</maml:name> <maml:description> <maml:para>Type of the container. Currently supported types are Windows</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureBackupContainerType</command:parameterValue> <dev:type> <maml:name>AzureBackupContainerType</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>ManagedResourceGroupName</maml:name> <maml:description> <maml:para>The resource group name associated with the container. When registering the container this input would have been provided using the -ServiceName or the -ResourceGroupName parameter.</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>Status</maml:name> <maml:description> <maml:para>The current status of the container object. Supported values are: NotRegistered, Registered, Registering, </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureBackupContainerRegistrationStatus</command:parameterValue> <dev:type> <maml:name>AzureBackupContainerRegistrationStatus</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Vault</maml:name> <maml:description> <maml:para>The Azure Backup vault from to which the container is associated.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupVault</command:parameterValue> <dev:type> <maml:name>AzureRMBackupVault</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>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>AzureBackupVault</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that you can pipe to the cmdlet.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>AzureBackupContainer</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that the cmdlet emits.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors> </command:terminatingErrors> <command:nonTerminatingErrors> </command:nonTerminatingErrors> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para>None</maml:para> <maml:para>Keywords: azure, azurerm, arm, resource, management, manager, backup</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- List of all Windows servers registered to the vault --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>Get-AzureRmBackupContainer -vault $v -type Windows</dev:code> <dev:remarks> <maml:para>Gets a list of all containers of type "Windows" from the specified vault.</maml:para> <maml:para /> <maml:para /> <maml:para>Name Type Status ---- ---- ------ SERVER1.CONTOSO.COM Windows Registered SERVER2.CONTOSO.COM Windows Registered</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>-------------------------- Retrieve a specific container --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>Get-AzureRmBackupContainer -vault $v -type SCDPM -name "DPMSERVER.CONTOSO.COM"</dev:code> <dev:remarks> <maml:para>Gets the container representing a specific DPM server registered to the specified vault.</maml:para> <maml:para /> <maml:para /> <maml:para>Name Type Status ---- ---- ------ DPMSERVER.CONTOSO.COM SCDPM Registered</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>-------------------------- List all registered Azure VMs --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>Get-AzureRmBackupContainer -Type AzureVM -Status Registered -Vault $v</dev:code> <dev:remarks> <maml:para /> <maml:para /> <maml:para /> <maml:para>Name Type Status ---- ---- ------ test-vm AzureVM Registered</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Register-AzureRmBackupContainer</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Unregister-AzureRmBackupContainer</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> </maml:relatedLinks> </command:command> <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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> <command:name>Get-AzureRmBackupItem</command:name> <maml:description> <maml:para>Gets the items under a container</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureRMBackupItem</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>A container registered to the Azure Backup vault can have one or more items that can be protected. These items are enabled for protection using the Enable-AzureRmBackupProtection commandlet. This commandlet gets all the items under the container and their protection status.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureRmBackupItem</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionStatus</maml:name> <maml:description> <maml:para>The overall protection status of the item in the container. Supported values are: Protected, Protecting.</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>Status</maml:name> <maml:description> <maml:para>The backup status for the item. Supported values are: IRPending, Protected, ProtectionError, ProtectionStopped. This is a sub-status that can be used as a filter for items that have -ProtectionStatus as Protected.</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>Type</maml:name> <maml:description> <maml:para>The type of item that is being requested. Supported values: AzureVM</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="0"> <maml:name>Container</maml:name> <maml:description> <maml:para>The parent container object for which we are querying the items. Use the Get-AzureRmBackupContainer commandlet to get the list of containers in the vault.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupContainer</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ProtectionStatus</maml:name> <maml:description> <maml:para>The overall protection status of the item in the container. Supported values are: Protected, Protecting.</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>Status</maml:name> <maml:description> <maml:para>The backup status for the item. Supported values are: IRPending, Protected, ProtectionError, ProtectionStopped. This is a sub-status that can be used as a filter for items that have -ProtectionStatus as Protected.</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>Type</maml:name> <maml:description> <maml:para>The type of item that is being requested. Supported values: AzureVM</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="0"> <maml:name>Container</maml:name> <maml:description> <maml:para>The parent container object for which we are querying the items. Use the Get-AzureRmBackupContainer commandlet to get the list of containers in the vault.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupContainer</command:parameterValue> <dev:type> <maml:name>AzureRMBackupContainer</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>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>AzureRMBackupContainer</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that you can pipe to the cmdlet.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>AzureRMBackupItem</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that the cmdlet emits.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors> </command:terminatingErrors> <command:nonTerminatingErrors> </command:nonTerminatingErrors> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para>For Azure VMs, there is only one item under the registered VM container.</maml:para> <maml:para>Keywords: azure, azurerm, arm, resource, management, manager, backup</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- Get a list of all items in a container --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>Get-AzureRmBackupContainer -Type AzureVM -Name "test-vm" -Vault $v | Get-AzureRmBackupItem</dev:code> <dev:remarks> <maml:para /> <maml:para /> <maml:para /> <maml:para>Name ProtectionStatus DataSourceStatus RecoveryPointsCount ProtectionPolicyName ---- ---------------- ---------------- ------------------- -------------------- test-vm NotProtected 0</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>-------------------------- See all the fields for an item --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>Get-AzureRmBackupItem -Container $c | select *</dev:code> <dev:remarks> <maml:para /> <maml:para /> <maml:para /> <maml:para>Name : test-vm DataSourceStatus : ProtectionStatus : NotProtected Type : AzureVM ProtectionPolicyName : ProtectionPolicyId : RecoveryPointsCount : 0 ItemName : iaasvmcontainer;test-vm;test-vm ContainerType : AzureVM ContainerUniqueName : iaasvmcontainer;test-vm;test-vm ResourceGroupName : test-rg ResourceName : test-vault Location : southeastasia</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Restore-AzureRmBackupItem</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureRmBackupContainer</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Enable-AzureRmBackupProtection</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Backup-AzureRmBackupItem</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Disable-AzureRmBackupProtection</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> </maml:relatedLinks> </command:command> <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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> <command:name>Get-AzureRmBackupJob</command:name> <maml:description> <maml:para>Retrieves a list of jobs or a specific job</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureRMBackupJob</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>This commandlet gets the Azure Backup jobs that match the filter criteria specified. The jobs returned are restricted to the Azure Backup vault.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureRmBackupJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Vault</maml:name> <maml:description> <maml:para>The specific Azure Backup vault object for which the jobs are being retrieved. The vault is the parent container for an Azure Backup job, and any given job must be a part of a specified vault. Use the Get-AzureRmBackupVault to get a list of vaults.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupVault</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>JobId</maml:name> <maml:description> <maml:para>The unique identifier for the Azure Backup job.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>From</maml:name> <maml:description> <maml:para>A time range is specified to filter the list of jobs returned from the Azure Backup service. This parameter specifies the start time for the time range. </maml:para> <maml:para>When this parameter is not specified, the default is _____</maml:para> <maml:para>When the -To parameter is used the -From parameter is mandatory.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">Nullable`1[DateTime]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>To</maml:name> <maml:description> <maml:para>A time range is specified to filter the list of jobs returned from the Azure Backup service. This parameter specifies the end time for the time range.</maml:para> <maml:para>When this parameter is not specified, the default vault is the current system date/time.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">Nullable`1[DateTime]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Status</maml:name> <maml:description> <maml:para>A filter value to get jobs with the specified status. Typically the status field is used to get InProgress and Failed jobs.</maml:para> <maml:para>Supported values: - InProgress - Failed - Cancelled - Cancelling - Completed - CompletedWithWarnings</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>Type</maml:name> <maml:description> <maml:para>The type of container that is used as a filter. The only supported item currently is AzureVM.</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>Operation</maml:name> <maml:description> <maml:para>A filter that describes the specific operation for which the jobs will be retrieved.</maml:para> <maml:para>Supported values: - Backup - ConfigureBackup - DeleteBackupData - Register - Restore - UnProtect - Unregister</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>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureRmBackupJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Job</maml:name> <maml:description> <maml:para>When you use the -Job parameter, the commandlet fetches the latest status for the job. Identifying the job is done using the details provided in the input object. This input object would also have been returned earlier from Get-AzureRmBackupJob.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupJob</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Vault</maml:name> <maml:description> <maml:para>The specific Azure Backup vault object for which the jobs are being retrieved. The vault is the parent container for an Azure Backup job, and any given job must be a part of a specified vault. Use the Get-AzureRmBackupVault to get a list of vaults.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupVault</command:parameterValue> <dev:type> <maml:name>AzureRMBackupVault</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>JobId</maml:name> <maml:description> <maml:para>The unique identifier for the Azure Backup 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="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>From</maml:name> <maml:description> <maml:para>A time range is specified to filter the list of jobs returned from the Azure Backup service. This parameter specifies the start time for the time range. </maml:para> <maml:para>When this parameter is not specified, the default is _____</maml:para> <maml:para>When the -To parameter is used the -From parameter is mandatory.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">Nullable`1[DateTime]</command:parameterValue> <dev:type> <maml:name>Nullable`1[DateTime]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>To</maml:name> <maml:description> <maml:para>A time range is specified to filter the list of jobs returned from the Azure Backup service. This parameter specifies the end time for the time range.</maml:para> <maml:para>When this parameter is not specified, the default vault is the current system date/time.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">Nullable`1[DateTime]</command:parameterValue> <dev:type> <maml:name>Nullable`1[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>Status</maml:name> <maml:description> <maml:para>A filter value to get jobs with the specified status. Typically the status field is used to get InProgress and Failed jobs.</maml:para> <maml:para>Supported values: - InProgress - Failed - Cancelled - Cancelling - Completed - CompletedWithWarnings</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>Type</maml:name> <maml:description> <maml:para>The type of container that is used as a filter. The only supported item currently is AzureVM.</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>Operation</maml:name> <maml:description> <maml:para>A filter that describes the specific operation for which the jobs will be retrieved.</maml:para> <maml:para>Supported values: - Backup - ConfigureBackup - DeleteBackupData - Register - Restore - UnProtect - Unregister</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>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</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>Job</maml:name> <maml:description> <maml:para>When you use the -Job parameter, the commandlet fetches the latest status for the job. Identifying the job is done using the details provided in the input object. This input object would also have been returned earlier from Get-AzureRmBackupJob.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupJob</command:parameterValue> <dev:type> <maml:name>AzureRMBackupJob</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>AzureRMBackupVault</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that you can pipe to the cmdlet.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>AzureRMBackupJob object (or) Array of AzureRMBackupJob objects</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that the cmdlet emits.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors> </command:terminatingErrors> <command:nonTerminatingErrors> </command:nonTerminatingErrors> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para>None</maml:para> <maml:para>Keywords: azure, azurerm, arm, resource, management, manager, backup</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- Retrieve a list of jobs from the backup vault --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>Get-AzureRmBackupJob -Vault $v</dev:code> <dev:remarks> <maml:para /> <maml:para /> <maml:para /> <maml:para>WorkloadName Operation Status StartTime EndTime ------------ --------- ------ --------- ------- test-vm Backup InProgress 26-Aug-15 12:24:01 PM 01-Jan-01 12:00:00 AM test-vm ConfigureBackup Completed 26-Aug-15 12:19:49 PM 26-Aug-15 12:19:54 PM test-vm Register Completed 25-Aug-15 3:23:53 PM 25-Aug-15 3:25:00 PM</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>-------------------------- Retrieve a list of completed jobs --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>Get-AzureRmBackupJob -Vault $v -Status Completed</dev:code> <dev:remarks> <maml:para /> <maml:para /> <maml:para /> <maml:para>WorkloadName Operation Status StartTime EndTime ------------ --------- ------ --------- ------- test-vm Register Completed 25-Aug-15 3:23:53 PM 25-Aug-15 3:25:00 PM</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>-------------------------- Retrieve a list of failed jobs for the last 1 week --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>Get-AzureRmBackupJob -Vault $v -From (Get-Date).AddDays(-7) -Status Failed</dev:code> <dev:remarks> <maml:para /> <maml:para /> <maml:para /> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>-------------------------- Poll the service for a change in the job status --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>$joblist = Get-AzureRmBackupJob -Vault $v -Status InProgress $job = $joblist[0] while ( $job.Status -ne Completed ) { Write-Host "Waiting for completion..." Start-Sleep -s 10 $job = Get-AzureRmBackupJob -Vault $v -Job $job } Write-Host "Done!"</dev:code> <dev:remarks> <maml:para /> <maml:para /> <maml:para /> <maml:para>Waiting for completion... Waiting for completion... Waiting for completion... Done!</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> </maml:relatedLinks> </command:command> <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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> <command:name>Get-AzureRmBackupJobDetails</command:name> <maml:description> <maml:para>Get the details of a job</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureRMBackupJobDetails</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>When a job has failed, the Azure Backup service typically logs more information for debugging purposes. The detailed job information can be retrieved using this commandlet</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureRmBackupJobDetails</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Job</maml:name> <maml:description> <maml:para>The job object for which details are to be retrieved</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupJob</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureRmBackupJobDetails</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Vault</maml:name> <maml:description> <maml:para>The Azure Backup vault under which the job can be found.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupVault</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>JobId</maml:name> <maml:description> <maml:para>The unique identifier for the job, for which the details are to be retrieved.</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>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Job</maml:name> <maml:description> <maml:para>The job object for which details are to be retrieved</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupJob</command:parameterValue> <dev:type> <maml:name>AzureRMBackupJob</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>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</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>Vault</maml:name> <maml:description> <maml:para>The Azure Backup vault under which the job can be found.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupVault</command:parameterValue> <dev:type> <maml:name>AzureRMBackupVault</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>JobId</maml:name> <maml:description> <maml:para>The unique identifier for the job, for which the details are to be retrieved.</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> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>AzureRMBackupJobDetails</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that the cmdlet emits.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors> </command:terminatingErrors> <command:nonTerminatingErrors> </command:nonTerminatingErrors> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para>None</maml:para> <maml:para>Keywords: azure, azurerm, arm, resource, management, manager, backup</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- Get the details of a failed job --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>$jd = Get-AzureRmBackupJobDetails -Job $j PS C:\> $jd.ErrorDetails </dev:code> <dev:remarks> <maml:para /> <maml:para /> <maml:para /> <maml:para>ErrorCode ErrorMessage Recommendations --------- ------------ --------------- 400001 Command execution failed. {Another operation is currently in p...</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>-------------------------- Get the recommended action for a failed job --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>$jd.ErrorDetails.Recommendations</dev:code> <dev:remarks> <maml:para /> <maml:para /> <maml:para /> <maml:para>Another operation is currently in progress on this item. Please wait until the previous operation is completed, and then retry.</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> </maml:relatedLinks> </command:command> <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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> <command:name>Get-AzureRmBackupProtectionPolicy</command:name> <maml:description> <maml:para>Fetches the backup policies in a backup vault</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureRMBackupProtectionPolicy</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The backup policy is used in the Enable-AzureRmBackupProtection commandlet to enable protection on an item. The policy must be created using the New-AzureRmBackupProtectionPolicy commandlet, or an existing policy can be used. This commandlet gets the list of existing policies in the backup vault. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureRmBackupProtectionPolicy</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Name</maml:name> <maml:description> <maml:para>The name of the specific policy. Since policy names are unique within a vault, the name is sufficient to identify a policy.</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="0"> <maml:name>Vault</maml:name> <maml:description> <maml:para>The Azure Backup vault under which the policy has been created.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupVault</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Name</maml:name> <maml:description> <maml:para>The name of the specific policy. Since policy names are unique within a vault, the name is sufficient to identify a policy.</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="0"> <maml:name>Vault</maml:name> <maml:description> <maml:para>The Azure Backup vault under which the policy has been created.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupVault</command:parameterValue> <dev:type> <maml:name>AzureRMBackupVault</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>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>AzureRMBackupVault</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that you can pipe to the cmdlet.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>AzureRMBackupProtectionPolicy</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that the cmdlet emits.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors> </command:terminatingErrors> <command:nonTerminatingErrors> </command:nonTerminatingErrors> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para>None</maml:para> <maml:para>Keywords: azure, azurerm, arm, resource, management, manager, backup</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- Get the list of policies in a vault --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>Get-AzureRmBackupProtectionPolicy -Vault $v</dev:code> <dev:remarks> <maml:para /> <maml:para /> <maml:para /> <maml:para>Name Type ScheduleType BackupTime ---- ---- ------------ ---------- test01 AzureVM Daily 26-Aug-15 3:00:00 PM DailyBkp AzureVM Daily 26-Aug-15 3:00:00 PM DefaultPolicy AzureVM Daily 26-Aug-15 12:30:00 AM WeeklyBkp AzureVM Weekly 26-Aug-15 5:00:00 PM test2 AzureVM Daily 26-Aug-15 3:00:00 PM</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>-------------------------- Get a specific policy from a vault --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>Get-AzureRmBackupProtectionPolicy -Vault $v -Name DefaultPolicy</dev:code> <dev:remarks> <maml:para /> <maml:para /> <maml:para /> <maml:para>Name Type ScheduleType BackupTime ---- ---- ------------ ---------- DefaultPolicy AzureVM Daily 26-Aug-15 12:30:00 AM</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>New-AzureRmBackupProtectionPolicy</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Enable-AzureRmBackupProtection</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureRmBackupProtectionPolicy</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> </maml:relatedLinks> </command:command> <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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> <command:name>Get-AzureRmBackupRecoveryPoint</command:name> <maml:description> <maml:para>Get the recovery point(s) for a backed-up item</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureRMBackupRecoveryPoint</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>Once an item has been backed up, it will have one or more recovery points. This commandlet gets a list of the recovery points</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureRmBackupRecoveryPoint</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1"> <maml:name>RecoveryPointId</maml:name> <maml:description> <maml:para>The ID to retrieve a specific recovery point for an item</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="0"> <maml:name>Item</maml:name> <maml:description> <maml:para>The item object for which the recovery points are being queried.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupItem</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1"> <maml:name>RecoveryPointId</maml:name> <maml:description> <maml:para>The ID to retrieve a specific recovery point for an item</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="0"> <maml:name>Item</maml:name> <maml:description> <maml:para>The item object for which the recovery points are being queried.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupItem</command:parameterValue> <dev:type> <maml:name>AzureRMBackupItem</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>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>AzureRMBackupItem</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that you can pipe to the cmdlet.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>AzureRMBackupRecoveryPoint</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that the cmdlet emits. </maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors> </command:terminatingErrors> <command:nonTerminatingErrors> </command:nonTerminatingErrors> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para /> <maml:para>Keywords: azure, azurerm, arm, resource, management, manager, backup</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- Get a list of recovery points for an item --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>Get-AzureRmBackupRecoveryPoint -Item $backupitem</dev:code> <dev:remarks> <maml:para /> <maml:para /> <maml:para /> <maml:para>RecoveryPointId RecoveryPointType RecoveryPointTime ContainerName --------------- ----------------- ----------------- ------------- 15273496567119 AppConsistent 26-Aug-15 12:27:38 PM iaasvmcontainer;aashish-vm;aashis...</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> </maml:relatedLinks> </command:command> <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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> <command:name>Get-AzureRmBackupVault</command:name> <maml:description> <maml:para>Retrieves one or more vault objects based on the parameters that are specified.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureRMBackupVault</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Get-AzureRmBackupVault commandlet retrieves existing Azure Backup vaults and returns objects of type AzurePSBackupVault. The vault object is used in some Azure Backup commandlets as a mandatory parameter.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureRmBackupVault</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> <maml:para>The Azure resource group under which the vault was 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="1"> <maml:name>Name</maml:name> <maml:description> <maml:para>The name of the specific Azure Backup vault that needs to be retrieved. If no name is specified, then the commandlet returns all the vaults created by the subscription. If there is more than 1 backup vault with the same name then the commandlet returns all the vaults that match the name. Use the -ResourceGroupName parameter to filter results and get a unique vault.</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>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> <maml:para>The Azure resource group under which the vault was 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="false" variableLength="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Name</maml:name> <maml:description> <maml:para>The name of the specific Azure Backup vault that needs to be retrieved. If no name is specified, then the commandlet returns all the vaults created by the subscription. If there is more than 1 backup vault with the same name then the commandlet returns all the vaults that match the name. Use the -ResourceGroupName parameter to filter results and get a unique vault.</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>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>Vault name as [String]</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that you can pipe to the cmdlet.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>AzureRMBackupVault</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that the cmdlet emits.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors> </command:terminatingErrors> <command:nonTerminatingErrors> </command:nonTerminatingErrors> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para>None</maml:para> <maml:para>Keywords: azure, azurerm, arm, resource, management, manager, backup</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- View all the Azure Backup vaults created --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>Get-AzureRmBackupVault</dev:code> <dev:remarks> <maml:para /> <maml:para /> <maml:para /> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>-------------------------- Get a list of all vaults created in West US --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>Get-AzureRmBackupVault | Where-Object { $_.Region -eq "westus" }</dev:code> <dev:remarks> <maml:para /> <maml:para /> <maml:para /> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>-------------------------- Get a reference to a specific vault --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>Get-AzureRmBackupVault -Name "myvault"</dev:code> <dev:remarks> <maml:para /> <maml:para /> <maml:para /> <maml:para>ResourceId : /subscriptions/4bfbe168-f42a-4a06-8f5a-331cad1f497e/resourceGroups/rg1/providers/Microsoft.Backup /BackupVault/myvault Name : myvault ResourceGroupName : rg1 Region : westus Storage : GeoRedundant</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>-------------------------- Count the number of vaults having Locally Redundant Storage --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>Get-AzureRmBackupVault | Where-Object { $_.Storage –match ‘LocallyRedundant’ } | Measure-Object</dev:code> <dev:remarks> <maml:para /> <maml:para /> <maml:para /> <maml:para>Count : 4 Average : Sum : Maximum : Minimum : Property :</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>New-AzureRmBackupVault</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureRmBackupVault</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureRmBackupVault</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureRmBackupContainer</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> </maml:relatedLinks> </command:command> <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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> <command:name>Get-AzureRmBackupVaultCredentials</command:name> <maml:description> <maml:para>Downloads the Vault Credentials file to a specified location.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureRMBackupVaultCredentials</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>To enable hybrid backup scenarios the Vault Credentials file is a critical component. The vault credential file is used to connect a server to the Azure Backup vault and register it. Only after registration can backup data be sent to the vault. The Get-AzureRmBackupVaultCredentials commandlet downloads and places a vault credential file at the location specified by the user.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureRmBackupVaultCredentials</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2"> <maml:name>TargetLocation</maml:name> <maml:description> <maml:para>The destination path where the Vault Credentials file should be placed.</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="0"> <maml:name>Vault</maml:name> <maml:description> <maml:para>The specific Azure Backup vault object for which the Vault Credential file is generated. Use the Get-AzureRmBackupVault to get a list of vaults.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupVault</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2"> <maml:name>TargetLocation</maml:name> <maml:description> <maml:para>The destination path where the Vault Credentials file should 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="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Vault</maml:name> <maml:description> <maml:para>The specific Azure Backup vault object for which the Vault Credential file is generated. Use the Get-AzureRmBackupVault to get a list of vaults.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupVault</command:parameterValue> <dev:type> <maml:name>AzureRMBackupVault</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>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>AzureRMBackupVault</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para> This section details out the type of the objects that you can pipe to the cmdlet.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>Vault Credentials file name as [String]</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that the cmdlet emits.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors> </command:terminatingErrors> <command:nonTerminatingErrors> </command:nonTerminatingErrors> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para>None</maml:para> <maml:para>Keywords: azure, azurerm, arm, resource, management, manager, backup</maml:para> </maml:alert> </maml:alertSet> <command:examples> </command:examples> <maml:relatedLinks> </maml:relatedLinks> </command:command> <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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> <command:name>New-AzureRmBackupProtectionPolicy</command:name> <maml:description> <maml:para>Creates a PowerShell object that holds backup policy information</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>New</command:verb> <command:noun>AzureRMBackupProtectionPolicy</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>A backup policy defines when and how often the backup of an item is done. This commandlet creates a PowerShell object that holds backup policy information. The backup policy is used as an input to the Enable-AzureRmBackupProtection commandlet.</maml:para> <maml:para>There are 4 types of retention - Daily, Weekly, Monthly, and Yearly. You need to create one object for each type of retention that you plan to use.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>New-AzureRmBackupProtectionPolicy</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Name</maml:name> <maml:description> <maml:para>The name of the backup policy. It should be unique within a vault.</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 (ByPropertyName)" position="2"> <maml:name>Type</maml:name> <maml:description> <maml:para>The type of backup item on which the policy can be applied. Currently, the only supported value for is AzureVM.</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 (ByPropertyName)" position="5"> <maml:name>BackupTime</maml:name> <maml:description> <maml:para>The time of the day when backup should be triggered.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="6"> <maml:name>DaysOfWeek</maml:name> <maml:description> <maml:para>Specifies one or more days of the week when backup will be triggered at the time specified using the -BackupTime option. This parameter needs to be used with the -Weekly flag.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="7"> <maml:name>RetentionPolicy</maml:name> <maml:description> <maml:para>A list of one or more retention policies that are associated with this backup policy. Use the New-AzureRmBackupRetentionPolicyObject to create retention policies.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">AzureRMBackupRetentionPolicy[]</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Vault</maml:name> <maml:description> <maml:para>The Azure Backup vault that is the parent for the backup policy.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupVault</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>New-AzureRmBackupProtectionPolicy</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Name</maml:name> <maml:description> <maml:para>The name of the backup policy. It should be unique within a vault.</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 (ByPropertyName)" position="2"> <maml:name>Type</maml:name> <maml:description> <maml:para>The type of backup item on which the policy can be applied. Currently, the only supported value for is AzureVM.</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="3"> <maml:name>Daily</maml:name> <maml:description> <maml:para>A flag for indicating that the backup policy will be triggered daily.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="5"> <maml:name>BackupTime</maml:name> <maml:description> <maml:para>The time of the day when backup should be triggered.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="7"> <maml:name>RetentionPolicy</maml:name> <maml:description> <maml:para>A list of one or more retention policies that are associated with this backup policy. Use the New-AzureRmBackupRetentionPolicyObject to create retention policies.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">AzureRMBackupRetentionPolicy[]</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Vault</maml:name> <maml:description> <maml:para>The Azure Backup vault that is the parent for the backup policy.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupVault</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>New-AzureRmBackupProtectionPolicy</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Name</maml:name> <maml:description> <maml:para>The name of the backup policy. It should be unique within a vault.</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 (ByPropertyName)" position="2"> <maml:name>Type</maml:name> <maml:description> <maml:para>The type of backup item on which the policy can be applied. Currently, the only supported value for is AzureVM.</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="4"> <maml:name>Weekly</maml:name> <maml:description> <maml:para>A flag for indicating that the backup policy will be triggered on one more days of the week.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="5"> <maml:name>BackupTime</maml:name> <maml:description> <maml:para>The time of the day when backup should be triggered.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="6"> <maml:name>DaysOfWeek</maml:name> <maml:description> <maml:para>Specifies one or more days of the week when backup will be triggered at the time specified using the -BackupTime option. This parameter needs to be used with the -Weekly flag.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="7"> <maml:name>RetentionPolicy</maml:name> <maml:description> <maml:para>A list of one or more retention policies that are associated with this backup policy. Use the New-AzureRmBackupRetentionPolicyObject to create retention policies.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">AzureRMBackupRetentionPolicy[]</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Vault</maml:name> <maml:description> <maml:para>The Azure Backup vault that is the parent for the backup policy.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupVault</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Name</maml:name> <maml:description> <maml:para>The name of the backup policy. It should be unique within a vault.</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 (ByPropertyName)" position="2"> <maml:name>Type</maml:name> <maml:description> <maml:para>The type of backup item on which the policy can be applied. Currently, the only supported value for is AzureVM.</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 (ByPropertyName)" position="5"> <maml:name>BackupTime</maml:name> <maml:description> <maml:para>The time of the day when backup should be triggered.</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="true" globbing="false" pipelineInput="true (ByPropertyName)" position="6"> <maml:name>DaysOfWeek</maml:name> <maml:description> <maml:para>Specifies one or more days of the week when backup will be triggered at the time specified using the -BackupTime option. This parameter needs to be used with the -Weekly flag.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">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="true" globbing="false" pipelineInput="true (ByPropertyName)" position="7"> <maml:name>RetentionPolicy</maml:name> <maml:description> <maml:para>A list of one or more retention policies that are associated with this backup policy. Use the New-AzureRmBackupRetentionPolicyObject to create retention policies.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">AzureRMBackupRetentionPolicy[]</command:parameterValue> <dev:type> <maml:name>AzureRMBackupRetentionPolicy[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Vault</maml:name> <maml:description> <maml:para>The Azure Backup vault that is the parent for the backup policy.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupVault</command:parameterValue> <dev:type> <maml:name>AzureRMBackupVault</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>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3"> <maml:name>Daily</maml:name> <maml:description> <maml:para>A flag for indicating that the backup policy will be triggered daily.</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="4"> <maml:name>Weekly</maml:name> <maml:description> <maml:para>A flag for indicating that the backup policy will be triggered on one more days of the week.</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> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>AzureRMBackupProtectionPolicy</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that the cmdlet emits</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors> </command:terminatingErrors> <command:nonTerminatingErrors> </command:nonTerminatingErrors> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para>None</maml:para> <maml:para>Keywords: azure, azurerm, arm, resource, management, manager, backup</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- Create a daily backup policy with daily and monthly retention --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>$bp = New-AzureRmBackupProtectionPolicy -Name DailyBackup01 -Type AzureVM -Daily -BackupTime ([datetime]"3:30 PM") -RetentionPolicy ($Daily,$Monthly) -Vault $v </dev:code> <dev:remarks> <maml:para>The backup policy in this example has a daily backup time of 3:00 PM, and the backup data is stored as per the $Daily and $Monthly retention policies created using the New-AzureRmBackupRetentionPolicyObject commandlet.</maml:para> <maml:para /> <maml:para /> <maml:para>Name Type ScheduleType BackupTime ---- ---- ------------ ---------- DailyBkp AzureVM Daily 26-Aug-15 3:00:00 PM</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>New-AzureRmBackupRetentionPolicyObject</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Enable-AzureRmBackupProtection</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureRmBackupProtectionPolicy</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureRmBackupProtectionPolicy</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureRmBackupProtectionPolicy</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> </maml:relatedLinks> </command:command> <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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> <command:name>New-AzureRmBackupRetentionPolicyObject</command:name> <maml:description> <maml:para>Creates a PowerShell object that holds retention policy information</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>New</command:verb> <command:noun>AzureRMBackupRetentionPolicyObject</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>A backup policy is associated with at least one retention policy. The retention policy defines how long a recovery point is kept with Azure Backup. This commandlet creates PowerShell objects that hold retention policy information. These retention policy objects are used as inputs to the New-AzureRmBackupProtectionPolicy commandlet, or directly with the Enable-AzureRmBackupProtection commandlet.</maml:para> <maml:para>There are 4 types of retention - Daily, Weekly, Monthly, and Yearly. You need to create one object for each type of retention that you plan to use.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>New-AzureRmBackupRetentionPolicyObject</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DailyRetention</maml:name> <maml:description> <maml:para>Switch parameter that creates an object with Daily retention information.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Retention</maml:name> <maml:description> <maml:para>The retention period for which the backup point will be stored. This unit depends on the switch option specified in the commandlet. For example, if you are using the -DailyRetention flag then this value specifies the retention in days. Or if you are using the -MonthlyRetentionInDailyFormat flag then this value specifies the retention in months. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>New-AzureRmBackupRetentionPolicyObject</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>WeeklyRetention</maml:name> <maml:description> <maml:para>Switch parameter that creates an object with Weekly retention information.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>DaysOfWeek</maml:name> <maml:description> <maml:para>The days of the week used to identify which recovery points will be retained and for how long. This parameter works with the -WeeklyRetention, -MonthlyRetentionInWeeklyFormat, and -YearlyRetentionInWeeklyFormat options.</maml:para> <maml:para>NOTE: You need to ensure that the days of the week that are picked for backup and for retention are aligned! For example, if backup is set for Saturdays then the weekly/monthly/yearly retention policies also must use Saturday as the -DaysOfWeek option.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Retention</maml:name> <maml:description> <maml:para>The retention period for which the backup point will be stored. This unit depends on the switch option specified in the commandlet. For example, if you are using the -DailyRetention flag then this value specifies the retention in days. Or if you are using the -MonthlyRetentionInDailyFormat flag then this value specifies the retention in months. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>New-AzureRmBackupRetentionPolicyObject</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>MonthlyRetentionInDailyFormat</maml:name> <maml:description> <maml:para>Switch parameter that creates an object with Monthly retention information.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>DaysOfMonth</maml:name> <maml:description> <maml:para>The days of the month used to identify which recovery points will be retained and for how long. This parameter works with the -DailyRetention, -MonthlyRetentionInDailyFormat, and -YearlyRetentionInDailyFormat options. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">List`1[String]</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Retention</maml:name> <maml:description> <maml:para>The retention period for which the backup point will be stored. This unit depends on the switch option specified in the commandlet. For example, if you are using the -DailyRetention flag then this value specifies the retention in days. Or if you are using the -MonthlyRetentionInDailyFormat flag then this value specifies the retention in months. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>New-AzureRmBackupRetentionPolicyObject</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>MonthlyRetentionInWeeklyFormat</maml:name> <maml:description> <maml:para>Switch parameter that creates an object with Monthly retention information.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>DaysOfWeek</maml:name> <maml:description> <maml:para>The days of the week used to identify which recovery points will be retained and for how long. This parameter works with the -WeeklyRetention, -MonthlyRetentionInWeeklyFormat, and -YearlyRetentionInWeeklyFormat options.</maml:para> <maml:para>NOTE: You need to ensure that the days of the week that are picked for backup and for retention are aligned! For example, if backup is set for Saturdays then the weekly/monthly/yearly retention policies also must use Saturday as the -DaysOfWeek option.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>WeekNumber</maml:name> <maml:description> <maml:para>When defining monthly retention, this parameter specifies which week of the month has the recovery points that should get monthly retention.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Retention</maml:name> <maml:description> <maml:para>The retention period for which the backup point will be stored. This unit depends on the switch option specified in the commandlet. For example, if you are using the -DailyRetention flag then this value specifies the retention in days. Or if you are using the -MonthlyRetentionInDailyFormat flag then this value specifies the retention in months. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>New-AzureRmBackupRetentionPolicyObject</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>YearlyRetentionInDailyFormat</maml:name> <maml:description> <maml:para>Switch parameter that creates an object with Yearly retention information.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>DaysOfMonth</maml:name> <maml:description> <maml:para>The days of the month used to identify which recovery points will be retained and for how long. This parameter works with the -DailyRetention, -MonthlyRetentionInDailyFormat, and -YearlyRetentionInDailyFormat options. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">List`1[String]</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>MonthsOfYear</maml:name> <maml:description> <maml:para>When defining yearly retention, this parameter specifies which months of the year has the recovery points that should get yearly retention.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Retention</maml:name> <maml:description> <maml:para>The retention period for which the backup point will be stored. This unit depends on the switch option specified in the commandlet. For example, if you are using the -DailyRetention flag then this value specifies the retention in days. Or if you are using the -MonthlyRetentionInDailyFormat flag then this value specifies the retention in months. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>New-AzureRmBackupRetentionPolicyObject</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>YearlyRetentionInWeeklyFormat</maml:name> <maml:description> <maml:para>Switch parameter that creates an object with Yearly retention information.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>DaysOfWeek</maml:name> <maml:description> <maml:para>The days of the week used to identify which recovery points will be retained and for how long. This parameter works with the -WeeklyRetention, -MonthlyRetentionInWeeklyFormat, and -YearlyRetentionInWeeklyFormat options.</maml:para> <maml:para>NOTE: You need to ensure that the days of the week that are picked for backup and for retention are aligned! For example, if backup is set for Saturdays then the weekly/monthly/yearly retention policies also must use Saturday as the -DaysOfWeek option.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>WeekNumber</maml:name> <maml:description> <maml:para>When defining monthly retention, this parameter specifies which week of the month has the recovery points that should get monthly retention.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>MonthsOfYear</maml:name> <maml:description> <maml:para>When defining yearly retention, this parameter specifies which months of the year has the recovery points that should get yearly retention.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Retention</maml:name> <maml:description> <maml:para>The retention period for which the backup point will be stored. This unit depends on the switch option specified in the commandlet. For example, if you are using the -DailyRetention flag then this value specifies the retention in days. Or if you are using the -MonthlyRetentionInDailyFormat flag then this value specifies the retention in months. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DailyRetention</maml:name> <maml:description> <maml:para>Switch parameter that creates an object with Daily retention information.</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>Retention</maml:name> <maml:description> <maml:para>The retention period for which the backup point will be stored. This unit depends on the switch option specified in the commandlet. For example, if you are using the -DailyRetention flag then this value specifies the retention in days. Or if you are using the -MonthlyRetentionInDailyFormat flag then this value specifies the retention in months. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</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>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</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>WeeklyRetention</maml:name> <maml:description> <maml:para>Switch parameter that creates an object with Weekly retention information.</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="true" globbing="false" pipelineInput="false" position="named"> <maml:name>DaysOfWeek</maml:name> <maml:description> <maml:para>The days of the week used to identify which recovery points will be retained and for how long. This parameter works with the -WeeklyRetention, -MonthlyRetentionInWeeklyFormat, and -YearlyRetentionInWeeklyFormat options.</maml:para> <maml:para>NOTE: You need to ensure that the days of the week that are picked for backup and for retention are aligned! For example, if backup is set for Saturdays then the weekly/monthly/yearly retention policies also must use Saturday as the -DaysOfWeek option.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">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>MonthlyRetentionInDailyFormat</maml:name> <maml:description> <maml:para>Switch parameter that creates an object with Monthly retention information.</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="true" globbing="false" pipelineInput="false" position="named"> <maml:name>DaysOfMonth</maml:name> <maml:description> <maml:para>The days of the month used to identify which recovery points will be retained and for how long. This parameter works with the -DailyRetention, -MonthlyRetentionInDailyFormat, and -YearlyRetentionInDailyFormat options. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">List`1[String]</command:parameterValue> <dev:type> <maml:name>List`1[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>MonthlyRetentionInWeeklyFormat</maml:name> <maml:description> <maml:para>Switch parameter that creates an object with Monthly retention information.</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="true" globbing="false" pipelineInput="false" position="named"> <maml:name>WeekNumber</maml:name> <maml:description> <maml:para>When defining monthly retention, this parameter specifies which week of the month has the recovery points that should get monthly retention.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">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>YearlyRetentionInDailyFormat</maml:name> <maml:description> <maml:para>Switch parameter that creates an object with Yearly retention information.</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="true" globbing="false" pipelineInput="false" position="named"> <maml:name>MonthsOfYear</maml:name> <maml:description> <maml:para>When defining yearly retention, this parameter specifies which months of the year has the recovery points that should get yearly retention.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">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>YearlyRetentionInWeeklyFormat</maml:name> <maml:description> <maml:para>Switch parameter that creates an object with Yearly retention information.</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> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>AzureRMBackupRetentionPolicy</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that the cmdlet emits.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors> </command:terminatingErrors> <command:nonTerminatingErrors> </command:nonTerminatingErrors> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para>None</maml:para> <maml:para>Keywords: azure, azurerm, arm, resource, management, manager, backup</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- Create a retention policy for 30 days of daily retention --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>$Daily = New-AzureRmBackupRetentionPolicyObject -DailyRetention -Retention 30 PS C:\> $Daily</dev:code> <dev:remarks> <maml:para /> <maml:para /> <maml:para /> <maml:para>RetentionType Retention RetentionTimes ------------- --------- -------------- Daily 30</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>-------------------------- Create a monthly retention policy --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>$Monthly = New-AzureRmBackupRetentionPolicyObject -MonthlyRetentionInDailyFormat -DaysOfMonth (10, 20) -Retention 12 PS C:\> $Monthly | select *</dev:code> <dev:remarks> <maml:para>This policy keeps the backup on the 10th and the 20th of each month for 12 months</maml:para> <maml:para /> <maml:para /> <maml:para>RetentionFormat : Daily DaysOfMonth : {10, 20} WeekNumber : DaysOfWeek : RetentionType : Monthly Retention : 12 RetentionTimes :</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>New-AzureRmBackupProtectionPolicy</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> </maml:relatedLinks> </command:command> <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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> <command:name>New-AzureRmBackupVault</command:name> <maml:description> <maml:para>Creates a new Azure Backup vault based on the parameters that are specified. A vault is the start point for all backup operations with Azure Backup.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>New</command:verb> <command:noun>AzureRMBackupVault</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The New-AzureRmBackupVault commandlet creates and Azure Backup vault and returns an object of type AzurePSBackupVault that acts as a reference to the vault entity. The vault has some important properties that define the scope of backup – the region and the storage type.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>New-AzureRmBackupVault</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> <maml:para>Specifies the name of an existing resource group. In order to create a resource group, use the New-AzureRmResourceGroup commandlet. There is no requirement that the Azure ResourceGroup and the Azure Backup vault be in the same region.</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="1"> <maml:name>Name</maml:name> <maml:description> <maml:para>Specifies the name of the Azure Backup vault. The combination of ResourceGroupName and Name must be unique. You cannot create two vaults with the same name under the same ResourceGroup, but two vaults with the same name can be placed under two different Resource Groups.</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="2"> <maml:name>Region</maml:name> <maml:description> <maml:para>The region parameter places the vault object into a specific Azure region. For hybrid backup scenarios, it is advised to create a vault in a region close to the on-premise server to reduce latency. For backup of Azure IaaS virtual machines, the vault becomes the point of discovery for local virtual machines.</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="3"> <maml:name>Storage</maml:name> <maml:description> <maml:para>Backup storage is billed at Azure Storage rates and users can choose between LocallyRedundant and GeoRedundant as the storage for the backup data. Since this is an optional parameter, if it is not specified then the vault is created with the GeoRedundant Storage option.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureBackupVaultStorageType</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0"> <maml:name>ResourceGroupName</maml:name> <maml:description> <maml:para>Specifies the name of an existing resource group. In order to create a resource group, use the New-AzureRmResourceGroup commandlet. There is no requirement that the Azure ResourceGroup and the Azure Backup vault be in the same region.</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="1"> <maml:name>Name</maml:name> <maml:description> <maml:para>Specifies the name of the Azure Backup vault. The combination of ResourceGroupName and Name must be unique. You cannot create two vaults with the same name under the same ResourceGroup, but two vaults with the same name can be placed under two different Resource Groups.</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="2"> <maml:name>Region</maml:name> <maml:description> <maml:para>The region parameter places the vault object into a specific Azure region. For hybrid backup scenarios, it is advised to create a vault in a region close to the on-premise server to reduce latency. For backup of Azure IaaS virtual machines, the vault becomes the point of discovery for local virtual machines.</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="3"> <maml:name>Storage</maml:name> <maml:description> <maml:para>Backup storage is billed at Azure Storage rates and users can choose between LocallyRedundant and GeoRedundant as the storage for the backup data. Since this is an optional parameter, if it is not specified then the vault is created with the GeoRedundant Storage option.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureBackupVaultStorageType</command:parameterValue> <dev:type> <maml:name>AzureBackupVaultStorageType</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>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para /> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>AzureRMBackupVault</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that the cmdlet emits.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors> </command:terminatingErrors> <command:nonTerminatingErrors> </command:nonTerminatingErrors> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para>None</maml:para> <maml:para>Keywords: azure, azurerm, arm, resource, management, manager, backup</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- Create a new backup vault --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>New-AzureRmBackupVault –ResourceGroupName “rg1” –Name “vault1” –Region “westus”</dev:code> <dev:remarks> <maml:para /> <maml:para /> <maml:para /> <maml:para>ResourceId : /subscriptions/4bfbe168-f42a-4a06-8f5a-331cad1f497e/resourceGroups/rg1/providers/Microsoft.Backup /BackupVault/vault1 Name : vault1 ResourceGroupName : rg1 Region : westus Storage : GeoRedundant</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>-------------------------- Create a new backup vault with Locally Redundant Storage --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>New-AzureRmBackupVault –ResourceGroupName “rg2” –Name “vault2” –Region “westus” –Storage LocallyRedundant</dev:code> <dev:remarks> <maml:para /> <maml:para /> <maml:para /> <maml:para>ResourceId : /subscriptions/4bfbe168-f42a-4a06-8f5a-331cad1f497e/resourceGroups/rg2/providers/Microsoft.Backup /BackupVault/vault2 Name : vault2 ResourceGroupName : rg2 Region : westus Storage : LocallyRedundant</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>New-AzureRmResourceGroup</maml:linkText> <maml:uri>https://msdn.microsoft.com/en-us/library/dn654594.aspx</maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureRmBackupVault</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureRmBackupVault</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureRmBackupVault</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> </maml:relatedLinks> </command:command> <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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> <command:name>Register-AzureRmBackupContainer</command:name> <maml:description> <maml:para>Register the container with the Azure Backup vault</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Register</command:verb> <command:noun>AzureRMBackupContainer</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The first step towards configuring backup with Azure Backup is to register your machine or VM with an Azure Backup vault. This commandlet takes the input information of an Azure IaaS virtual machine and registers it with the specified vault. The register operation associates the Azure virtual machine with the backup vault and tracks the VM through the backup lifecycle.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Register-AzureRmBackupContainer</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Name</maml:name> <maml:description> <maml:para>Name of the Azure VM to be registered.</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 (ByPropertyName)" position="named"> <maml:name>ServiceName</maml:name> <maml:description> <maml:para>The cloud service name of the Azure VM to be registered. Typically the cloud service name has a suffix ".cloudapp.net". Do not include the suffix as input to this commandlet! You can use the Get-AzureRmVM commandlet (in the AzureServiceManagement mode) to get the VM information; the service name is the DeploymentName property in the VM object.</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="0"> <maml:name>Vault</maml:name> <maml:description> <maml:para>The Azure Backup vault to which the Azure VM should be registered.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupVault</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Register-AzureRmBackupContainer</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Name</maml:name> <maml:description> <maml:para>Name of the Azure VM to be registered.</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 (ByPropertyName)" position="named"> <maml:name>ResourceGroupName</maml:name> <maml:description> <maml:para>If your VM is created in the AzureResourceManager mode, then instead of -ServiceName you will need to use this parameter</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="0"> <maml:name>Vault</maml:name> <maml:description> <maml:para>The Azure Backup vault to which the Azure VM should be registered.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupVault</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>Name</maml:name> <maml:description> <maml:para>Name of the Azure VM to be registered.</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 (ByPropertyName)" position="named"> <maml:name>ServiceName</maml:name> <maml:description> <maml:para>The cloud service name of the Azure VM to be registered. Typically the cloud service name has a suffix ".cloudapp.net". Do not include the suffix as input to this commandlet! You can use the Get-AzureRmVM commandlet (in the AzureServiceManagement mode) to get the VM information; the service name is the DeploymentName property in the VM object.</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="0"> <maml:name>Vault</maml:name> <maml:description> <maml:para>The Azure Backup vault to which the Azure VM should be registered.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupVault</command:parameterValue> <dev:type> <maml:name>AzureRMBackupVault</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>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named"> <maml:name>ResourceGroupName</maml:name> <maml:description> <maml:para>If your VM is created in the AzureResourceManager mode, then instead of -ServiceName you will need to use this parameter</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> <command:inputTypes> <command:inputType> <dev:type> <maml:name>AzureRMBackupVault</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that you can pipe to the cmdlet.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>AzureRMBackupJob</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that the cmdlet emits. </maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors> </command:terminatingErrors> <command:nonTerminatingErrors> </command:nonTerminatingErrors> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para>None</maml:para> <maml:para>Keywords: azure, azurerm, arm, resource, management, manager, backup</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- Register a virtual machine to an Azure Backup vault --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>$job = Register-AzureRmBackupContainer -Vault $v -Name "testvm" -ServiceName "testvm"</dev:code> <dev:remarks> <maml:para /> <maml:para /> <maml:para /> <maml:para>None</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureRmVM</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> </maml:relatedLinks> </command:command> <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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> <command:name>Remove-AzureRmBackupProtectionPolicy</command:name> <maml:description> <maml:para>Deletes a backup policy from the vault</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Remove</command:verb> <command:noun>AzureRMBackupProtectionPolicy</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>Deletes the specified policy from the backup vault. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Remove-AzureRmBackupProtectionPolicy</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>ProtectionPolicy</maml:name> <maml:description> <maml:para>The protection policy object that has information about the policy. Use the Get-AzureRmBackupProtectionPolicy commandlet to get a list of protection policy objects.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupProtectionPolicy</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>ProtectionPolicy</maml:name> <maml:description> <maml:para>The protection policy object that has information about the policy. Use the Get-AzureRmBackupProtectionPolicy commandlet to get a list of protection policy objects.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupProtectionPolicy</command:parameterValue> <dev:type> <maml:name>AzureRMBackupProtectionPolicy</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>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>AzureRMBackupProtectionPolicy</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that you can pipe to the cmdlet. </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors> </command:terminatingErrors> <command:nonTerminatingErrors> </command:nonTerminatingErrors> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para>The policy must not have any associated Items that are protected. If you need to delete the policy, ensure that each associated item is protected with some other policy first. To associate another policy with a backup item, use the Enable-AzureRmBackupProtection commandlet.</maml:para> <maml:para>Keywords: azure, azurerm, arm, resource, management, manager, backup</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- Remove a specified policy --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>Get-AzureRmBackupProtectionPolicy -Vault $v -Name DailyBackup | Remove-AzureRmBackupProtectionPolicy</dev:code> <dev:remarks> <maml:para>In this example, we fetch a policy named "DailyBackup" and pipe the policy object to the Remove commandlet.</maml:para> <maml:para /> <maml:para /> <maml:para>None</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureRmBackupProtectionPolicy</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>New-AzureRmBackupProtectionPolicy</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> </maml:relatedLinks> </command:command> <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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> <command:name>Remove-AzureRmBackupVault</command:name> <maml:description> <maml:para>Deletes the Azure Backup vault object based on the parameters that are specified.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Remove</command:verb> <command:noun>AzureRMBackupVault</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Remove-AzureRmBackupVault commandlet deletes the backup vault. However, before a vault can be removed, it must first be empty – it must contain no backup data or protected items or registered servers. This ensures that a vault cannot be deleted inadvertently; the deletion of a backup vault is a planned operation.</maml:para> <maml:para>Use the Remove-AzureRmBackupContainer commandlet to clear up IaaS VM backup data from the vault, or use the Delete-RegisteredServer commandlet to clear up other registered servers and backup data.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Remove-AzureRmBackupVault</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Vault</maml:name> <maml:description> <maml:para>The specific Azure Backup vault object which needs to be removed. Use the Get-AzureRmBackupVault to get a list of vaults.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupVault</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Vault</maml:name> <maml:description> <maml:para>The specific Azure Backup vault object which needs to be removed. Use the Get-AzureRmBackupVault to get a list of vaults.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupVault</command:parameterValue> <dev:type> <maml:name>AzureRMBackupVault</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>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>AzureRMBackupVault</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that you can pipe to the cmdlet.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para /> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors> </command:terminatingErrors> <command:nonTerminatingErrors> </command:nonTerminatingErrors> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para>None</maml:para> <maml:para>Keywords: azure, azurerm, arm, resource, management, manager, backup</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- Delete an Azure Backup vault --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>Get-AzureRmBackupVault -Name "myvault" | Remove-AzureRmBackupVault</dev:code> <dev:remarks> <maml:para /> <maml:para /> <maml:para /> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>RemoveAzureRMBackupContainer</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>New-AzureRmBackupVault</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureRmBackupVault</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureRmBackupVault</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> </maml:relatedLinks> </command:command> <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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> <command:name>Restore-AzureRmBackupItem</command:name> <maml:description> <maml:para>Restores the data and config for a point in time</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Restore</command:verb> <command:noun>AzureRMBackupItem</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>In order to restore backup data, you need to identify the backed-up item and the recovery point that holds the point-in-time data that needs to be restored. This information is supplied to the Restore-AzureRmBackupItem commandlet to initiate a restore of data from the vault to the customer's account.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Restore-AzureRmBackupItem</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1"> <maml:name>StorageAccountName</maml:name> <maml:description> <maml:para>The target storage account name in the customer subscription. As a part of the restore process, the disks and the config information will be placed in this storage account.</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="0"> <maml:name>RecoveryPoint</maml:name> <maml:description> <maml:para>The recovery point object that has information about which specific point-in-time needs to be restored.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupRecoveryPoint</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1"> <maml:name>StorageAccountName</maml:name> <maml:description> <maml:para>The target storage account name in the customer subscription. As a part of the restore process, the disks and the config information will be placed in this storage account.</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="0"> <maml:name>RecoveryPoint</maml:name> <maml:description> <maml:para>The recovery point object that has information about which specific point-in-time needs to be restored.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupRecoveryPoint</command:parameterValue> <dev:type> <maml:name>AzureRMBackupRecoveryPoint</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>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>AzureRMBackupRecoveryPoint</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that you can pipe to the cmdlet. </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>AzureRMBackupJob</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that the cmdlet emits. </maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors> </command:terminatingErrors> <command:nonTerminatingErrors> </command:nonTerminatingErrors> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para>Triggering a restore operation in PowerShell does not restore the full VM. It restores only the disk data and config information. The user has to additionally create the VM and start it after the restore operation has completed.</maml:para> <maml:para>Keywords: azure, azurerm, arm, resource, management, manager, backup</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- Restore a recovery point --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>$rp = Get-AzureRmBackupContainer -Type AzureVM -Status Registered -Vault $v | Get-AzureRmBackupItem | Get-AzureRmBackupRecoveryPoint PS C:\> Restore-AzureRmBackupItem -StorageAccountName "destaccount" -RecoveryPoint $rp</dev:code> <dev:remarks> <maml:para /> <maml:para /> <maml:para /> <maml:para>WorkloadName Operation Status StartTime EndTime ------------ --------- ------ --------- ------- test-vm Restore InProgress 26-Aug-15 1:14:01 PM 01-Jan-01 12:00:00 AM</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> </maml:relatedLinks> </command:command> <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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> <command:name>Set-AzureRmBackupProtectionPolicy</command:name> <maml:description> <maml:para>Update an existing protection policy</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Set</command:verb> <command:noun>AzureRMBackupProtectionPolicy</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The protection policy has multiple components: - Name - Backup schedule - Retention policies</maml:para> <maml:para>This commandlet allows you to update one or more of the components of the policy. The change might affect the backup and retention of the items associated with the policy.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Set-AzureRmBackupProtectionPolicy</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1"> <maml:name>NewName</maml:name> <maml:description> <maml:para>An optional parameter that specifies the new name for the policy. As with any policy, this value should be unique within a vault</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="4"> <maml:name>BackupTime</maml:name> <maml:description> <maml:para>An optional parameter that specifies the new backup time for the policy.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="5"> <maml:name>RetentionPolicy</maml:name> <maml:description> <maml:para>An optional parameter that specifies one or more new retention policies to be associated with the protection policy.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">AzureRMBackupRetentionPolicy[]</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>ProtectionPolicy</maml:name> <maml:description> <maml:para>The protection policy object that refers to the original policy that this commandlet will update.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupProtectionPolicy</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Set-AzureRmBackupProtectionPolicy</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1"> <maml:name>NewName</maml:name> <maml:description> <maml:para>An optional parameter that specifies the new name for the policy. As with any policy, this value should be unique within a vault</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="2"> <maml:name>Daily</maml:name> <maml:description> <maml:para>An optional parameter that sets the backup operation to run at a Daily schedule. Refer to New-AzureRmBackupProtectionPolicy for examples.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4"> <maml:name>BackupTime</maml:name> <maml:description> <maml:para>An optional parameter that specifies the new backup time for the policy.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="5"> <maml:name>RetentionPolicy</maml:name> <maml:description> <maml:para>An optional parameter that specifies one or more new retention policies to be associated with the protection policy.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">AzureRMBackupRetentionPolicy[]</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>ProtectionPolicy</maml:name> <maml:description> <maml:para>The protection policy object that refers to the original policy that this commandlet will update.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupProtectionPolicy</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Set-AzureRmBackupProtectionPolicy</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1"> <maml:name>NewName</maml:name> <maml:description> <maml:para>An optional parameter that specifies the new name for the policy. As with any policy, this value should be unique within a vault</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="3"> <maml:name>Weekly</maml:name> <maml:description> <maml:para>An optional parameter that sets the backup operation to run at a Weekly schedule. Refer to New-AzureRmBackupProtectionPolicy for examples.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4"> <maml:name>BackupTime</maml:name> <maml:description> <maml:para>An optional parameter that specifies the new backup time for the policy.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">DateTime</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="5"> <maml:name>RetentionPolicy</maml:name> <maml:description> <maml:para>An optional parameter that specifies one or more new retention policies to be associated with the protection policy.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">AzureRMBackupRetentionPolicy[]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="6"> <maml:name>DaysOfWeek</maml:name> <maml:description> <maml:para>An optional parameter that sets the backup operation to run on specific days of the week. Used in conjunction with the -Weekly parameter. Refer to New-AzureRmBackupProtectionPolicy for examples.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>ProtectionPolicy</maml:name> <maml:description> <maml:para>The protection policy object that refers to the original policy that this commandlet will update.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupProtectionPolicy</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1"> <maml:name>NewName</maml:name> <maml:description> <maml:para>An optional parameter that specifies the new name for the policy. As with any policy, this value should be unique within a vault</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="4"> <maml:name>BackupTime</maml:name> <maml:description> <maml:para>An optional parameter that specifies the new backup time for the policy.</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="true" globbing="false" pipelineInput="false" position="5"> <maml:name>RetentionPolicy</maml:name> <maml:description> <maml:para>An optional parameter that specifies one or more new retention policies to be associated with the protection policy.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">AzureRMBackupRetentionPolicy[]</command:parameterValue> <dev:type> <maml:name>AzureRMBackupRetentionPolicy[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>ProtectionPolicy</maml:name> <maml:description> <maml:para>The protection policy object that refers to the original policy that this commandlet will update.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupProtectionPolicy</command:parameterValue> <dev:type> <maml:name>AzureRMBackupProtectionPolicy</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>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Daily</maml:name> <maml:description> <maml:para>An optional parameter that sets the backup operation to run at a Daily schedule. Refer to New-AzureRmBackupProtectionPolicy for examples.</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="3"> <maml:name>Weekly</maml:name> <maml:description> <maml:para>An optional parameter that sets the backup operation to run at a Weekly schedule. Refer to New-AzureRmBackupProtectionPolicy for examples.</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="true" globbing="false" pipelineInput="false" position="6"> <maml:name>DaysOfWeek</maml:name> <maml:description> <maml:para>An optional parameter that sets the backup operation to run on specific days of the week. Used in conjunction with the -Weekly parameter. Refer to New-AzureRmBackupProtectionPolicy for examples.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue> <dev:type> <maml:name>String[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>AzureRMBackupProtectionPolicy</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that you can pipe to the cmdlet.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors> </command:terminatingErrors> <command:nonTerminatingErrors> </command:nonTerminatingErrors> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para>None</maml:para> <maml:para>Keywords: azure, azurerm, arm, resource, management, manager, backup</maml:para> </maml:alert> </maml:alertSet> <command:examples> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>New-AzureRmBackupProtectionPolicy</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> </maml:relatedLinks> </command:command> <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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> <command:name>Set-AzureRmBackupVault</command:name> <maml:description> <maml:para>Changes the properties of the Azure Backup vault object based on the parameters that are specified.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Set</command:verb> <command:noun>AzureRMBackupVault</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Set-AzureRmBackupVault commandlet allows you to change the storage type of the backup vault. The other parameters like Region, Name, and ResourceGroupName are not editable.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Set-AzureRmBackupVault</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Storage</maml:name> <maml:description> <maml:para>Users can choose between LocallyRedundant and GeoRedundant as the storage for the backup data.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureBackupVaultStorageType</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Vault</maml:name> <maml:description> <maml:para>The specific Azure Backup vault object for which the properties need to be updated. Use the Get-AzureRmBackupVault to get a list of vaults.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupVault</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Storage</maml:name> <maml:description> <maml:para>Users can choose between LocallyRedundant and GeoRedundant as the storage for the backup data.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureBackupVaultStorageType</command:parameterValue> <dev:type> <maml:name>AzureBackupVaultStorageType</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Vault</maml:name> <maml:description> <maml:para>The specific Azure Backup vault object for which the properties need to be updated. Use the Get-AzureRmBackupVault to get a list of vaults.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupVault</command:parameterValue> <dev:type> <maml:name>AzureRMBackupVault</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>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>AzureRMBackupVault</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that you can pipe to the cmdlet.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para /> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors> </command:terminatingErrors> <command:nonTerminatingErrors> </command:nonTerminatingErrors> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para>The storage type is locked on the registration of the first server or virtual machine, and cannot be changed afterwards.</maml:para> <maml:para>Keywords: azure, azurerm, arm, resource, management, manager, backup</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- Change the storage for an existing vault --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>Get-AzureRmBackupVault –Name “myvault” | Set-AzureRmBackupVault –Storage LocallyRedundant</dev:code> <dev:remarks> <maml:para /> <maml:para /> <maml:para /> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>New-AzureRmBackupVault</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureRmBackupVault</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureRmBackupVault</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> </maml:relatedLinks> </command:command> <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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> <command:name>Stop-AzureRmBackupJob</command:name> <maml:description> <maml:para>Cancels an ongoing Azure Backup job</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Stop</command:verb> <command:noun>AzureRMBackupJob</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>This commandlet cancels an existing Azure Backup job. This is particularly helpful if the job is taking too long and is blocking other activities. </maml:para> <maml:para>The types of jobs that can be stopped are: - Backup - Restore</maml:para> <maml:para>All other job types are not cancellable. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Stop-AzureRmBackupJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Vault</maml:name> <maml:description> <maml:para>Use the Get-AzureRmBackupVault to get a list of vaults.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupVault</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>JobID</maml:name> <maml:description> <maml:para>The GUID that uniquely identifies a job in the Azure Backup service. Use the Get-AzureRmBackupJob commandlet to get one or more jobs. From the AzureRMBackupJob object, use the InstanceId field for this value.</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>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Stop-AzureRmBackupJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Job</maml:name> <maml:description> <maml:para>The job object that contains information about the job. The commandlet will attempt to stop (or cancel) this job.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupJob</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Vault</maml:name> <maml:description> <maml:para>Use the Get-AzureRmBackupVault to get a list of vaults.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupVault</command:parameterValue> <dev:type> <maml:name>AzureRMBackupVault</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>JobID</maml:name> <maml:description> <maml:para>The GUID that uniquely identifies a job in the Azure Backup service. Use the Get-AzureRmBackupJob commandlet to get one or more jobs. From the AzureRMBackupJob object, use the InstanceId field for this value.</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>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</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>The job object that contains information about the job. The commandlet will attempt to stop (or cancel) this job.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupJob</command:parameterValue> <dev:type> <maml:name>AzureRMBackupJob</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>AzureRMBackupJob</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that you can pipe to the cmdlet.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para /> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors> </command:terminatingErrors> <command:nonTerminatingErrors> </command:nonTerminatingErrors> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para>None</maml:para> <maml:para>Keywords: azure, azurerm, arm, resource, management, manager, backup</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- Stop a backup job with a job ID --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>$j = Get-AzureRmBackupJob -Vault $v -Operation Backup PS C:\> Stop-AzureRmBackupJob -Vault $v -JobID $j.InstanceId</dev:code> <dev:remarks> <maml:para /> <maml:para /> <maml:para /> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>-------------------------- Stop all running Restore operations --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>Get-AzureRmBackupJob -Vault $v -Operation Restore | Stop-AzureRmBackupJob</dev:code> <dev:remarks> <maml:para>In this example, the AzureRMBackupJob objects returned by the Get-AzureRmBackupJob commandlet are piped to the Stop-AzureRmBackupJob commandlet.</maml:para> <maml:para /> <maml:para /> <maml:para> </maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> </maml:relatedLinks> </command:command> <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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> <command:name>Unregister-AzureRmBackupContainer</command:name> <maml:description> <maml:para>Unregisters the specified Windows Server or Azure virtual machine from the Azure Backup vault.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Unregister</command:verb> <command:noun>AzureRMBackupContainer</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Unregister command works on an Container object. It removes references of this container from the Azure Backup vault. Before you can Unregister a Container, any protected data associated with the Container needs to be deleted.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Unregister-AzureRmBackupContainer</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Force</maml:name> <maml:description> <maml:para>When applied to an AzureBackupContainer of type Windows, this will not prompt the user for explicit consent before deleting data from the Azure Backup vault.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Container</maml:name> <maml:description> <maml:para>The Windows Server or Azure virtual machine that should be unregistered.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupContainer</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Force</maml:name> <maml:description> <maml:para>When applied to an AzureBackupContainer of type Windows, this will not prompt the user for explicit consent before deleting data from the Azure Backup vault.</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="0"> <maml:name>Container</maml:name> <maml:description> <maml:para>The Windows Server or Azure virtual machine that should be unregistered.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureRMBackupContainer</command:parameterValue> <dev:type> <maml:name>AzureRMBackupContainer</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>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>Container of type [AzureBackupContainer]</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that you can pipe to the cmdlet.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>AzureBackupJob - For containers of type Windows Server, the return value is $null</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that the cmdlet emits.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors> </command:terminatingErrors> <command:nonTerminatingErrors> </command:nonTerminatingErrors> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para>None</maml:para> <maml:para>Keywords: azure, azurerm, arm, resource, management, manager, backup</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- Unregister a Windows Server with user prompt --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>$c = Get-AzureRmBackupContainer -vault $v -type Windows -name "server1.contoso.com" PS C:\> Unregister-AzureRmBackupContainer -container $c[0]</dev:code> <dev:remarks> <maml:para>The user first gets the container that needs to be unregistered using the Get-AzureRmBackupContainer commandlet. This container object is passed to the unregister commandlet. This unregisters the specified Windows Server from the Azure Backup vault.</maml:para> <maml:para /> <maml:para /> <maml:para>Unregister Server This operation will delete all data in the backup vault that is associated with the server. Are you sure you want to unregister the server? [] Yes [] No [?] Help (default is "No"): Yes</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>-------------------------- Unregister a Windows Server without confirmation prompt --------------------------</maml:title> <maml:introduction> <maml:paragraph>PS C:\></maml:paragraph> </maml:introduction> <dev:code>Unregister-AzureRmBackupContainer -container $c –force</dev:code> <dev:remarks> <maml:para>The -Force option does not ask the user for confirmation before deleting the data and unregistering the server.</maml:para> <maml:para /> <maml:para /> <maml:para>None</maml:para> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText> <maml:para /> </command:commandText> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureRmBackupContainer</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> </maml:relatedLinks> </command:command> <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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <!--Generated by PS Cmdlet Help Editor--> <command:details> <command:name>Wait-AzureRmBackupJob</command:name> <maml:description> <maml:para>Waits for an Azure Backup job to complete</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Wait</command:verb> <command:noun>AzureRMBackupJob</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>Long running operations are tracked in the Azure Backup service using jobs. To script out a workflow sequence that involves such a long running operations, the script has to wait for the operation to finish before starting the next one. This commandlet allows the script to pause until the job completes.</maml:para> <maml:para>Scripting with this commandlet makes the script code simpler with no need to "poll" for the job status.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Wait-AzureRmBackupJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Job</maml:name> <maml:description> <maml:para>The job object that contains information about the job. The commandlet will wait for this job to complete.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Object</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>TimeOut</maml:name> <maml:description> <maml:para>The maximum time (in seconds) that the commandlet should wait for the job to complete. It is advised that a timeout value should always be specified to prevent infinite waiting. In order to wait 24 hours, set the timeout value to 86400.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">Nullable`1[Int64]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Job</maml:name> <maml:description> <maml:para>The job object that contains information about the job. The commandlet will wait for this job to complete.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Object</command:parameterValue> <dev:type> <maml:name>Object</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>TimeOut</maml:name> <maml:description> <maml:para>The maximum time (in seconds) that the commandlet should wait for the job to complete. It is advised that a timeout value should always be specified to prevent infinite waiting. In order to wait 24 hours, set the timeout value to 86400.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">Nullable`1[Int64]</command:parameterValue> <dev:type> <maml:name>Nullable`1[Int64]</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>Profile</maml:name> <maml:description> <maml:para>Non-mandatory AzureProfile input object</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue> </dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>AzureRMBackupJob</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that you can pipe to the cmdlet.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>AzureRMBackupJob object (or) Array of AzureRMBackupJob objects</maml:name> <maml:uri> </maml:uri> <maml:description /> </dev:type> <maml:description> <maml:para>This section details out the type of the objects that the cmdlet emits.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors> </command:terminatingErrors> <command:nonTerminatingErrors> </command:nonTerminatingErrors> <maml:alertSet> <maml:title> </maml:title> <maml:alert> <maml:para /> <maml:para>Keywords: azure, azurerm, arm, resource, management, manager, backup</maml:para> </maml:alert> </maml:alertSet> <command:examples> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureRmBackupJob</maml:linkText> <maml:uri> </maml:uri> </maml:navigationLink> </maml:relatedLinks> </command:command> </helpItems> |