StorSimple/Microsoft.WindowsAzure.Commands.StorSimple.dll-help.xml
<?xml version="1.0" encoding="utf-8"?>
<helpItems xmlns="http://msh" 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"> <command:details> <command:name>Confirm-AzureStorSimpleLegacyVolumeContainerStatus</command:name> <maml:description> <maml:para>Initiates the commit or rollback of the volume containers that are migrated.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Confirm</command:verb> <command:noun>AzureStorSimpleLegacyVolumeContainerStatus</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Confirm-AzureStorSimpleLegacyVolumeContainerStatus cmdlet initiates the commit or rollback of the volume containers that are migrated as part of a legacy migration. The rollback restores the appliance to the original ownership. The commit assigns the ownership to the target appliance.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Confirm-AzureStorSimpleLegacyVolumeContainerStatus</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>LegacyConfigId</maml:name> <maml:description> <maml:para>Specifies the unique ID of the configuration of the legacy appliance.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>MigrationOperation</maml:name> <maml:description> <maml:para>Specifies whether this cmdlet performs a commit or rollback. Valid values are: Commit and Rollback.</maml:para> </maml:description> <command:parameterValueGroup> <command:parameterValue required="true" variableLength="false">Commit</command:parameterValue> <command:parameterValue required="true" variableLength="false">Rollback</command:parameterValue> </command:parameterValueGroup> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>All</maml:name> <maml:description> <maml:para>Indicates that this cmdlet initiates a roll back or commit operation on all volume containers in the imported configuration file.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Confirm-AzureStorSimpleLegacyVolumeContainerStatus</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>LegacyConfigId</maml:name> <maml:description> <maml:para>Specifies the unique ID of the configuration of the legacy appliance.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>MigrationOperation</maml:name> <maml:description> <maml:para>Specifies whether this cmdlet performs a commit or rollback. Valid values are: Commit and Rollback.</maml:para> </maml:description> <command:parameterValueGroup> <command:parameterValue required="true" variableLength="false">Commit</command:parameterValue> <command:parameterValue required="true" variableLength="false">Rollback</command:parameterValue> </command:parameterValueGroup> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>LegacyContainerNames</maml:name> <maml:description> <maml:para>Specifies an array of volume container names for which the migration plan applies.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">System.String[]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>All</maml:name> <maml:description> <maml:para>Indicates that this cmdlet initiates a roll back or commit operation on all volume containers in the imported configuration file.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>LegacyConfigId</maml:name> <maml:description> <maml:para>Specifies the unique ID of the configuration of the legacy appliance.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>LegacyContainerNames</maml:name> <maml:description> <maml:para>Specifies an array of volume container names for which the migration plan applies.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">System.String[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>MigrationOperation</maml:name> <maml:description> <maml:para>Specifies whether this cmdlet performs a commit or rollback. Valid values are: Commit and Rollback.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Initiate a commit operation on a specific volume container</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Confirm-AzureStorSimpleLegacyVolumeContainerStatus -LegacyConfigId "c5a831e1-7888-44f4-adf1-92994be630c3" -LegacyContainerNames "OneSDKAzureCloud" -MigrationOperation Commit Please check the commit/discard status using Get-AzureStorSimpleLegacyVolumeContainerConfirmStatus </dev:code> <dev:remarks> <maml:para>This command initiates a commit operation on the specified volume container for the specified legacy configuration ID. To see the status of the operation, use the Get-AzureStorSimpleLegacyVolumeContainerStatus cmdlet. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Initiate a rollback operation on a specific volume container</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Confirm-AzureStorSimpleLegacyVolumeContainerStatus -LegacyConfigId "c5a831e1-7888-44f4-adf1-92994be630c3" -LegacyContainerNames "OneSDKAzureCloud" -MigrationOperation Rollback Please check the commit/discard status using Get-AzureStorSimpleLegacyVolumeContainerConfirmStatus </dev:code> <dev:remarks> <maml:para>This command initiates a rollback operation on the specified volume container for the specified legacy configuration ID. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 3: Initiate a commit operation on all volume containers</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Confirm-AzureStorSimpleLegacyVolumeContainerStatus -LegacyConfigId "c5a831e1-7888-44f4-adf1-92994be630c3" -MigrationOperation Commit -All Please check the commit/discard status using Get-AzureStorSimpleLegacyVolumeContainerConfirmStatus </dev:code> <dev:remarks> <maml:para>This command initiates a commit operation on all volume container for the specified legacy configuration ID.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 4: Initiate a rollback operation on all volume containers</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Confirm-AzureStorSimpleLegacyVolumeContainerStatus -LegacyConfigId "c5a831e1-7888-44f4-adf1-92994be630c3" -MigrationOperation Rollback -All Please check the commit/discard status using Get-AzureStorSimpleLegacyVolumeContainerConfirmStatus </dev:code> <dev:remarks> <maml:para>This command initiates a rollback operation on all volume containers for the specified legacy configuration ID. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleLegacyVolumeContainerStatus</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleLegacyVolumeContainerConfirmStatus</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleLegacyVolumeContainerMigrationPlan</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Get-AzureStorSimpleAccessControlRecord</command:name> <maml:description> <maml:para>Gets access control records in a service configuration.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureStorSimpleAccessControlRecord</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Get-AzureStorSimpleAccessControlRecord cmdlet gets access control records in the StorSimple Manager service configuration. This cmdlet gets all records or a named record.</maml:para> <maml:para>Access control records are containers of iSCSI initiator parameters. These parameters specify which initiators can access a volume. When an iSCSI initiator attempts to connect to a volume, your appliance checks the access control records assigned to that volume. If the iSCSI initiator parameters match one of the entries in an access control record mapped to that volume, the iSCSI initiator can connect.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureStorSimpleAccessControlRecord</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="Name"> <maml:name>ACRName</maml:name> <maml:description> <maml:para>Specifies the name of an access control record to get.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="Name"> <maml:name>ACRName</maml:name> <maml:description> <maml:para>Specifies the name of an access control record to get.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>AccessControlRecord, IList<AccessControlRecord></maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns an AccessControlRecord object or an IList<AccessControlRecord> object. An AccessControlRecord object contains the following fields: -- GlobalId (String) -- InitiatorName (String) -- InstanceId (String) -- Name (String) -- OperationInProgress (OperationInProgress) -- VolumeCount (int)</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Get all access control records</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleAccessControlRecord InstanceId Name InitiatorName VolumeCount ---------- ---- ------------- ----------- 01a31aa5-14de-4b77-b926-2842577f540e Windows_XYUSFL718-RV_ACR iqn.1991-05.com.microsof... 3 071c282d-0cd2-4c5f-b687-48966037ba48 Linux_XYUSFL719_ACR iqn.1994-05.com.redhat:a... 3 4600eade-71f8-4d04-baec-0e7cf1d1e8fb Windows_XYUSFL720_ACR iqn.1991-05.com.microsof... 9 d508d6f0-fcda-4624-b223-c0b307d6113e Linux_XYUSFL350_ACR iqn.1991-05.com.microsof... 9 </dev:code> <dev:remarks> <maml:para>This command gets all access control records.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Get a specific access control record</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleAccessControlRecord -ACRName "Acr11" VERBOSE: ClientRequestId: 61f261c7-acd3-4bcc-922a-ddfd85eb767b_PS VERBOSE: ClientRequestId: 49c6a4c7-d299-46fd-a553-034c52b47487_PS GlobalId : InitiatorName : iqn-contoso63 InstanceId : 55f24643-ab3a-4098-ade2-aa2b1a3ab18c Name : Acr11 OperationInProgress : None VolumeCount : 6 VERBOSE: Access Control Record with given name Acr11 is found! </dev:code> <dev:remarks> <maml:para>This command gets the access control record named Acr11.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>New-AzureStorSimpleAccessControlRecord</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureStorSimpleAccessControlRecord</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureStorSimpleAccessControlRecord</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Get-AzureStorSimpleDeviceBackupPolicy</command:name> <maml:description> <maml:para>Gets backup policies.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureStorSimpleDeviceBackupPolicy</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Get-AzureStorSimpleDeviceBackupPolicy cmdlet gets backup policies. This cmdlet returns a BackupPolicy object or a list of all the BackupPolicy objects that belong to a device. The backup policy objects contain the following properties: -- Name -- InstanceId -- BackupPolicyCreationType -- LastBackup -- NextBackup -- SchedulesCount -- SSMHostName -- VolumesCount</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureStorSimpleDeviceBackupPolicy</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which to create the backup policy.</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" aliases="Name"> <maml:name>BackupPolicyName</maml:name> <maml:description> <maml:para>Specifies the name of the backup policy to get. If you do not specify this parameter, this cmdlet gets all policies.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="Name"> <maml:name>BackupPolicyName</maml:name> <maml:description> <maml:para>Specifies the name of the backup policy to get. If you do not specify this parameter, this cmdlet gets all policies.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which to create the backup 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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>IList<BackupPolicy>, BackupPolicyDetails</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a BackupPolicyDetails object, if you specify the BackupPolicyName parameter. If you do not specify that parameter, it returns an IList<BackupPolicy> object. </maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Get details for a policy</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleDeviceBackupPolicy -DeviceName "Contoso63-AppVm" -BackupPolicyName "GeneralBackupPolicy07" VERBOSE: ClientRequestId: 2a878cd6-8432-4646-8be8-a0cb0750958e_PS VERBOSE: ClientRequestId: 00ea5a6d-8c27-4e22-b182-5969cdbb8033_PS VERBOSE: ClientRequestId: 39dac9ff-4455-45ae-ae3d-7de1445b9520_PS BackupSchedules : {8658e3a2-8a59-4d43-8725-ab0c95665301} Volumes : {testvolume03, testvolume05} BackupPolicyCreationType : BySaaS LastBackup : NextBackup : 16-12-2014 00:30:00 SchedulesCount : 1 SSMHostName : VolumesCount : 2 InstanceId : 84140a6a-9254-4fff-8d09-ae40e9f1bc7d Name : GeneralBackupPolicy07 OperationInProgress : None VERBOSE: BackupPolicy with id 84140a6a-9254-4fff-8d09-ae40e9f1bc7d found! </dev:code> <dev:remarks> <maml:para>This command gets a BackupPolicyDetails object named GeneralBackupPolicy07 on the device named Contoso63-AppVm. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Get a list of backup policies</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleDeviceBackupPolicy -DeviceName "Contoso63-AppVm" InstanceId Name SchedulesCount VolumesCount BackupPolicyCreationType LastBackup NextBackup SSMHostName ---------- ---- -------------- ------------ ------------------------ ---------- ---------- ----------- 13db29a4-bba9-4871-b872-db1fa0506b16 VG Clones 1 2 BySaaS 4/15/2015 8:30:02 AM 4/15/2015 8:30:00 PM 2dcd3002-13c4-4bdb-a1ef-b35ce0a29416 vg-all 1 4 BySaaS 3/27/2015 9:12:15 PM 1/1/2010 5:30:00 AM 54828d08-8309-4bd4-828f-21904863fb4c Cloud_Snapshot_Vol3_clone VG 1 1 BySaaS 4/15/2015 9:00:03 AM 4/17/2015 9:00:30 AM 6a51f39e-0ec9-4c57-8ec9-14a9255efa95 Test Group 0 2 BySaaS 3/27/2015 1:47:00 AM 1/1/2010 5:30:00 AM 81c2db43-38f7-45fc-b2f2-476d1f6039a7 Cloud_Snapshot_Vol1_clone VG 1 1 BySaaS 4/15/2015 7:30:02 AM 4/17/2015 7:30:00 AM 82c4a5be-7473-431f-86e7-9db31ee9a9f8 Cloud_Snapshot_vg-all 1 4 BySaaS 4/15/2015 11:30:02 AM 4/15/2015 3:30:00 PM cda96e83-3b38-4345-a56d-c8a96a0e57b3 Snapshot_vg-all 1 4 BySaaS 4/15/2015 1:30:02 PM 4/15/2015 3:30:00 PM </dev:code> <dev:remarks> <maml:para>This command lists the BackupPolicy objects on the device named Contoso63-AppVm. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>New-AzureStorSimpleDeviceBackupPolicy</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureStorSimpleDeviceBackupPolicy</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureStorSimpleDeviceBackupPolicy</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Get-AzureStorSimpleDeviceBackup</command:name> <maml:description> <maml:para>Gets backups from a device.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureStorSimpleDeviceBackup</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Get-AzureStorSimpleDeviceBackup cmdlet gets backups from a device. You can specify the backup policy, volume, and creation time for backups. </maml:para> <maml:para>This cmdlet can return a maximum of 100 backups in the first page. If more than 100 backups exist, retrieve subsequent pages by using the First and Skip parameters. If you specify a value of 100 for Skip and 50 for First, this cmdlet does not return the first 100 results. It returns the next 50 results after the 100 that it skips. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureStorSimpleDeviceBackup</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device for which to get backups. </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="2" aliases="BackupPolicyDetails"> <maml:name>BackupPolicy</maml:name> <maml:description> <maml:para>Specifies a BackupPolicyDetails object. This cmdlet uses the InstanceId of this object to determine which backups to get. To obtain a BackupPolicyDetails object, use the Get-AzureStorSimpleDeviceBackupPolicy cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">BackupPolicyDetails</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>From</maml:name> <maml:description> <maml:para>Specifies the start date and time for the backups that this cmdlet gets.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>To</maml:name> <maml:description> <maml:para>Specifies the end date and time for the backups that this cmdlet gets.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>First</maml:name> <maml:description> <maml:para>Gets only the specified number of objects. Enter the number of objects to get.</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>false</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Skip</maml:name> <maml:description> <maml:para>Ignores the specified number of objects and then gets the remaining objects. Enter the number of objects to skip.</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>false</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeTotalCount</maml:name> <maml:description> <maml:para>Reports the total number of objects in the data set (an integer) followed by the selected objects. If the cmdlet cannot determine the total count, it displays "Unknown total count." The integer has an Accuracy property that indicates the reliability of the total count value. The value of Accuracy ranges from 0.0 to 1.0 where 0.0 means that the cmdlet could not count the objects, 1.0 means that the count is exact, and a value between 0.0 and 1.0 indicates an increasingly reliable estimate.</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>false</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureStorSimpleDeviceBackup</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device for which to get backups. </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" aliases="none"> <maml:name>BackupPolicyId</maml:name> <maml:description> <maml:para>Specifies an instance ID of a backup policy. This cmdlet gets device backups for policy that this parameter specifies.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>From</maml:name> <maml:description> <maml:para>Specifies the start date and time for the backups that this cmdlet gets.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>To</maml:name> <maml:description> <maml:para>Specifies the end date and time for the backups that this cmdlet gets.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>First</maml:name> <maml:description> <maml:para>Gets only the specified number of objects. Enter the number of objects to get.</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>false</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Skip</maml:name> <maml:description> <maml:para>Ignores the specified number of objects and then gets the remaining objects. Enter the number of objects to skip.</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>false</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeTotalCount</maml:name> <maml:description> <maml:para>Reports the total number of objects in the data set (an integer) followed by the selected objects. If the cmdlet cannot determine the total count, it displays "Unknown total count." The integer has an Accuracy property that indicates the reliability of the total count value. The value of Accuracy ranges from 0.0 to 1.0 where 0.0 means that the cmdlet could not count the objects, 1.0 means that the count is exact, and a value between 0.0 and 1.0 indicates an increasingly reliable estimate.</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>false</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureStorSimpleDeviceBackup</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device for which to get backups. </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" aliases="none"> <maml:name>From</maml:name> <maml:description> <maml:para>Specifies the start date and time for the backups that this cmdlet gets.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>To</maml:name> <maml:description> <maml:para>Specifies the end date and time for the backups that this cmdlet gets.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>First</maml:name> <maml:description> <maml:para>Gets only the specified number of objects. Enter the number of objects to get.</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>false</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Skip</maml:name> <maml:description> <maml:para>Ignores the specified number of objects and then gets the remaining objects. Enter the number of objects to skip.</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>false</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeTotalCount</maml:name> <maml:description> <maml:para>Reports the total number of objects in the data set (an integer) followed by the selected objects. If the cmdlet cannot determine the total count, it displays "Unknown total count." The integer has an Accuracy property that indicates the reliability of the total count value. The value of Accuracy ranges from 0.0 to 1.0 where 0.0 means that the cmdlet could not count the objects, 1.0 means that the count is exact, and a value between 0.0 and 1.0 indicates an increasingly reliable estimate.</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>false</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureStorSimpleDeviceBackup</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device for which to get backups. </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" aliases="none"> <maml:name>VolumeId</maml:name> <maml:description> <maml:para>Specifies the instance ID of the volume in which backups exist.</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" aliases="none"> <maml:name>From</maml:name> <maml:description> <maml:para>Specifies the start date and time for the backups that this cmdlet gets.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>To</maml:name> <maml:description> <maml:para>Specifies the end date and time for the backups that this cmdlet gets.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>First</maml:name> <maml:description> <maml:para>Gets only the specified number of objects. Enter the number of objects to get.</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>false</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Skip</maml:name> <maml:description> <maml:para>Ignores the specified number of objects and then gets the remaining objects. Enter the number of objects to skip.</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>false</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeTotalCount</maml:name> <maml:description> <maml:para>Reports the total number of objects in the data set (an integer) followed by the selected objects. If the cmdlet cannot determine the total count, it displays "Unknown total count." The integer has an Accuracy property that indicates the reliability of the total count value. The value of Accuracy ranges from 0.0 to 1.0 where 0.0 means that the cmdlet could not count the objects, 1.0 means that the count is exact, and a value between 0.0 and 1.0 indicates an increasingly reliable estimate.</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>false</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureStorSimpleDeviceBackup</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device for which to get backups. </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="2" aliases="VirtualDiskInfo"> <maml:name>Volume</maml:name> <maml:description> <maml:para>Specifies a VirtualDisk object. This cmdlet uses the InstanceId of this object to determine the volume in which backups exist. To obtain a VirtualDisk object, use the Get-AzureStorSimpleDeviceVolume parameter.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">VirtualDisk</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>From</maml:name> <maml:description> <maml:para>Specifies the start date and time for the backups that this cmdlet gets.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>To</maml:name> <maml:description> <maml:para>Specifies the end date and time for the backups that this cmdlet gets.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>First</maml:name> <maml:description> <maml:para>Gets only the specified number of objects. Enter the number of objects to get.</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>false</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Skip</maml:name> <maml:description> <maml:para>Ignores the specified number of objects and then gets the remaining objects. Enter the number of objects to skip.</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>false</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeTotalCount</maml:name> <maml:description> <maml:para>Reports the total number of objects in the data set (an integer) followed by the selected objects. If the cmdlet cannot determine the total count, it displays "Unknown total count." The integer has an Accuracy property that indicates the reliability of the total count value. The value of Accuracy ranges from 0.0 to 1.0 where 0.0 means that the cmdlet could not count the objects, 1.0 means that the count is exact, and a value between 0.0 and 1.0 indicates an increasingly reliable estimate.</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>false</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue)" position="2" aliases="BackupPolicyDetails"> <maml:name>BackupPolicy</maml:name> <maml:description> <maml:para>Specifies a BackupPolicyDetails object. This cmdlet uses the InstanceId of this object to determine which backups to get. To obtain a BackupPolicyDetails object, use the Get-AzureStorSimpleDeviceBackupPolicy cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">BackupPolicyDetails</command:parameterValue> <dev:type> <maml:name>BackupPolicyDetails</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>BackupPolicyId</maml:name> <maml:description> <maml:para>Specifies an instance ID of a backup policy. This cmdlet gets device backups for policy that this parameter specifies.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device for which to get backups. </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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>From</maml:name> <maml:description> <maml:para>Specifies the start date and time for the backups that this cmdlet gets.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>To</maml:name> <maml:description> <maml:para>Specifies the end date and time for the backups that this cmdlet gets.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue)" position="2" aliases="VirtualDiskInfo"> <maml:name>Volume</maml:name> <maml:description> <maml:para>Specifies a VirtualDisk object. This cmdlet uses the InstanceId of this object to determine the volume in which backups exist. To obtain a VirtualDisk object, use the Get-AzureStorSimpleDeviceVolume parameter.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">VirtualDisk</command:parameterValue> <dev:type> <maml:name>VirtualDisk</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>VolumeId</maml:name> <maml:description> <maml:para>Specifies the instance ID of the volume in which backups exist.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>First</maml:name> <maml:description> <maml:para>Gets only the specified number of objects. Enter the number of objects to get.</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>false</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Skip</maml:name> <maml:description> <maml:para>Ignores the specified number of objects and then gets the remaining objects. Enter the number of objects to skip.</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>false</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeTotalCount</maml:name> <maml:description> <maml:para>Reports the total number of objects in the data set (an integer) followed by the selected objects. If the cmdlet cannot determine the total count, it displays "Unknown total count." The integer has an Accuracy property that indicates the reliability of the total count value. The value of Accuracy ranges from 0.0 to 1.0 where 0.0 means that the cmdlet could not count the objects, 1.0 means that the count is exact, and a value between 0.0 and 1.0 indicates an increasingly reliable estimate.</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>false</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>BackupPolicyDetails, VirtualDisk</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet accepts BackupPolicyDetails and VirtualDisk objects. </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>IList<Backup></maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a list of Backup objects.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Get all backups on a device</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleDeviceBackup -DeviceName "Contoso63-AppVm" InstanceId Name Type BackupJobCreationType CreatedOn SizeInBytes Snapshots SSMHostName ---------- ---- ---- --------------------- --------- ----------- --------- ----------- 85074062-ef6a-408a-b6c9-2a0904bb99ca Snapshot_vg-all LocalSnapshot BySchedule 4/15/2015 1:30:02 PM 9375913607168 {Volume 1, Volume 4, Volume 3, Volume 2} ebd87fa3-a9e2-49c9-a7e6-dada47071544 Cloud_Snapshot_vg-all CloudSnapshot BySchedule 4/15/2015 11:30:02 AM 9375913607168 {Volume 1, Volume 4, Volume 3, Volume 2} 9f7a03be-8c39-474c-bf88-b2c7b54e833c Cloud_Snapshot_Vol3_clone VG CloudSnapshot BySchedule 4/15/2015 9:00:03 AM 1717986918400 {Volume 3 Clone} 177b2dad-c0b2-42d6-b7bb-16926e54e9c6 VG Clones CloudSnapshot BySchedule 4/15/2015 8:30:02 AM 5016521801728 {Volume 1 Clone, Volume 3 Clone} 49c470c0-eadb-40ac-9928-94018a8edcd4 Cloud_Snapshot_Vol1_clone VG CloudSnapshot BySchedule 4/15/2015 7:30:02 AM 3298534883328 {Volume 1 Clone} 45dfd283-f924-4b45-93eb-b20650cadf43 vg-all LocalSnapshot Adhoc 3/27/2015 9:12:15 PM 9375913607168 {Volume 1, Volume 4, Volume 3, Volume 2} 2c3dd48d-824c-4298-82b5-fb44abb67a1e Test Group LocalSnapshot Adhoc 3/27/2015 1:47:00 AM 5016521801728 {Volume 1, Volume 3} </dev:code> <dev:remarks> <maml:para>This command gets all backups that exist on the device named Contoso63-AppVm. If there are more than the maximum of 100 backups allowed for the first page, use the First and Skip parameters to view additional results. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Get backups created between two dates</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleDeviceBackup -DeviceName "Contoso63-AppVm" -From "9/7/2014" -To "10/7/2014" -First 2 -Skip 1 BackupJobCreationType : BySchedule CreatedOn : 10/5/2014 11:00:04 AM SizeInBytes : 10737418240 Snapshots : {ContosoTSQA} SSMHostName : Type : CloudSnapshot InstanceId : ec2fdf5c-c807-4f7b-a942-d4c4a9b68c44 Name : ContosoTSQA_Default BackupJobCreationType : BySchedule CreatedOn : 10/4/2014 11:00:06 AM SizeInBytes : 10737418240 Snapshots : {ContosoTSQA} SSMHostName : Type : CloudSnapshot InstanceId : 5ac4f947-f4c6-4770-9000-2242e72fc6d3 Name : ContosoTSQA_DefaultVERBOSE: # of backups returned : 2 VERBOSE: More backups are available for your query. To access the next page of your result use \"-First 2 -Skip 3\" in your commandlet </dev:code> <dev:remarks> <maml:para>This command gets backups on the device named Contoso63-AppVm that were created on or after 10/7/2014 and on or before 10/8/2014. This cmdlet skips the first result and returns the first two results after that first result. Modify values for First and Skip to view other results.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 3: Get backups for a backup policy ID</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleDeviceBackup -DeviceName "Contoso63-AppVm" -BackupPolicyId "de088eac-b283-4d92-b501-a759845fdf3f" -First 10 -From "9/7/2014" BackupJobCreationType : BySchedule CreatedOn : 10/1/2014 11:00:12 AM SizeInBytes : 10737418240 Snapshots : {ContosoTSQA} SSMHostName : Type : CloudSnapshot InstanceId : e1aec9f1-a321-443f-a058-ba78c749c2c2 Name : ContosoTSQA_Default ....... BackupJobCreationType : BySchedule CreatedOn : 9/29/2014 11:00:12 AM SizeInBytes : 10737418240 Snapshots : {ContosoTSQA} SSMHostName : Type : CloudSnapshot InstanceId : f8041928-37b9-4048-a99c-2d3078943874 Name : ContosoTSQA_Default VERBOSE: # of backups returned : 10 VERBOSE: More backups are available for your query. To access the next page of your result use \"-First 10 -Skip 10\" in your commandlet </dev:code> <dev:remarks> <maml:para>This command gets backups on the device named Contoso63-AppVm created on or before the specified date. The command gets backups that were created by using the backup policy that has the specified ID. This command specifies the First parameter, so it returns only the first 10 results.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 4: Get backups for a backup policy object</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleDeviceBackupPolicy -DeviceName "Contoso63-AppVm" -BackupPolicyName "TSQATest_Default" | Get-AzureStorSimpleDeviceBackup -DeviceName "Contoso63-AppVm" -First 10 -From "9/7/2014" BackupJobCreationType : BySchedule CreatedOn : 10/1/2014 11:00:12 AM SizeInBytes : 10737418240 Snapshots : {ContosoTSQA} SSMHostName : Type : CloudSnapshot InstanceId : e1aec9f1-a321-443f-a058-ba78c749c2c2 Name : ContosoTSQA_Default ....... BackupJobCreationType : BySchedule CreatedOn : 9/29/2014 11:00:12 AM SizeInBytes : 10737418240 Snapshots : {ContosoTSQA} SSMHostName : Type : CloudSnapshot InstanceId : f8041928-37b9-4048-a99c-2d3078943874 Name : ContosoTSQA_Default VERBOSE: # of backups returned : 10 VERBOSE: More backups are available for your query. To access the next page of your result use \"-First 10 -Skip 10\" in your commandlet </dev:code> <dev:remarks> <maml:para>This command gets a BackupPolicyDetails object by using the Get-AzureStorSimpleDeviceBackupPolicy cmdlet, and then passes that object to the current cmdlet by using the pipeline operator. That cmdlet gets backups for the device named Contoso63-AppVm created by using the backup policy from the first part of the command. The command gets backups created on or before the specified date, just as in the previous example. This command returns only the first 10 results. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 5: Get a backup for a volume ID</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleDeviceBackup -DeviceName "Contoso63-AppVm" -VolumeId "SS-VOL-246b9df1-11bb-4071-8043-f955cc406446" -First 1 BackupJobCreationType : BySchedule CreatedOn : 10/9/2014 11:00:10 AM SizeInBytes : 10737418240 Snapshots : {ContosoTSQA} SSMHostName : Type : CloudSnapshot InstanceId : 4fef4178-0145-404b-8257-7d958a380b8b Name : ContosoTSQA_Default VERBOSE: # of backups returned : 1 VERBOSE: No more backup sets are present for your query! </dev:code> <dev:remarks> <maml:para>This command gets a backup on the device that is created on the volume that has the specified instance ID. This command specifies the First parameter, so it returns only the first one result. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 6: Get a backup for a volume name</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleDeviceVolume -DeviceName "Contoso63-AppVm" -VolumeName "TSQATest03" | Get-AzureStorSimpleDeviceBackup -DeviceName "Contoso63-AppVm" -First 1 BackupJobCreationType : BySchedule CreatedOn : 10/9/2014 11:00:10 AM SizeInBytes : 10737418240 Snapshots : {ContosoTSQA} SSMHostName : Type : CloudSnapshot InstanceId : 4fef4178-0145-404b-8257-7d958a380b8b Name : ContosoTSQA_Default VERBOSE: # of backups returned : 1 VERBOSE: No more backup sets are present for your query! </dev:code> <dev:remarks> <maml:para>This command gets a VirtualDisk object by using the Get-AzureStorSimpleDeviceVolume cmdlet, and then passes that object to the current cmdlet by using the pipeline operator. That cmdlet gets backups for the device named Contoso63-AppVm created on the volume from the first part of the command. This command returns only the first result. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Remove-AzureStorSimpleDeviceBackup</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleDeviceBackupPolicy</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleDeviceVolume</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Get-AzureStorSimpleDeviceConnectedInitiator</command:name> <maml:description> <maml:para>Gets the iSCSI connections available for a StorSimple device.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureStorSimpleDeviceConnectedInitiator</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Get-AzureStorSimpleDeviceConnectedInitiator cmdlet gets a list of the iSCSI connections available for a StorSimple device. The iSCSI connection objects that this cmdlet returns contain the following properties: -- AcrInstanceId -- AcrName -- AllowedVolumeNames -- InitiatorAddress -- Interfaces -- Iqn -- IscsiConnectionId</maml:para> <maml:para>This cmdlet gets connection object only if iSCSI connections are turned on for the device. By default, connections are turned off. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureStorSimpleDeviceConnectedInitiator</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="ID"> <maml:name>DeviceId</maml:name> <maml:description> <maml:para>Specifies the instance ID of the StorSimple device from which to get iSCSI initiators.</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" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureStorSimpleDeviceConnectedInitiator</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="Name"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device from which to get iSCSI initiators.</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" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="ID"> <maml:name>DeviceId</maml:name> <maml:description> <maml:para>Specifies the instance ID of the StorSimple device from which to get iSCSI initiators.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="Name"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device from which to get iSCSI initiators.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>List<IscsiConnection></maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns an iSCSI connection object that contains the following properties: -- AcrInstanceId -- AcrName -- AllowedVolumeNames -- InitiatorAddress -- Interfaces -- Iqn -- IscsiConnectionId</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Get all connections for a device</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleDeviceConnectedInitiator -DeviceName "Contoso63-AppVm" VERBOSE: ClientRequestId: bec615b9-79ab-4671-88b0-287adeb6bf68_PS VERBOSE: ClientRequestId: ef976c58-2660-41c8-aa15-c84e70c9d01c_PS VERBOSE: ClientRequestId: 9b306b96-8e76-47ed-beda-d3bd2fb2bb82_PS VERBOSE: ClientRequestId: 0f4fc743-0b60-45da-a45a-27f4b0f32bd2_PS AcrInstanceId : 55f24643-ab3a-4098-ade2-aa2b1a3ab18c AcrName : Contoso63-AppVm AllowedVolumeNames : {Policyvolume1_Default} InitiatorAddress : Interfaces : {Data0} Iqn : iqn10 IscsiConnectionId : cfc144cb-00f1-44b1-9655-80b431f2161b VERBOSE: 1 Iscsi Connection found! </dev:code> <dev:remarks> <maml:para>This command gets all iSCSI connections for the device named Contoso63-AppVm. This command returns connections only if connections are turned on for the device.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleAccessControlRecord</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Get-AzureStorSimpleDeviceVolumeContainer</command:name> <maml:description> <maml:para>Gets volume containers on a device.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureStorSimpleDeviceVolumeContainer</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Get-AzureStorSimpleDeviceVolumeContainer cmdlet gets a list of volume containers on a device, or volume container that has the specified name. The returned object contains the following properties: -- BandwidthRate -- EncryptionKey -- InstanceId -- IsDefault -- IsEncryptionEnabled -- Name -- OperationInProgress -- Owned -- PrimaryStorageAccountCredential -- SecretsEncryptionThumbprint -- VolumeCount</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureStorSimpleDeviceVolumeContainer</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of a StorSimple device. This cmdlet gets volume containers from the device that this parameter specifies.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="Name"> <maml:name>VolumeContainerName</maml:name> <maml:description> <maml:para>Specifies the name of the volume container to get.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of a StorSimple device. This cmdlet gets volume containers from the device that this parameter specifies.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="Name"> <maml:name>VolumeContainerName</maml:name> <maml:description> <maml:para>Specifies the name of the volume container to get.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>DataContainer, IList<DataContainer></maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a DataContainer object, if you specify the VolumeContainerName parameter. If you do not specify that parameter, this cmdlet returns an IList<DataContainer> object.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Get all the containers on a device</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleDeviceVolumeContainer -DeviceName "8600-Bravo 001" InstanceId Name IsEncryptionEnabled Owned BandwidthRate PrimaryStorageAccountCredential VolumeCount ---------- ---- ------------------- ----- ------------- ------------------------------- ----------- 127135b6-92de-4f53-850d-70e1f9a38cbe Test_Container False True 0 Test_Account 6 </dev:code> <dev:remarks> <maml:para>This command gets a list of the volume containers on the device named 8600-Bravo 001.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Get a container by using its name</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleDeviceVolumeContainer -DeviceName "Contoso63-AppVm" -VolumeContainerName "Container08" VERBOSE: ClientRequestId: 8027c66a-869b-4ea3-97a2-e17d98ec751c_PS VERBOSE: ClientRequestId: 344f9be5-0887-4d37-98ef-e45c557774f1_PS VERBOSE: ClientRequestId: 14919be5-d6f5-4f81-b7f1-d7fafff2238c_PS BandwidthRate : 256 EncryptionKey : InstanceId : 04ea9aad-7a56-4a50-b195-86061b0a810a IsDefault : False IsEncryptionEnabled : False Name : Container03 OperationInProgress : None Owned : True PrimaryStorageAccountCredential : Microsoft.WindowsAzure.Management.StorSimple.Models.StorageAccountCredentialResponse SecretsEncryptionThumbprint : VolumeCount : 5 VERBOSE: Volume container with name: Container03 is found. </dev:code> <dev:remarks> <maml:para>This command gets the volume container named Container08 on the device named Contoso63-AppVm.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>New-AzureStorSimpleDeviceVolumeContainer</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureStorSimpleDeviceVolumeContainer</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Get-AzureStorSimpleDeviceVolume</command:name> <maml:description> <maml:para>Gets volumes on a device.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureStorSimpleDeviceVolume</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Get-AzureStorSimpleDeviceVolume cmdlet gets a list of volumes for a specified volume container, or volume that has the specified name. The returned object contains the following properties: -- AccessType -- AcrList -- AppType -- DataContainer -- DataContainerId -- InstanceId -- IsBackupEnabled -- IsDefaultBackupEnabled -- IsMonitoringEnabled -- Name -- Online -- OperationInProgress -- SizeInBytes -- VSN</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureStorSimpleDeviceVolume</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device from which to get volumes.</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="2" aliases="none"> <maml:name>VolumeContainer</maml:name> <maml:description> <maml:para>Specifies the volume container, as a DataContainer object, that includes the volumes to get. To obtain a DataContainer, use the Get-AzureStorSimpleDeviceVolumeContainer cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">DataContainer</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureStorSimpleDeviceVolume</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device from which to get volumes.</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" aliases="Name"> <maml:name>VolumeName</maml:name> <maml:description> <maml:para>Specifies the name of the volume to get. </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" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device from which to get volumes.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2" aliases="none"> <maml:name>VolumeContainer</maml:name> <maml:description> <maml:para>Specifies the volume container, as a DataContainer object, that includes the volumes to get. To obtain a DataContainer, use the Get-AzureStorSimpleDeviceVolumeContainer cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">DataContainer</command:parameterValue> <dev:type> <maml:name>DataContainer</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="Name"> <maml:name>VolumeName</maml:name> <maml:description> <maml:para>Specifies the name of the volume to get. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>DataContainer</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet accepts a DataContainer object that contains the volume to get.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>VirtualDisk, IList<VirtualDisk></maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a VirtualDisk object if you specify the VolumeName parameter. If you specify the VolumeContainer, this cmdlet returns an IList<VirtualDisk> object.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Get volumes in a specified container</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleDeviceVolumeContainer -DeviceName "Contoso63-AppVm" -VolumeContainerName "Container03" | Get-AzureStorSimpleDeviceVolume -DeviceName "Contoso63-AppVm" InstanceId : BA-1503262017214433280-ade42af6-dabb-449d-b66b-4f5d06891d4c Name : Volume 1 Clone Online : True SizeInBytes : 3298534883328 AccessType : ReadWrite AcrList : {Windows_XYUSFL718-RV_ACR} AppType : Invalid DataContainerId : 127135b6-92de-4f53-850d-70e1f9a38cbe IsBackupEnabled : True IsDefaultBackupEnabled : False IsMonitoringEnabled : False VSN : BA-1503262017214433280-ade42af6-dabb-449d-b66b-4f5d06891d4c InstanceId : BA-1503262017366008684-cf8bb1a3-21e5-4cfc-ba0d-bfe238d77ebe Name : Volume 3 Clone Online : True SizeInBytes : 1717986918400 AccessType : ReadWrite AcrList : {Linux_XYUSFL719_ACR} AppType : Invalid DataContainerId : 127135b6-92de-4f53-850d-70e1f9a38cbe IsBackupEnabled : True IsDefaultBackupEnabled : False IsMonitoringEnabled : False VSN : BA-1503262017366008684-cf8bb1a3-21e5-4cfc-ba0d-bfe238d77ebe InstanceId : SS-VOL-2180be94-36f1-473e-a42b-a3ebd2cdb481 Name : Volume 4 Online : True SizeInBytes : 1610612736000 AccessType : ReadWrite AcrList : {Linux_XYUSFL719_ACR} AppType : Invalid DataContainerId : 127135b6-92de-4f53-850d-70e1f9a38cbe IsBackupEnabled : True IsDefaultBackupEnabled : False IsMonitoringEnabled : False VSN : SS-VOL-2180be94-36f1-473e-a42b-a3ebd2cdb481 </dev:code> <dev:remarks> <maml:para>This command gets the volume container named Container03 on the device named Contoso63-AppVm by using the Get-AzureStorSimpleDeviceVolumeContainer cmdlet. The command uses the pipeline operator to pass that container to the current cmdlet. That cmdlet gets all the volumes in that container for the device named Contoso63-AppVm.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Get a volume by using its name</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleDeviceVolume -DeviceName "Contoso63-AppVm" -VolumeName "Volume18" InstanceId : SS-VOL-c75e9636-1dcf-43db-92df-3af1ecf3f18a Name : Volume18 Online : True SizeInBytes : 2748779069440 AccessType : ReadWrite AcrList : {Windows_XYUSFL718-RV_ACR} AppType : Invalid DataContainerId : 127135b6-92de-4f53-850d-70e1f9a38cbe IsBackupEnabled : True IsDefaultBackupEnabled : False IsMonitoringEnabled : False VSN : SS-VOL-c75e9636-1dcf-43db-92df-3af1ecf3f18a </dev:code> <dev:remarks> <maml:para>This command gets the volume named Volume18 on the device named Contoso63-AppVm.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>New-AzureStorSimpleDeviceVolume</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureStorSimpleDeviceVolume</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureStorSimpleDeviceVolume</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleDeviceVolumeContainer</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Get-AzureStorSimpleDevice</command:name> <maml:description> <maml:para>Gets devices attached to the resource.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureStorSimpleDevice</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Get-AzureStorSimpleDevice cmdlet gets a list of StorSimple devices attached to the resource. You can specify device ID, name, model ID, and type. Use the DeviceID property obtained by using this cmdlet to specify devices for other StorSimple cmdlets.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureStorSimpleDevice</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>Type</maml:name> <maml:description> <maml:para>Specifies the type of a StorSimple device. Valid values are: Appliance and VirtualAppliance.</maml:para> </maml:description> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Appliance</command:parameterValue> <command:parameterValue required="false" variableLength="false">VirtualAppliance</command:parameterValue> </command:parameterValueGroup> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>ModelID</maml:name> <maml:description> <maml:para>Specifies the ID of the model of StorSimple devices to get.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>Detailed</maml:name> <maml:description> <maml:para>Indicates that this cmdlet returns device details for the devices that it gets.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureStorSimpleDevice</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="ID"> <maml:name>DeviceId</maml:name> <maml:description> <maml:para>Specifies the instance ID of the device to get.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>Type</maml:name> <maml:description> <maml:para>Specifies the type of a StorSimple device. Valid values are: Appliance and VirtualAppliance.</maml:para> </maml:description> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Appliance</command:parameterValue> <command:parameterValue required="false" variableLength="false">VirtualAppliance</command:parameterValue> </command:parameterValueGroup> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>ModelID</maml:name> <maml:description> <maml:para>Specifies the ID of the model of StorSimple devices to get.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>Detailed</maml:name> <maml:description> <maml:para>Indicates that this cmdlet returns device details for the devices that it gets.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureStorSimpleDevice</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="Name"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device to get.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>Type</maml:name> <maml:description> <maml:para>Specifies the type of a StorSimple device. Valid values are: Appliance and VirtualAppliance.</maml:para> </maml:description> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Appliance</command:parameterValue> <command:parameterValue required="false" variableLength="false">VirtualAppliance</command:parameterValue> </command:parameterValueGroup> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>ModelID</maml:name> <maml:description> <maml:para>Specifies the ID of the model of StorSimple devices to get.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>Detailed</maml:name> <maml:description> <maml:para>Indicates that this cmdlet returns device details for the devices that it gets.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>Detailed</maml:name> <maml:description> <maml:para>Indicates that this cmdlet returns device details for the devices that it gets.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="ID"> <maml:name>DeviceId</maml:name> <maml:description> <maml:para>Specifies the instance ID of the device to get.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="Name"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device to get.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>ModelID</maml:name> <maml:description> <maml:para>Specifies the ID of the model of StorSimple devices to get.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">System.String</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>Type</maml:name> <maml:description> <maml:para>Specifies the type of a StorSimple device. Valid values are: Appliance and VirtualAppliance.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>List<DeviceDetails>, IEnumerable<DeviceInfo></maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a List<DeviceDetails> object, if you specify the Detailed parameter. If you do not specify that parameter, it returns an IEnumerable<DeviceInfo> object.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Get available devices on a resource</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleDevice DeviceId : 6f9ab151-39c7-4ded-b7d0-f5b0968f2766 DeviceName : 8600-: SHX0881018G88 SerialNumber : SHX0881018G88 DeviceSoftwareVersion : 6.3.9600.17430 Location : ModelDescription : 8600 Status : Offline Type : Appliance TargetIQN : iqn.1991-05.com.microsoft:storsimple8600-shx0991018g00e4-target TimeZone : Pacific Standard Time ActivationTime : 2015-04-07T16:32:30.2960842Z AvailableStorageInBytes : 535363378479104 ProvisionedStorageInBytes : 14392435408896 TotalStorageInBytes : 549755813888000 UsingStorageInBytes : 12693995520 DeviceId : eb30ea31-c856-4cf2-9a02-aee611d6a3b9 DeviceName : 8100-Delta 001 SerialNumber : SHX90391XXXXXXX DeviceSoftwareVersion : 6.3.9600.17430 Location : ModelDescription : 8100 Status : Online Type : Appliance TargetIQN : iqn.1991-05.com.microsoft:storsimple8100-shx90193xxxxxxx-target TimeZone : Eastern Standard Time ActivationTime : 2015-03-26T14:53:14.4219391Z AvailableStorageInBytes : 205509890146304 ProvisionedStorageInBytes : 14392435408896 TotalStorageInBytes : 219902325555200 UsingStorageInBytes : 23904321536 DeviceId : edcb0b9b-1ed5-4102-9c5d-c589f7632994 DeviceName : 8600-Bravo 001 SerialNumber : SHX0900915G44SY DeviceSoftwareVersion : 6.3.9600.17430 Location : ModelDescription : 8600 Status : Online Type : Appliance TargetIQN : iqn.1991-05.com.microsoft:storsimple8600-shx0900915g44sy-target TimeZone : Eastern Standard Time ActivationTime : 2015-03-26T15:36:26.0870525Z AvailableStorageInBytes : 535363378479104 ProvisionedStorageInBytes : 14392435408896 TotalStorageInBytes : 549755813888000 UsingStorageInBytes : 978893799424 </dev:code> <dev:remarks> <maml:para>This command gets all available devices on a resource. In this example, only one device is available.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Get specific available devices on a resource</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleDevice -DeviceName "8600-SHX90193XXXXXXX" -Type Appliance -ModelId "8600" DeviceId : f9db31da-8a6c-4718-8f5b-5ce89e600f28 DeviceName : 8600-SHX90193XXXXXXX SerialNumber : SHX90193XXXXXXX DeviceSoftwareVersion : 6.3.9600.17430 Location : ModelDescription : 8600 Status : Online Type : Appliance TargetIQN : iqn.1991-05.com.microsoft:storsimple8600-shx90193xxxxxxx-target TimeZone : Pacific Standard Time ActivationTime : 2015-04-07T18:10:46.4524766Z AvailableStorageInBytes : 535363378479104 ProvisionedStorageInBytes : 14392435408896 TotalStorageInBytes : 549755813888000 UsingStorageInBytes : 14445182976 </dev:code> <dev:remarks> <maml:para>This command gets all available devices on a resource that have the specified name, type, and model ID. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 3: Get details for a device</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleDevice -Name "8600-SHX90193XXXXXXX" -Type Appliance -Detailed AlertNotification : Microsoft.WindowsAzure.Management.StorSimple.Models.AlertNotificationSettings Chap : Microsoft.WindowsAzure.Management.StorSimple.Models.ChapSettings DeviceProperties : Microsoft.WindowsAzure.Management.StorSimple.Models.DeviceInfo DnsServer : Microsoft.WindowsAzure.Management.StorSimple.Models.DnsServerSettings InstanceId : f9db31da-8a6c-4718-8f5b-5ce89e600f28 Name : NetInterfaceList : {Data0, Data1, Data2, Data3...} OperationInProgress : None RemoteMgmtSettingsInfo : Microsoft.WindowsAzure.Management.StorSimple.Models.RemoteManagementSettings RemoteMinishellSecretInfo : Microsoft.WindowsAzure.Management.StorSimple.Models.RemoteMinishellSettings SecretEncryptionCertThumbprint : Snapshot : Microsoft.WindowsAzure.Management.StorSimple.Models.SnapshotSettings TimeServer : Microsoft.WindowsAzure.Management.StorSimple.Models.TimeSettings Type : Appliance VirtualApplianceProperties : Microsoft.WindowsAzure.Management.StorSimple.Models.VirtualApplianceInfo WebProxy : Microsoft.WindowsAzure.Management.StorSimple.Models.WebProxySettings </dev:code> <dev:remarks> <maml:para>This command gets all available devices on a resource that have the specified name and type. This command specifies the Detailed parameter. The command provides additional details about the devices it returns.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleResourceContext</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Select-AzureStorSimpleResource</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Get-AzureStorSimpleFailoverVolumeContainers</command:name> <maml:description> <maml:para>Gets the volume container groups for device failover.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureStorSimpleFailoverVolumeContainers</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Get-AzureStorSimpleFailoverVolumeContainers cmdlet gets the volume container groups for device failover. Pass a single VolumeContainer group or an array of VolumeContainer groups to the Start-AzureStorSimpleDeviceFailover cmdlet. Only groups that have a value of $True for the IsDCGroupEligibleForDR property are eligible for failover. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureStorSimpleFailoverVolumeContainers</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceId</maml:name> <maml:description> <maml:para>Specifies the instance ID of the StorSimple device on which to run the cmdlet.</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" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-AzureStorSimpleFailoverVolumeContainers</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which to run the cmdlet. </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" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceId</maml:name> <maml:description> <maml:para>Specifies the instance ID of the StorSimple device on which to run the cmdlet.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which to run the cmdlet. </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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>IList<DataContainerGroup></maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a list of VolumeContainer groups.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Get failover volume containers</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleFailoverVolumeContainers -DeviceName "ChewD_App7" DCGroup IneligibilityMessage IsDCGroupEligibleForDR ------- -------------------- ---------------------- {VolumeContainer1889078... True {VC_01} No cloud snapshot found False {VolumeContainer7306959} No cloud snapshot found False {VolumeContainer407850151} No cloud snapshot found False </dev:code> <dev:remarks> <maml:para>This command gets failover volume containers. Only the DCGroups that have a value of $True for the IsDCGroupEligibleForDR property can be used for device failover.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Start-AzureStorSimpleDeviceFailoverJob</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleDeviceVolumeContainer</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Get-AzureStorSimpleJob</command:name> <maml:description> <maml:para>Gets StorSimple jobs. </maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureStorSimpleJob</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Get-AzureStorSimpleJob cmdlet gets Azure StorSimple jobs. Specify an instance ID to get a specific job. Specify other parameters to limit the jobs that this cmdlet gets. </maml:para> <maml:para>This cmdlet can return a maximum of 200 jobs. If more than 200 jobs exist, get the remaining jobs by using the First and Skip parameters. If you specify a value of 100 for Skip and 50 for First, this cmdlet does not return the first 100 results. It returns the next 50 results after the 100 that it skips.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureStorSimpleJob</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>InstanceId</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>Status</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Running</command:parameterValue> <command:parameterValue required="false" variableLength="false">Completed</command:parameterValue> <command:parameterValue required="false" variableLength="false">Cancelled</command:parameterValue> <command:parameterValue required="false" variableLength="false">Failed</command:parameterValue> <command:parameterValue required="false" variableLength="false">Cancelling</command:parameterValue> <command:parameterValue required="false" variableLength="false">CompletedWithErrors</command:parameterValue> </command:parameterValueGroup> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>Type</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Backup</command:parameterValue> <command:parameterValue required="false" variableLength="false">ManualBackup</command:parameterValue> <command:parameterValue required="false" variableLength="false">Restore</command:parameterValue> <command:parameterValue required="false" variableLength="false">CloneWorkflow</command:parameterValue> <command:parameterValue required="false" variableLength="false">DeviceRestore</command:parameterValue> <command:parameterValue required="false" variableLength="false">Update</command:parameterValue> <command:parameterValue required="false" variableLength="false">SupportPackage</command:parameterValue> <command:parameterValue required="false" variableLength="false">VirtualApplianceProvisioning</command:parameterValue> </command:parameterValueGroup> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="5" aliases="none"> <maml:name>From</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Nullable [System.DateTime]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="6" aliases="none"> <maml:name>To</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Nullable [System.DateTime]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>First</maml:name> <maml:description> <maml:para>Gets only the specified number of objects. Enter the number of objects to get.</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>false</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Skip</maml:name> <maml:description> <maml:para>Ignores the specified number of objects and then gets the remaining objects. Enter the number of objects to skip.</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>false</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeTotalCount</maml:name> <maml:description> <maml:para>Reports the total number of objects in the data set (an integer) followed by the selected objects. If the cmdlet cannot determine the total count, it displays "Unknown total count." The integer has an Accuracy property that indicates the reliability of the total count value. The value of Accuracy ranges from 0.0 to 1.0 where 0.0 means that the cmdlet could not count the objects, 1.0 means that the count is exact, and a value between 0.0 and 1.0 indicates an increasingly reliable estimate.</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>false</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">System.String</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="5" aliases="none"> <maml:name>From</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Nullable [System.DateTime]</command:parameterValue> <dev:type> <maml:name>Nullable [System.DateTime]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>InstanceId</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">System.String</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>Status</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">System.String</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="6" aliases="none"> <maml:name>To</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Nullable [System.DateTime]</command:parameterValue> <dev:type> <maml:name>Nullable [System.DateTime]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>Type</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">System.String</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>First</maml:name> <maml:description> <maml:para>Gets only the specified number of objects. Enter the number of objects to get.</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>false</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Skip</maml:name> <maml:description> <maml:para>Ignores the specified number of objects and then gets the remaining objects. Enter the number of objects to skip.</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>false</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named"> <maml:name>IncludeTotalCount</maml:name> <maml:description> <maml:para>Reports the total number of objects in the data set (an integer) followed by the selected objects. If the cmdlet cannot determine the total count, it displays "Unknown total count." The integer has an Accuracy property that indicates the reliability of the total count value. The value of Accuracy ranges from 0.0 to 1.0 where 0.0 means that the cmdlet could not count the objects, 1.0 means that the count is exact, and a value between 0.0 and 1.0 indicates an increasingly reliable estimate.</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>false</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>You cannot pipe input to this cmdlet. </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>IList<DeviceJobDetails>, DeviceJobDetails</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a list of job details objects, or, if you specify the InstanceID parameter, it returns a single job detail object. </maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Get a job by using an ID</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleJob -InstanceId "574f47e0-44e9-495c-b8a5-0203c57ebf6d" BackupPolicy : BackupTimeStamp : 1/1/0001 12:00:00 AM BackupType : CloudSnapshot DataStats : Microsoft.WindowsAzure.Management.StorSimple.Models.DataStatistics Device : Microsoft.WindowsAzure.Management.StorSimple.Models.CisBaseObject Entity : Microsoft.WindowsAzure.Management.StorSimple.Models.CisBaseObject ErrorDetails : {} HideProgressDetails : False InstanceId : 574f47e0-44e9-495c-b8a5-0203c57ebf6d IsInstantRestoreComplete : False IsJobCancellable : True JobDetails : Microsoft.WindowsAzure.Management.StorSimple.Models.JobStatusInfo Name : 26447caf-59bb-41c9-a028-3224d296c7dc Progress : 100 SourceDevice : Microsoft.WindowsAzure.Management.StorSimple.Models.CisBaseObject SourceEntity : Microsoft.WindowsAzure.Management.StorSimple.Models.CisBaseObject SourceVolume : Microsoft.WindowsAzure.Management.StorSimple.Models.CisBaseObject Status : Completed TimeStats : Microsoft.WindowsAzure.Management.StorSimple.Models.TimeStatistics Type : Backup Volume : Microsoft.WindowsAzure.Management.StorSimple.Models.CisBaseObject </dev:code> <dev:remarks> <maml:para>This command gets information for the job that has the specified ID. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Get jobs by using a device name</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleJob -DeviceName "8600-Bravo 001" -First 2 InstanceId Type Status DeviceName StartTime Progress ---------- ---- ------ ---------- --------- -------- 1997c33f-bfcc-4d08-9aba-28068340a1f9 Backup Running 8600-Bravo 001 4/15/2015 1:30:02 PM 92 85074062-ef6a-408a-b6c9-2a0904bb99ca Backup Completed 8600-Bravo 001 4/15/2015 1:30:02 PM 100 </dev:code> <dev:remarks> <maml:para>This command gets information for the jobs for the device named 8600-Bravo 001. The command gets the first two jobs for the device. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 3: Get completed jobs</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleJob -Status Completed -Skip 10 -First 2 </dev:code> <dev:remarks> <maml:para>This command gets completed jobs. The command gets only the first two jobs after it skips the first ten jobs. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 4: Get manual backup jobs</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleJob -Type ManualBackup </dev:code> <dev:remarks> <maml:para>This command gets jobs of the manual backup type. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 5: Get jobs between specified times</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>$StartTime = Get-Date -Year 2015 -Month 3 -Day 10 PS C:\> $EndTime = Get-Date -Year 2015 -Month 3 -Day 11 -Hour 12 -Minute 15 PS C:\>Get-AzureStorSimpleJob -DeviceName "Device07" -From $StartTime -To $EndTime </dev:code> <dev:remarks> <maml:para>The first two commands create DateTime objects by using the Get-Date cmdlet. The commands store the new times in the $StartTime and $EndTime variables. For more information, type Get-Help Get-Date.</maml:para> <maml:para>The final command gets jobs for the device named Device07 between the times stored in $StartTime and $EndTime. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Stop-AzureStorSimpleJob</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Get-AzureStorSimpleLegacyVolumeContainerConfirmStatus</command:name> <maml:description> <maml:para>Gets the status of a commit or rollback operation.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureStorSimpleLegacyVolumeContainerConfirmStatus</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Get-AzureStorSimpleLegacyVolumeContainerConfirmStatus cmdlet gets the status of the commit or rollback operation.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureStorSimpleLegacyVolumeContainerConfirmStatus</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>LegacyConfigId</maml:name> <maml:description> <maml:para>Specifies the unique ID of the configuration of the legacy appliance. </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="2" aliases="none"> <maml:name>LegacyContainerNames</maml:name> <maml:description> <maml:para>Specifies an array of volume container names for which the migration plan applies. </maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">String[]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" 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" aliases="none"> <maml:name>LegacyConfigId</maml:name> <maml:description> <maml:para>Specifies the unique ID of the configuration of the legacy appliance. </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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>LegacyContainerNames</maml:name> <maml:description> <maml:para>Specifies an array of volume container names for which the migration plan applies. </maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">String[]</command:parameterValue> <dev:type> <maml:name>String[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>ConfirmMigrationStatusMsg</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns the status of the confirm migration operation that is performed.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Get the status of a completed commit operation</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleLegacyVolumeContainerConfirmStatus -LegacyConfigId "f16463bd-94a9-4c3c-91c2-7a3ba7120087" -LegacyContainerNames "OneSDKAzureCloud" VERBOSE: 2015-04-08 13:51:01 ClientRequestId: 2bda2b9b-1361-4787-bc04-1e081218ed76_PS VERBOSE: 2015-04-08 13:51:01 ClientRequestId: 84bf18d8-c459-47a7-b4a8-f82ca8659672_PS VERBOSE: 2015-04-08 13:51:12 ClientRequestId: e93f9cb7-df58-497e-bb9f-9a6a23e68925_PS LegacyConfigId : f16463bd-94a9-4c3c-91c2-7a3ba7120087 CommitComplete : CloudConfigurationName : OneSDKAzureCloud Operation : Commit PercentageCompleted : 100 Messages : CommitInProgress : None CommitFailed : None RollbackComplete : None RollbackInProgress : None RollbackFailed : None CommitOrRollbackNotStarted : None </dev:code> <dev:remarks> <maml:para>This command gets the status of a commit operation for the named container. This operation has a status of completed. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Get the status of a completed rollback operation</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleLegacyVolumeContainerConfirmStatus -LegacyConfigId "f16463bd-94a9-4c3c-91c2-7a3ba7120087" -LegacyContainerNames "OneSDKAzureCloud" VERBOSE: 2015-04-08 13:51:01 ClientRequestId: 2bda2b9b-1361-4787-bc04-1e081218ed76_PS VERBOSE: 2015-04-08 13:51:01 ClientRequestId: 84bf18d8-c459-47a7-b4a8-f82ca8659672_PS VERBOSE: 2015-04-08 13:51:12 ClientRequestId: e93f9cb7-df58-497e-bb9f-9a6a23e68925_PS LegacyConfigId : f16463bd-94a9-4c3c-91c2-7a3ba7120087 CommitComplete : None CommitInProgress : None CommitFailed : None RollbackComplete : CloudConfigurationName : OneSDKAzureCloud Operation : Rollback PercentageCompleted : 100 Messages : RollbackInProgress : None RollbackFailed : None CommitOrRollbackNotStarted : None </dev:code> <dev:remarks> <maml:para>This command gets the status of a rollback operation for the named container. This operation has a status of completed. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Confirm-AzureStorSimpleLegacyVolumeContainerStatus</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleLegacyVolumeContainerStatus</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Get-AzureStorSimpleLegacyVolumeContainerMigrationPlan</command:name> <maml:description> <maml:para>Gets migration plans for legacy containers.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureStorSimpleLegacyVolumeContainerMigrationPlan</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Get-AzureStorSimpleLEgacyVolumeContainerMigrationPlan cmdlet gets migration plans for legacy containers. Specify a migration plan by its legacy configuration ID. If creation of the migration plan is still in progress, this cmdlet gets the status of the migration plan. If the migration plan is completed, this cmdlet returns the actual migration plan for the set of legacy containers. If you do not specify the LegacyConfigId parameter, this cmdlet returns a list of configuration IDs.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureStorSimpleLegacyVolumeContainerMigrationPlan</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>LegacyConfigId</maml:name> <maml:description> <maml:para>Specifies the unique ID of the configuration of the legacy appliance. </maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>LegacyContainerNames</maml:name> <maml:description> <maml:para>Specifies an array of volume container names for which this cmdlet gets a migration plan. </maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">String[]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" 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" aliases="none"> <maml:name>LegacyConfigId</maml:name> <maml:description> <maml:para>Specifies the unique ID of the configuration of the legacy appliance. </maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>LegacyContainerNames</maml:name> <maml:description> <maml:para>Specifies an array of volume container names for which this cmdlet gets a migration plan. </maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">String[]</command:parameterValue> <dev:type> <maml:name>String[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>MigrationPlanMsg</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a MigrationPlanMsg object that contains the status of the migration plan job, assumed bandwidth in megabits per second, and estimated time in minutes.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Get the status of a plan</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleLegacyVolumeContainerMigrationPlan -LegacyConfigId "f16463bd-94a9-4c3c-91c2-7a3ba7120087" -LegacyContainerNames "OneSDKAzureCloud" VERBOSE: 2015-04-08 13:48:05 ClientRequestId: 51e413fd-c2c9-4108-88cd-a0e792eab80a_PS VERBOSE: 2015-04-08 13:48:05 ClientRequestId: 4c6398ef-35a0-4d1c-931e-d9d45599a97a_PS VERBOSE: 2015-04-08 13:48:17 ClientRequestId: ef7a7e35-6dff-46cd-9df3-cb5fa25d149e_PS VERBOSE: Request Id : fd7e502f273885468f633a44567bcb3f, HttpResponse OK VERBOSE: List of volume containers: LegacyConfigId : f16463bd-94a9-4c3c-91c2-7a3ba7120087 DeviceName : ARUNKM-N4 MigrationTimeEstimationCompleted : CloudConfigurationName : OneSDKAzureCloud EstimatedTimeForLatestBackup : 15Minutes EstimatedTimeForAllBackups : 15Minutes These estimates are assuming 20 MBps bandwidth. Refer to migration guide to re-calculate for lower bandwidths. MigrationTimeEstimationInProgress : None MigrationTimeEstimationFailed : None MigrationTimeEstimationNotStarted : None </dev:code> <dev:remarks> <maml:para>This command gets the status of the migration plan. The status includes assumed bandwidth, estimated time and, related information.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Get the IDs of existing plans</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleLegacyVolumeContainerMigrationPlan VERBOSE: 2015-04-08 13:46:51 ClientRequestId: 813da56c-0cfc-4325-80db-08ef32bdde1e_PS VERBOSE: 2015-04-08 13:46:51 ClientRequestId: 9e7cf244-1894-490a-be02-749834a99318_PS VERBOSE: List of LegacyConfig Ids on the resource: LegacyConfigId DeviceName -------------- ---------- 1e1f10a0-3dff-4249-b847-4930061cd87a ARUNKM-N4 26d4096d-49b6-4102-b188-0446ece73c8b ARUNKM-N4 </dev:code> <dev:remarks> <maml:para>This command gets all the configuration IDs of migration plans. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Start-AzureStorSimpleLegacyVolumeContainerMigrationPlan</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Get-AzureStorSimpleLegacyVolumeContainerStatus</command:name> <maml:description> <maml:para>Gets the migration status of the volume containers.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureStorSimpleLegacyVolumeContainerStatus</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Get-AzureStorSimpleLegacyVolumeContainerStatus cmdlet gets the migration status of the volume containers. This cmdlet returns status information which includes whether the volume container migration is still in progress, completed, or failed.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureStorSimpleLegacyVolumeContainerStatus</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>LegacyConfigId</maml:name> <maml:description> <maml:para>Specifies the unique ID of the configuration of the legacy appliance. </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="2" aliases="none"> <maml:name>LegacyContainerNames</maml:name> <maml:description> <maml:para>Specifies an array of volume container names for which the migration plan applies. </maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">String[]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" 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" aliases="none"> <maml:name>LegacyConfigId</maml:name> <maml:description> <maml:para>Specifies the unique ID of the configuration of the legacy appliance. </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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>LegacyContainerNames</maml:name> <maml:description> <maml:para>Specifies an array of volume container names for which the migration plan applies. </maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">String[]</command:parameterValue> <dev:type> <maml:name>String[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Get status for a failed migration</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleLegacyVolumeContainerStatus -LegacyConfigId "dcddbb51-2ab2-4d22-8204-fefdbd6b7ba4" -LegacyContainerNames "OneSDKAzureCloud" ConfigId : dcddbb51-2ab2-4d22-8204-fefdbd6b7ba4 MigrationCompleted : No Cloud Configuration(s) are found to be in Completed state of Migration MigrationInprogress : No Cloud Configuration(s) are found to be in InProgress state of Migration MigrationNotStarted : No Cloud Configuration(s) are found to be in NotStarted state of Migration MigrationFailed : Cloud Configuration Name: OneSDKAzureCloud PercentageCompleted : 0 MigrationStatus : Failed No Backup sets found </dev:code> <dev:remarks> <maml:para>This command gets the migration status for the named legacy container. The results show that the migration failed.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Get status for a migration in progress</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleLegacyVolumeContainerStatus -LegacyConfigId "dcddbb51-2ab2-4d22-8204-fefdbd6b7ba4" -LegacyContainerNames "OneSDKAzureCloud" ConfigId : 5a83ec88-9e0a-4722-9fb0-9131caa7387a MigrationCompleted : No Cloud Configuration(s) are found to be in Completed state of Migration MigrationInprogress : CloudConfigurationName: OneSDKAzureCloud PercentageCompleted : 10 MigrationStatus : InProgress BackupSets : Policy : OneSDKBackupPolicy, Status : InProgress MigrationNotStarted : No Cloud Configuration(s) are found to be in NotStarted state of Migration MigrationFailed : No Cloud Configuration(s) are found to be in Failed state of Migration </dev:code> <dev:remarks> <maml:para>This command gets the migration status for the named legacy container. The results show that the migration is in progress.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 3: Get status for a completed migration</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleLegacyVolumeContainerStatus -LegacyConfigId dcddbb51-2ab2-4d22-8204-fefdbd6b7ba4 -LegacyContainerNames OneSDKAzureCloud ConfigId : 5a83ec88-9e0a-4722-9fb0-9131caa7387a MigrationCompleted : Cloud ConfigurationName: OneSDKAzureCloud PercentageCompleted : 100 MigrationStatus : Completed BackupSets : Policy : vg1p1, Created On : 04/06/2015 11:22:00, Status : Completed Policy : vg1p1, Created On : 03/30/2015 11:22:00, Status : Completed Policy : c1v1-Auto-Daily-CloudSnapshot, Created On : 03/30/2015 03:30:00, Status : Completed MigrationInprogress : No Cloud Configuration(s) are found to be in InProgress state of Migration MigrationNotStarted : No Cloud Configuration(s) are found to be in NotStarted state of Migration MigrationFailed : No Cloud Configuration(s) are found to be in Failed state of Migration </dev:code> <dev:remarks> <maml:para>This command gets the migration status for the named legacy container. The results show that the migration is completed.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Confirm-AzureStorSimpleLegacyVolumeContainerStatus</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleLegacyVolumeContainerConfirmStatus</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Get-AzureStorSimpleResourceContext</command:name> <maml:description> <maml:para>Gets the current resource context.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureStorSimpleResourceContext</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Get-AzureStorSimpleResourceContext cmdlet gets the current resource context.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureStorSimpleResourceContext</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>StorSimpleResourceContext</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a ResourceContext object.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Get the current context</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Select-AzureStorSimpleResource -ResourceName "Contoso63-Tsqa" PS C:\> Get-AzureStorSimpleResourceContext ResourceId ResourceName ---------- ------------ 1909806764156522689 Contoso63-Tsqa </dev:code> <dev:remarks> <maml:para>The first command sets the current context to be the resource named Contoso63-Tsqa by using the Select-AzureStorSimpleResource cmdlet. </maml:para> <maml:para>The second command gets the current resource context. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Attempt to get the current context</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleResourceContext Get-AzureStorSimpleResourceContext : Resource Context is not set for your subscription. Please use Select-AzureStorSimpleResource -ResourceName <<name>> to set </dev:code> <dev:remarks> <maml:para>This command gets the current context. In this example, no context has been set. The command returns a message that explains the problem. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleResource</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Select-AzureStorSimpleResource</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Get-AzureStorSimpleResource</command:name> <maml:description> <maml:para>Gets all resources that you created.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureStorSimpleResource</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Get-AzureStorSimpleResource cmdlet gets all resources that you created by using Azure Portal. The cmdlet gets details you can use to connect to the resources.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureStorSimpleResource</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="Name"> <maml:name>ResourceName</maml:name> <maml:description> <maml:para>Specifies the name of the resource that this cmdlet gets.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="Name"> <maml:name>ResourceName</maml:name> <maml:description> <maml:para>Specifies the name of the resource that this cmdlet gets.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">System.String</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>IEnumerable<ResourceCredentials>, ResourceCredentials</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns ResourceCredentials objects that contain the following properties: -- ResourceName -- ResouceId -- ResourceState</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Get all resources</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleResource VERBOSE: ClientRequestId: 5cd61b91-ef40-43b4-986d-156e06d2ed65_PS ResourceName ResourceId ResourceState ------------ ---------- ------------- Contoso63-Tsqa 8838459798595306468 Started Contoso68-Tsqa 2859070203638134681 Started Contoso73-Tsqa 7871392677286863733 Started Contoso87-Tsqa 1909806764156522689 Started VERBOSE: Found 4 StorSimple resources. </dev:code> <dev:remarks> <maml:para>This command gets all the resources you created. In this example, there are three resources. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Get a resource by using its name</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleResource -ResourceName "Contoso63-Tsqa" VERBOSE: ClientRequestId: efc3c85c-12aa-4345-b6eb-ccc532de4825_PS ResourceName ResourceId ResourceState ------------ ---------- ------------- Contoso63-Tsqa 1909806764156522689 Started VERBOSE: Found 1 StorSimple resource. </dev:code> <dev:remarks> <maml:para>This command gets the resource named Contoso63-Tsqa.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 3: Attempt to get a nonexistent resource</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleResource -ResourceName "Contoso64-Tsqa" VERBOSE: ClientRequestId: 5d08d40b-f9d7-4d43-956f-13f01e89625b_PS VERBOSE: Invalid input : Could not find a resource named Contoso64-Tsqa in your subscription. </dev:code> <dev:remarks> <maml:para>This command attempts to get the resource named Contoso64-Tsqa. There is no resource that has this name. This example does not return any resource.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleResourceContext</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Select-AzureStorSimpleResource</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Get-AzureStorSimpleStorageAccountCredential</command:name> <maml:description> <maml:para>Gets credentials for storage accounts.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureStorSimpleStorageAccountCredential</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Get-AzureStorSimpleStorageAccountCredential cmdlet gets credentials for storage accounts. This cmdlet gets all StorageAccountCredential objects configured in the service or a named StorageAccountCredential.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureStorSimpleStorageAccountCredential</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="Name"> <maml:name>StorageAccountName</maml:name> <maml:description> <maml:para>Specifies the name of the storage account for which to get credentials.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="Name"> <maml:name>StorageAccountName</maml:name> <maml:description> <maml:para>Specifies the name of the storage account for which to get credentials.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>StorageAccountCredential, IList<StorageAccountCredential></maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a StorageAccountCredential object, if you specify the StorageAccountName parameter, or if you do not specify that parameter, it returns an IList<StorageAccountCredential> object.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Get all credentials for a resource</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleStorageAccountCredential InstanceId Login Name UseSSL VolumeCount CloudType Location ---------- ----- ---- ------ ----------- --------- -------- b5e0857f-82ef-4426-883b-a612889ebee4 qwertyuiopa AdminAccount True 24 Azure </dev:code> <dev:remarks> <maml:para>This command gets all available credentials for storage accounts for the current resource.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Get the credential for a specific storage account</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleStorageAccountCredential -StorageAccountName "ContosoCloudStorage" VERBOSE: ClientRequestId: 16551af6-3398-4d30-a389-1b8eb01ce92c_PS VERBOSE: ClientRequestId: 5041277d-4044-4b6c-ae19-4ea9e7ae135a_PS VERBOSE: Storage Access Credential with name ContosoCloudStorage found! CloudType : Azure Hostname : blob.core.windows.net InstanceId : 8b3cb7bb-963b-4173-9598-52fe230b0350 IsDefault : False Location : West US Login : ContosoCloudStorage Name : ContosoCloudStorage OperationInProgress : None Password : PasswordEncryptionCertThumbprint : UseSSL : True VolumeCount : 0 </dev:code> <dev:remarks> <maml:para>This command gets the storage account credential for the storage account named ContosoCloudStorage. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>New-AzureStorSimpleStorageAccountCredential</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureStorSimpleStorageAccountCredential</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureStorSimpleStorageAccountCredential</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Get-AzureStorSimpleTask</command:name> <maml:description> <maml:para>Gets status of a task on a StorSimple device. </maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Get</command:verb> <command:noun>AzureStorSimpleTask</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Get-AzureStorSimpleTask cmdlet retrieves the status of a task that runs asynchronously on an Azure StorSimple device.</maml:para> <maml:para>While you manage a StorSimple device, most create, read, update, and delete actions can run asynchronously. Windows PowerShell returns a TaskId. Use the ID to get the current status of the task. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AzureStorSimpleTask</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="TaskId"> <maml:name>InstanceId</maml:name> <maml:description> <maml:para>Specifies the ID of the task for which this cmdlet tracks status. </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" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> </maml:description> <command:parameterValue required="false" 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" aliases="TaskId"> <maml:name>InstanceId</maml:name> <maml:description> <maml:para>Specifies the ID of the task for which this cmdlet tracks status. </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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>JobStatusInfo</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a TaskStatusInfo object which contains the following fields: -- Error. ErrorDetails, which contains Code and Message. -- TaskId. String. The ID of the task for which status is returned. -- TaskSteps. IList<TaskStep>. Each TaskStep object contains Detail, ErrorCode, Message, Result, and Status. -- Result. TaskResult, which contains the overall result of the task. Valid values are: Failed, Succeeded, PartialSuccess, Cancelled, and Invalid. -- Status. TaskStatus, which contains the overall running status of the task. Valid values are: Inprogress, Invalid, and Completed. -- TaskResult. TaskResult, a value computed based on Result and Status. Valid values are: Failed, Succeeded, InProgress, PartialSuccess, Cancelled, and Invalid. </maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Get the status of a task</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleTask -TaskId "53816d8d-a8b5-4c1d-a177-e59007608d6d" VERBOSE: ClientRequestId: d9c1e8a7-994f-4698-8b42-064600b45cad_PS VERBOSE: ClientRequestId: aae17c82-6fd3-435e-a965-1c66b3c955fe_PS AsyncTaskAggregatedResult : Succeeded Error : Microsoft.WindowsAzure.Management.StorSimple.Models.ErrorDetails Result : Succeeded Status : Completed TaskId : 53816d8d-a8b5-4c1d-a177-e59007608d6d TaskSteps : {} StatusCode : OK RequestId : e9174990825750bba69383748f23019c </dev:code> <dev:remarks> <maml:para>This command gets the status of the task that has the specified ID. The results show that the task has a status of completed and a result of successful.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Import-AzureStorSimpleLegacyApplianceConfig</command:name> <maml:description> <maml:para>Imports a configuration file.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Import</command:verb> <command:noun>AzureStorSimpleLegacyApplianceConfig</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Import-AzureStorSimpleLegacyApplianceConfig cmdlet imports the configuration file from the legacy appliance. That file contains information about volume containers, backup policies, and storage account credentials for the Azure StorSimple service. This cmdlet returns the legacy appliance configuration metadata.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Import-AzureStorSimpleLegacyApplianceConfig</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="FilePath"> <maml:name>ConfigFilePath</maml:name> <maml:description> <maml:para>Specifies the absolute path of the configuration file to get. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>TargetDeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the target device as presented in the portal.</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="3" aliases="none"> <maml:name>ConfigDecryptionKey</maml:name> <maml:description> <maml:para>Specifies the decryption key for the configuration of the legacy appliance.</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" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>ConfigDecryptionKey</maml:name> <maml:description> <maml:para>Specifies the decryption key for the configuration of the legacy appliance.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="FilePath"> <maml:name>ConfigFilePath</maml:name> <maml:description> <maml:para>Specifies the absolute path of the configuration file to get. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>TargetDeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the target device as presented in the portal.</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>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>LegacyApplianceConfiguration</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns the details of the configuration. The LegacyApplianceConfiguration object contains the following information: configuration ID, volume container names, access control records, backup policies, bandwidth settings, volume containers, storage account credentials, and volumes.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Import a configuration file</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Import-AzureStorSimpleLegacyApplianceConfig -ConfigFilePath "C:\MigrationData\LegacyStorSimpleConfig.sse" -TargetDeviceName "8100-123456789" -ConfigDecryptionKey "fWs793hHVhR90NKdDYTeNq" LegacyConfigId : e2d5c9b1-b528-4c21-b8ae-533feefc8a41 ImportedOn : 4/8/2015 7:23:04 PM ConfigFile : D:\configs\StorSimpleConfig_27_Mar_15_12_19.xml.sse TargetApplianceName : Arunkm-N4 Details : Available Cloud Configuration(s) for migration : Cloud Configuration(s) 1 : TC8Cloud[Stingray19-FP6] Cloud Configuration(s) 2 : fulle_cc4 Cloud Configuration(s) 3 : fulle_cc2 Cloud Configuration(s) 4 : fulle_cc3 Cloud Configuration(s) 5 : TC9Cloud[Stingray18-FP3] Cloud Configuration(s) 6 : fulle_cc1 Cloud Configuration(s) 7 : Container-New[Stingray19-FP6] Cloud Configuration(s) 8 : TC6Cloud[Stingray19-FP6] Cloud Configuration(s) 9 : TC7Cloud[Stingray18-FP3] Result : Successfully imported config from the legacy appliance! Save the legacy config id and cloud configuration(s) for future reference. </dev:code> <dev:remarks> <maml:para>This command imports the configuration file at the specified path. The command includes the key to decrypt the file. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Import-AzureStorSimpleLegacyVolumeContainer</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Import-AzureStorSimpleLegacyVolumeContainer</command:name> <maml:description> <maml:para>Starts the migration of volume containers.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Import</command:verb> <command:noun>AzureStorSimpleLegacyVolumeContainer</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Import-AzureStorSimpleLegacyVolumeContainer cmdlet starts the migration of volume containers from a legacy appliance to the target appliance.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Import-AzureStorSimpleLegacyVolumeContainer</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>LegacyConfigId</maml:name> <maml:description> <maml:para>Specifies the unique ID of the configuration of the legacy appliance.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>All</maml:name> <maml:description> <maml:para>Indicates that this cmdlet imports all volume containers in the imported configuration file to the target device.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>SkipACRs</maml:name> <maml:description> <maml:para>Indicates that the import process skips access control records for migration.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Indicates that this cmdlet imports volume container on a different device, even if volume container has been imported on a different device.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Import-AzureStorSimpleLegacyVolumeContainer</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>LegacyConfigId</maml:name> <maml:description> <maml:para>Specifies the unique ID of the configuration of the legacy appliance.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>LegacyContainerNames</maml:name> <maml:description> <maml:para>Specifies an array of volume container names for which the migration plan applies.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">System.String[]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>SkipACRs</maml:name> <maml:description> <maml:para>Indicates that the import process skips access control records for migration.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Indicates that this cmdlet imports volume container on a different device, even if volume container has been imported on a different device.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>All</maml:name> <maml:description> <maml:para>Indicates that this cmdlet imports all volume containers in the imported configuration file to the target device.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Indicates that this cmdlet imports volume container on a different device, even if volume container has been imported on a different device.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>LegacyConfigId</maml:name> <maml:description> <maml:para>Specifies the unique ID of the configuration of the legacy appliance.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>LegacyContainerNames</maml:name> <maml:description> <maml:para>Specifies an array of volume container names for which the migration plan applies.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">System.String[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>SkipACRs</maml:name> <maml:description> <maml:para>Indicates that the import process skips access control records for migration.</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>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>String</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This command returns the status of the migration import volume container job if it has been successfully started in the appliance.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Import a legacy volume container</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Import-AzureStorSimpleLegacyVolumeContainer -LegacyConfigId "c5a831e1-7888-44f4-adf1-92994be630c3" -LegacyContainerNames "OneSDKAzureCloud" Import started, Please check status with Get-AzureStorSimpleLegacyVolumeContainerStatus commandlet </dev:code> <dev:remarks> <maml:para>This command imports a legacy volume container for the named container. The cmdlet starts the import, and then returns a message. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Import all legacy volume containers</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Import-AzureStorSimpleLegacyVolumeContainer -LegacyConfigId "c5a831e1-7888-44f4-adf1-92994be630c3" -All Import started, Please check status with Get-AzureStorSimpleLegacyVolumeContainerStatus commandlet </dev:code> <dev:remarks> <maml:para>This command imports all legacy volume containers from configuration file imported. The cmdlet starts the import, and then returns a message. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleLegacyVolumeContainerStatus</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Import-AzureStorSimpleLegacyApplianceConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>New-AzureStorSimpleAccessControlRecord</command:name> <maml:description> <maml:para>Creates an access control record.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>New</command:verb> <command:noun>AzureStorSimpleAccessControlRecord</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The New-AzureStorSimpleAccessControlRecord cmdlet creates an access control record. You can use an AccessControlRecord object to configure volumes.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>New-AzureStorSimpleAccessControlRecord</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="Name"> <maml:name>ACRName</maml:name> <maml:description> <maml:para>Specifies a name for the access control record.</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" aliases="IQN"> <maml:name>IQNInitiatorName</maml:name> <maml:description> <maml:para>Specifies the iSCSI qualified name (IQN) of the iSCSI initiator to which this cmdlet provides access for the volume.</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" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="Name"> <maml:name>ACRName</maml:name> <maml:description> <maml:para>Specifies a name for the access control record.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="IQN"> <maml:name>IQNInitiatorName</maml:name> <maml:description> <maml:para>Specifies the iSCSI qualified name (IQN) of the iSCSI initiator to which this cmdlet provides access for the volume.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</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>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>TaskStatusInfo, TaskResponse</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a TaskStatusInfo object if you specify the WaitForComplete parameter. If you do not specify that parameter, it returns a TaskResponse object.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Create an Access Controlaccess control record and wait for the resultaccess control</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>New-AzureStorSimpleAccessControlRecord -ACRName "Acr10" -IQNInitiatorName "Iqn10" -WaitForComplete Error : Microsoft.WindowsAzure.Management.StorSimple.Models.ErrorDetails JobId : 08719243-3a76-43a5-a88b-e5f2b63ed3d9 JobSteps : {} Result : Succeeded Status : Completed TaskResult : Succeeded StatusCode : OK RequestId : e12362c2c06615108ba8436cf85fcd40 </dev:code> <dev:remarks> <maml:para>This command creates an access control record named Acr10 for the iSCSI initiator named Iqn10. This command specifies the WaitForComplete parameter, and, therefore, the command waits until the operation is complete, and then returns a TaskStatusInfo object.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Create an Access Controlaccess control recordaccess control</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>New-AzureStorSimpleAccessControlRecord -ACRName "Acr11" -IQNInitiatorName "Iqn11" VERBOSE: The create job is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId 2bd56fbb-4b95-4f2c-b99f-6321231a018d for tracking the job status </dev:code> <dev:remarks> <maml:para>This command creates an access control record named Acr11 for the iSCSI initiator named Iqn11. This command does not specify the WaitForComplete parameter, and, therefore, the command starts the task, and then returns a TaskResponse object. To see the status of the task, use the Get-AzureStorSimpleTask cmdlet. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleAccessControlRecord</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureStorSimpleAccessControlRecord</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureStorSimpleAccessControlRecord</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleJob</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>New-AzureStorSimpleDeviceBackupPolicy</command:name> <maml:description> <maml:para>Creates a backup policy.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>New</command:verb> <command:noun>AzureStorSimpleDeviceBackupPolicy</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The New-AzureStorSimpleDeviceBackupPolicy cmdlet creates a backup policy. A backup policy contains one or more backup schedules that can run on one or more volumes. To create a backup schedule, use the New-AzureStorSimpleDeviceBackupScheduleAddConfig cmdlet.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>New-AzureStorSimpleDeviceBackupPolicy</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which to create the backup 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="false" position="2" aliases="none"> <maml:name>BackupPolicyName</maml:name> <maml:description> <maml:para>Specifies the name of the backup policy.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>BackupSchedulesToAdd</maml:name> <maml:description> <maml:para>Specifies an array of BackupScheduleBase objects to add to the policy. Each object represents a schedule. A backup policy contains one or more schedules. To obtain a BackupScheduleBase object, use the New-AzureStorSimpleDeviceBackupScheduleAddConfig cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">PSObject[]</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>VolumeIdsToAdd</maml:name> <maml:description> <maml:para>Specifies an array of the IDs of volumes to add to the backup policy.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">PSObject[]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="5" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>BackupPolicyName</maml:name> <maml:description> <maml:para>Specifies the name of the backup 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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>BackupSchedulesToAdd</maml:name> <maml:description> <maml:para>Specifies an array of BackupScheduleBase objects to add to the policy. Each object represents a schedule. A backup policy contains one or more schedules. To obtain a BackupScheduleBase object, use the New-AzureStorSimpleDeviceBackupScheduleAddConfig cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">PSObject[]</command:parameterValue> <dev:type> <maml:name>PSObject[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which to create the backup 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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>VolumeIdsToAdd</maml:name> <maml:description> <maml:para>Specifies an array of the IDs of volumes to add to the backup policy.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">PSObject[]</command:parameterValue> <dev:type> <maml:name>PSObject[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="5" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</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>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>BackupPolicy</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a BackupPolicy object that contains the new schedules and volumes.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Create a backup policy</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>$Schedule01 = New-AzureStorSimpleDeviceBackupScheduleAddConfig -BackupType LocalSnapshot -RecurrenceType Daily -RecurrenceValue 10 -RetentionCount 5 -Enabled $True PS C:\> $Schedule02 = New-AzureStorSimpleDeviceBackupScheduleAddConfig -BackupType CloudSnapshot -RecurrenceType Hourly -RecurrenceValue 1 -RetentionCount 5 -Enabled $True PS C:\> $ScheduleArray = @() PS C:\> $ScheduleArray += $Schedule01 PS C:\> $ScheduleArray += $Schedule02 PS C:\> $DeviceContainer = Get-AzureStorSimpleDeviceVolumeContainer -DeviceName "Contoso63-AppVm" PS C:\> $Volume = $(Get-AzureStorSimpleDeviceVolume -DeviceName "Contoso63-AppVm" -VolumeContainer $DeviceContainer[0]) PS C:\> $VolumeArray = @() PS C:\> $VolumeArray += $Volume[0].InstanceId PS C:\> New-AzureStorSimpleDeviceBackupPolicy -DeviceName "Contoso63-AppVm" -BackupPolicyName "GeneralPolicy07" -BackupSchedulesToAdd $ScheduleArray -VolumeIdsToAdd $VolumeArray VERBOSE: ClientRequestId: e9d6771e-c323-47b9-b424-cb98f8ed0273_PS VERBOSE: ClientRequestId: db0e7c86-d0d2-4a5a-b1cb-182494cba027_PS VERBOSE: ClientRequestId: 77708dfd-a386-4999-b7ed-5d53e288ae83_PS JobId : d4ce5340-d5d1-4471-9cc8-013193f021b3 JobResult : Succeeded JobStatus : Completed ErrorCode : ErrorMessage : JobSteps : {Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStep, Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStep, Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStep} VERBOSE: The job created for your add operation has completed successfully. VERBOSE: ClientRequestId: bbf7e9b9-b493-40b3-8348-f15bcfc4da8a_PS BackupSchedules : {36d21096-bbd1-47b7-91b5-40ad1792d992, 505fc91f-deb5-4dca-bfcb-98c20b75ebcc} Volumes : {volume03} BackupPolicyCreationType : BySaaS LastBackup : 01-01-2010 05:30:00 NextBackup : 16-12-2014 01:13:43 SchedulesCount : 2 SSMHostName : VolumesCount : 1 InstanceId : 8799c2f0-8850-4e91-aa23-ee18c67da8bd Name : GeneralPolicy07 OperationInProgress : None </dev:code> <dev:remarks> <maml:para>The first command creates a backup schedule configuration object by using the New-AzureStorSimpleDeviceBackupScheduleAddConfig cmdlet, and then stores that object in the $Schedule01 variable. </maml:para> <maml:para>The second command creates another backup configuration object by using New-AzureStorSimpleDeviceBackupScheduleAddConfig, and then stores that object in the $Schedule02 variable.</maml:para> <maml:para>The third command creates an empty array variable, named $ScheduleArray. The next two commands add the objects created in the first two commands to $ScheduleArray.</maml:para> <maml:para>The sixth command gets a volume container for the device named Contoso63-AppVm by using the Get-AzureStorSimpleDeviceVolumeContainer cmdlet, and then stores that container object in the $DeviceContainer variable. </maml:para> <maml:para>The seventh command gets a volume for the volume container stored in the first member of $DeviceContainer by using the Get-AzureStorSimpleDeviceVolume cmdlet, and then stores that volume in the $Volume variable.</maml:para> <maml:para>The eighth command creates an empty array variable, named $VolumeArray. The next command adds a volume ID to $VolumeArray. This value identifies the volume, stored in $Volume, on which the backup policy runs. You can add additional volume IDs to $VolumeArray.</maml:para> <maml:para>The final command creates the backup policy named GeneralPolicy07 for the device named Contoso63-AppVm. The command specifies the schedule configuration objects stored in $ScheduleArray. The command specifies the volume or volumes to which to apply the policy in $VolumeArray. You can verify the backup policy by using the Get-AzureStorSimpleDeviceBackupPolicy cmdlet.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleDeviceBackupPolicy</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleDeviceVolume</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleDeviceVolumeContainer</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureStorSimpleDeviceBackupPolicy</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureStorSimpleDeviceBackupPolicy</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>New-AzureStorSimpleDeviceBackupScheduleAddConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>New-AzureStorSimpleDeviceBackupScheduleAddConfig</command:name> <maml:description> <maml:para>Creates a backup schedule configuration object.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>New</command:verb> <command:noun>AzureStorSimpleDeviceBackupScheduleAddConfig</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The New-AzureStorSimpleDeviceBackupScheduleAddConfig cmdlet creates a BackupScheduleBase configuration object. Use this configuration object to create new backup policy by using the New-AzureStorSimpleDeviceBackupPolicy cmdlet.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>New-AzureStorSimpleDeviceBackupScheduleAddConfig</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>BackupType</maml:name> <maml:description> <maml:para>Specifies the backup type. Valid values are: LocalSnapshot and CloudSnapshot.</maml:para> </maml:description> <command:parameterValueGroup> <command:parameterValue required="true" variableLength="false">LocalSnapshot</command:parameterValue> <command:parameterValue required="true" variableLength="false">CloudSnapshot</command:parameterValue> </command:parameterValueGroup> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>RecurrenceType</maml:name> <maml:description> <maml:para>Specifies the type of recurrence for this backup schedule. Valid values are: -- Minutes -- Hourly -- Daily -- Weekly</maml:para> </maml:description> <command:parameterValueGroup> <command:parameterValue required="true" variableLength="false">Minutes</command:parameterValue> <command:parameterValue required="true" variableLength="false">Hourly</command:parameterValue> <command:parameterValue required="true" variableLength="false">Daily</command:parameterValue> <command:parameterValue required="true" variableLength="false">Weekly</command:parameterValue> </command:parameterValueGroup> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>RecurrenceValue</maml:name> <maml:description> <maml:para>Specifies how often to make a backup. This parameter uses the unit specified by the RecurrenceType parameter.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>RetentionCount</maml:name> <maml:description> <maml:para>Specifies the number of days to keep a backup.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Int64</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="5" aliases="none"> <maml:name>StartFromDateTime</maml:name> <maml:description> <maml:para>Specifies the date from which to start making backups. The default value is the current time.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="6" aliases="none"> <maml:name>Enabled</maml:name> <maml:description> <maml:para>Indicates whether to enable the backup schedule.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>BackupType</maml:name> <maml:description> <maml:para>Specifies the backup type. Valid values are: LocalSnapshot and CloudSnapshot.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="6" aliases="none"> <maml:name>Enabled</maml:name> <maml:description> <maml:para>Indicates whether to enable the backup schedule.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>RecurrenceType</maml:name> <maml:description> <maml:para>Specifies the type of recurrence for this backup schedule. Valid values are: -- Minutes -- Hourly -- Daily -- Weekly</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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>RecurrenceValue</maml:name> <maml:description> <maml:para>Specifies how often to make a backup. This parameter uses the unit specified by the RecurrenceType parameter.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>RetentionCount</maml:name> <maml:description> <maml:para>Specifies the number of days to keep a backup.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Int64</command:parameterValue> <dev:type> <maml:name>Int64</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="5" aliases="none"> <maml:name>StartFromDateTime</maml:name> <maml:description> <maml:para>Specifies the date from which to start making backups. The default value is the current time.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>BackupScheduleBase</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a BackupScheduleBase object. Use a BackupScheduleBase to construct new backup policy.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Create a backup configuration object</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>New-AzureStorSimpleDeviceBackupScheduleAddConfig -BackupType CloudSnapshot -RecurrenceType Daily -RecurrenceValue 1 -RetentionCount 100 -Enabled $True VERBOSE: ClientRequestId: 426a79ee-fed3-4d3d-9123-e371f83222b3_PS BackupType : CloudSnapshot Recurrence : Microsoft.WindowsAzure.Management.StorSimple.Models.ScheduleRecurrence RetentionCount : 100 StartTime : 2014-12-16T00:37:19+05:30 Status : Enabled </dev:code> <dev:remarks> <maml:para>This command creates a backup schedule base object for cloud snapshot backups. The backup occurs every day, and the backups are kept for 100 days. This schedule is enabled from the default time, which is the current time. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>New-AzureStorSimpleDeviceBackupScheduleUpdateConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>New-AzureStorSimpleDeviceBackupPolicy</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>New-AzureStorSimpleDeviceBackupScheduleUpdateConfig</command:name> <maml:description> <maml:para>Creates a backup schedule update configuration object.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>New</command:verb> <command:noun>AzureStorSimpleDeviceBackupScheduleUpdateConfig</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The New-AzureStorSimpleDeviceBackupScheduleUpdateConfig cmdlet creates a BackupScheduleUpdateRequest configuration object. Use this configuration object to update a backup policy by using the Set-AzureStorSimpleDeviceBackupPolicy cmdlet. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>New-AzureStorSimpleDeviceBackupScheduleUpdateConfig</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>Id</maml:name> <maml:description> <maml:para>Specifies the instance ID of the backup schedule to update.</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" aliases="none"> <maml:name>BackupType</maml:name> <maml:description> <maml:para>Specifies the backup type. Valid values are: LocalSnapshot and CloudSnapshot.</maml:para> </maml:description> <command:parameterValueGroup> <command:parameterValue required="true" variableLength="false">LocalSnapshot</command:parameterValue> <command:parameterValue required="true" variableLength="false">CloudSnapshot</command:parameterValue> </command:parameterValueGroup> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>RecurrenceType</maml:name> <maml:description> <maml:para>Specifies the type of recurrence for this backup schedule. Valid values are: -- Minutes -- Hourly -- Daily -- Weekly</maml:para> </maml:description> <command:parameterValueGroup> <command:parameterValue required="true" variableLength="false">Minutes</command:parameterValue> <command:parameterValue required="true" variableLength="false">Hourly</command:parameterValue> <command:parameterValue required="true" variableLength="false">Daily</command:parameterValue> <command:parameterValue required="true" variableLength="false">Weekly</command:parameterValue> </command:parameterValueGroup> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>RecurrenceValue</maml:name> <maml:description> <maml:para>Specifies how often to make a backup. This parameter uses the unit specified by the RecurrenceType parameter.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="5" aliases="none"> <maml:name>RetentionCount</maml:name> <maml:description> <maml:para>Specifies the number of days to keep a backup.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Int64</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="6" aliases="none"> <maml:name>StartFromDateTime</maml:name> <maml:description> <maml:para>Specifies the date from which to start making backups. The default value is the current time.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="7" aliases="none"> <maml:name>Enabled</maml:name> <maml:description> <maml:para>Indicates whether to enable the backup schedule.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Boolean</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>BackupType</maml:name> <maml:description> <maml:para>Specifies the backup type. Valid values are: LocalSnapshot and CloudSnapshot.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="7" aliases="none"> <maml:name>Enabled</maml:name> <maml:description> <maml:para>Indicates whether to enable the backup schedule.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>Id</maml:name> <maml:description> <maml:para>Specifies the instance ID of the backup schedule to update.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>RecurrenceType</maml:name> <maml:description> <maml:para>Specifies the type of recurrence for this backup schedule. Valid values are: -- Minutes -- Hourly -- Daily -- Weekly</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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>RecurrenceValue</maml:name> <maml:description> <maml:para>Specifies how often to make a backup. This parameter uses the unit specified by the RecurrenceType parameter.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="5" aliases="none"> <maml:name>RetentionCount</maml:name> <maml:description> <maml:para>Specifies the number of days to keep a backup.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Int64</command:parameterValue> <dev:type> <maml:name>Int64</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="6" aliases="none"> <maml:name>StartFromDateTime</maml:name> <maml:description> <maml:para>Specifies the date from which to start making backups. The default value is the current time.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>BackupScheduleUpdateRequest</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a BackupScheduleUpdateRequest object that contains information about updated backup schedules.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Create a schedule update request</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>New-AzureStorSimpleDeviceBackupScheduleUpdateConfig -Id "147f734d-a31a-4473-8501-6ba38be2cb30" -BackupType CloudSnapshot -RecurrenceType Hourly -RecurrenceValue 1 -RetentionCount 50 -Enabled $True VERBOSE: ClientRequestId: ef346641-54b4-4273-8898-7f863e7c5b7e_PS BackupType : CloudSnapshot Id : 147f734d-a31a-4473-8501-6ba38be2cb30 Recurrence : Microsoft.WindowsAzure.Management.StorSimple.Models.ScheduleRecurrence RetentionCount : 50 StartTime : 2014-12-16T00:39:32+05:30 Status : Enabled </dev:code> <dev:remarks> <maml:para>This command creates a backup schedule update request for the schedule that has the specified ID. The request is to make the schedule a cloud snapshot backup that recurs every hour. The backups are kept for 50 days. This schedule is enabled from the default time, which is the current time.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>New-AzureStorSimpleDeviceBackupScheduleAddConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureStorSimpleDeviceBackupPolicy</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>New-AzureStorSimpleDeviceVolumeContainer</command:name> <maml:description> <maml:para>Creates a volume container.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>New</command:verb> <command:noun>AzureStorSimpleDeviceVolumeContainer</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The New-AzureStorSimpleDeviceVolumeContainer cmdlet creates a volume container. You must associate a storage account credential with the new volume container. To obtain a storage account credential, use the Get-AzureStorSimpleStorageAccountCredential cmdlet. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>New-AzureStorSimpleDeviceVolumeContainer</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which to create the volume container.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="Name"> <maml:name>VolumeContainerName</maml:name> <maml:description> <maml:para>Specifies the name of the volume container to create.</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="3" aliases="StorageAccount"> <maml:name>PrimaryStorageAccountCredential</maml:name> <maml:description> <maml:para>Specifies the credential, as a StorageAccountCredential object, to associate with the new volume container. To obtain a StorageAccountCredential object, use the Get-AzureStorSimpleStorageAccountCredential cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">StorageAccountCredentialResponse</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="CloudBandwidthInMbps"> <maml:name>BandWidthRateInMbps</maml:name> <maml:description> <maml:para>Specifies the bandwidth rate in megabits per second (Mbps). </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.Int32</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="5" aliases="none"> <maml:name>EncryptionEnabled</maml:name> <maml:description> <maml:para>Indicates whether to enable encryption.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Boolean]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="6" aliases="none"> <maml:name>EncryptionKey</maml:name> <maml:description> <maml:para>Specifies the encryption key.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="7" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="CloudBandwidthInMbps"> <maml:name>BandWidthRateInMbps</maml:name> <maml:description> <maml:para>Specifies the bandwidth rate in megabits per second (Mbps). </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.Int32</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which to create the volume container.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="5" aliases="none"> <maml:name>EncryptionEnabled</maml:name> <maml:description> <maml:para>Indicates whether to enable encryption.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Boolean]</command:parameterValue> <dev:type> <maml:name>Boolean]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="6" aliases="none"> <maml:name>EncryptionKey</maml:name> <maml:description> <maml:para>Specifies the encryption key.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue)" position="3" aliases="StorageAccount"> <maml:name>PrimaryStorageAccountCredential</maml:name> <maml:description> <maml:para>Specifies the credential, as a StorageAccountCredential object, to associate with the new volume container. To obtain a StorageAccountCredential object, use the Get-AzureStorSimpleStorageAccountCredential cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">StorageAccountCredentialResponse</command:parameterValue> <dev:type> <maml:name>StorageAccountCredentialResponse</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="Name"> <maml:name>VolumeContainerName</maml:name> <maml:description> <maml:para>Specifies the name of the volume container to create.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="7" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</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>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>StorageAccountCredential</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet accepts a PrimaryStorageAccountCredential object to associate with the volume container.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>TaskStatusInfo</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a TaskStatusInfo object, if you specify the WaitForComplete parameter. </maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Create a container</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleStorageAccountCredential -StorageAccountName "ContosoAccount" | New-AzureStorSimpleDeviceVolumeContainer -DeviceName "Contoso63-AppVm" -VolumeContainerName "Container08" -BandWidthRateInMbps 256 VERBOSE: ClientRequestId: 96a4ccd4-f2a9-4820-8bc8-e6b7b56dce0d_PS VERBOSE: ClientRequestId: 90be20db-098a-4f2b-a6da-9da6f533a846_PS VERBOSE: ClientRequestId: 410fd33a-8fa3-4ae5-a1bf-1b6da9b34ffc_PS VERBOSE: Storage Access Credential with name ContosoAccount found! VERBOSE: ClientRequestId: 0a6d1008-ba1f-43b2-a424-9c86be2fb83b_PS VERBOSE: ClientRequestId: 08f0d657-a130-4a25-8090-270c58b479dc_PS VERBOSE: ClientRequestId: 0f3e894a-b031-467c-a258-41b74c89cf18_PS 5b192120-9df0-40ed-b75e-b4e728bd37ef VERBOSE: The create task is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId 5b192120-9df0-40ed-b75e-b4e728bd37ef for tracking the task's status </dev:code> <dev:remarks> <maml:para>This command gets the storage account credential for the account named ContosoAccount by using the Get-AzureStorSimpleStorageAccountCredential cmdlet. The command passes the credential to the current cmdlet by using the pipeline operator. This cmdlet uses the credential from that cmdlet to create the container named Container08 on the device named Contoso63-AppVm. This command starts the job, and then returns a TaskResponse object. To see the status of the job, use the Get-AzureStorSimpleTask cmdlet. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleDeviceVolumeContainer</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureStorSimpleDeviceVolumeContainer</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleStorageAccountCredential</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleJob</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>New-AzureStorSimpleDeviceVolume</command:name> <maml:description> <maml:para>Creates a volume in a specified volume container.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>New</command:verb> <command:noun>AzureStorSimpleDeviceVolume</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The New-AzureStorSimpleDeviceVolume cmdlet creates a volume in a specified volume container. This cmdlet associates each volume with one or more access control records. To obtain AccessControlRecord objects, use the Get-AzureStorSimpleAccessControlRecord cmdlet. Specify a name, size, and AppType for the volume. Also, specify whether to create the volume online, whether to enable default backup, and whether to enable monitoring.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>New-AzureStorSimpleDeviceVolume</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which to create the volume.</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="10" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</maml:para> </maml:description> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue)" position="2" aliases="Container"> <maml:name>VolumeContainer</maml:name> <maml:description> <maml:para>Specifies the container, as a DataContainer object, in which to create the volume. To obtain a VirtualDisk object, use the Get-AzureStorSimpleDeviceVolumeContainer cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">DataContainer</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="Name"> <maml:name>VolumeName</maml:name> <maml:description> <maml:para>Specifies a name for the new volume.</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" aliases="SizeInBytes"> <maml:name>VolumeSizeInBytes</maml:name> <maml:description> <maml:para>Specifies the volume size in bytes.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.Int64</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue)" position="5" aliases="none"> <maml:name>AccessControlRecords</maml:name> <maml:description> <maml:para>Specifies a list of access control records to associate with the volume.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="6" aliases="AppType"> <maml:name>VolumeAppType</maml:name> <maml:description> <maml:para>Specifies whether to create a primary or archive volume. Valid values are: PrimaryVolume and ArchiveVolume.</maml:para> </maml:description> <command:parameterValueGroup> <command:parameterValue required="true" variableLength="false">Invalid</command:parameterValue> <command:parameterValue required="true" variableLength="false">PrimaryVolume</command:parameterValue> <command:parameterValue required="true" variableLength="false">ArchiveVolume</command:parameterValue> </command:parameterValueGroup> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="7" aliases="none"> <maml:name>Online</maml:name> <maml:description> <maml:para>Specifies whether to create the volume online.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="8" aliases="none"> <maml:name>EnableDefaultBackup</maml:name> <maml:description> <maml:para>Specifies whether to enable default backup for the volume.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="9" aliases="none"> <maml:name>EnableMonitoring</maml:name> <maml:description> <maml:para>Specifies whether to enable monitoring for the volume. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue)" position="5" aliases="none"> <maml:name>AccessControlRecords</maml:name> <maml:description> <maml:para>Specifies a list of access control records to associate with the volume.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</command:parameterValue> <dev:type> <maml:name>0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which to create the volume.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="8" aliases="none"> <maml:name>EnableDefaultBackup</maml:name> <maml:description> <maml:para>Specifies whether to enable default backup for the volume.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="9" aliases="none"> <maml:name>EnableMonitoring</maml:name> <maml:description> <maml:para>Specifies whether to enable monitoring for the volume. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="7" aliases="none"> <maml:name>Online</maml:name> <maml:description> <maml:para>Specifies whether to create the volume online.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="6" aliases="AppType"> <maml:name>VolumeAppType</maml:name> <maml:description> <maml:para>Specifies whether to create a primary or archive volume. Valid values are: PrimaryVolume and ArchiveVolume.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AppType</command:parameterValue> <dev:type> <maml:name>AppType</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue)" position="2" aliases="Container"> <maml:name>VolumeContainer</maml:name> <maml:description> <maml:para>Specifies the container, as a DataContainer object, in which to create the volume. To obtain a VirtualDisk object, use the Get-AzureStorSimpleDeviceVolumeContainer cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">DataContainer</command:parameterValue> <dev:type> <maml:name>DataContainer</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="Name"> <maml:name>VolumeName</maml:name> <maml:description> <maml:para>Specifies a name for the new volume.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="SizeInBytes"> <maml:name>VolumeSizeInBytes</maml:name> <maml:description> <maml:para>Specifies the volume size in bytes.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.Int64</command:parameterValue> <dev:type> <maml:name>System.Int64</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="10" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</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>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>DataContainer, List<AccessControlRecord></maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet accepts a DataContainer object and a list of AccessControlRecord objects for the new volume.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>TaskStatusInfo</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a TaskStatusInfo object, if you specify the WaitForComplete parameter. </maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Create a volume</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>$AcrList = Get-AzureStorSimpleAccessControlRecord PS C:\> Get-AzureStorSimpleDeviceVolumeContainer -DeviceName "Contoso63-AppVm" -VolumeContainerName "VolumeContainer07" | New-AzureStorSimpleDeviceVolume -DeviceName "Contoso63-AppVm" -VolumeName "Volume18" -Size 2000000000 -AccessControlRecords $AcrList -VolumeAppType PrimaryVolume -Online $True -EnableDefaultBackup $False -EnableMonitoring $False VERBOSE: ClientRequestId: a29d1a84-1f81-4f20-9130-7adfe45e41fb_PS VERBOSE: ClientRequestId: 8fa63df1-3f81-4029-a536-b536a70068ad_PS VERBOSE: ClientRequestId: 964c5744-8bb1-4f70-beda-95ca4c7f3eb6_PS VERBOSE: ClientRequestId: f09fff3a-54fa-4a0e-93db-b079260ed2dd_PS VERBOSE: ClientRequestId: 59aa29e3-8044-411a-adae-b64a2681ffed_PS VERBOSE: ClientRequestId: 0ffd0297-19be-40fe-a64e-6a2947d831b4_PS c3b1ad53-7a51-49d7-ae83-94ff1ff3ab90 VERBOSE: The create task is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId c3b1ad53-7a51-49d7-ae83-94ff1ff3ab90 for tracking the task's status VERBOSE: Volume container with name: VolumeContainer07 is found. </dev:code> <dev:remarks> <maml:para>The first command gets the access control records in the StorSimple Manager service configuration by using the Get-AzureStorSimpleAccessControlRecord cmdlet, and then stores them in the $AcrList variable.</maml:para> <maml:para>The second command gets the volume container named VolumeContainer07 for the device named Contoso63-AppVm by using the Get-AzureStorSimpleDeviceVolumeContainer cmdlet. The command passes that container to the current cmdlet by using the pipeline operator. This cmdlet creates the volume. The command specifies the name for the volume, the size, and the access control records stored in $AcrList. This command starts the job, and then returns a TaskResponse object. To see the status of the job, use the Get-AzureStorSimpleTask cmdlet. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Create a volume without Access Controlaccess control recordsaccess control</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleDeviceVolumeContainer -DeviceName "Contoso63-AppVm" -VolumeContainerName "VolumeContainer01" | New-AzureStorSimpleDeviceVolume -DeviceName "Contoso63-AppVm" -VolumeName "Volume22" -Size 2000000000 -AccessControlRecords @() -VolumeAppType PrimaryVolume -Online $True -EnableDefaultBackup $False -EnableMonitoring $False -WaitForComplete VERBOSE: ClientRequestId: 3f359790-7e1f-48e7-acf8-ecabba850966_PS VERBOSE: ClientRequestId: 2723ebcf-cd72-47bb-99b5-0c099d45641b_PS VERBOSE: ClientRequestId: e605091f-dd63-42a7-bda2-24753cbc1f9a_PS VERBOSE: ClientRequestId: b3fd08c3-67c5-4309-9591-15d92c360469_PS VERBOSE: ClientRequestId: 15a024a3-b0c9-4f83-9c34-0ed8b95d024b_PS VERBOSE: ClientRequestId: c13f92f9-aea1-40dd-af80-3affe273adbe_PS TaskId : ceef657e-390e-4f7a-aab7-669a29c29e7f TaskResult : Succeeded TaskStatus : Completed ErrorCode : ErrorMessage : TaskSteps : {Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStep} VERBOSE: The task created for your create operation has completed successfully. VERBOSE: ClientRequestId: 1d79febf-f752-4255-af2d-230d40773bc6_PS AccessType : NoAccess AcrIdList : {} AcrList : {} AppType : PrimaryVolume DataContainer : Microsoft.WindowsAzure.Management.StorSimple.Models.DataContainer DataContainerId : 68b63d15-6aa5-4e69-9f9d-4a0bc607d6e9 InstanceId : SS-VOL-d73b7eec-76fc-4310-b347-69b160de8cdd InternalInstanceId : IsBackupEnabled : False IsDefaultBackupEnabled : False IsMonitoringEnabled : False Name : Volume22 Online : True OperationInProgress : None SizeInBytes : 2000000000 VSN : SS-VOL-d73b7eec-76fc-4310-b347-69b160de8cdd VERBOSE: Volume container with name: VolumeContainer01 is found. </dev:code> <dev:remarks> <maml:para>This command gets the volume container named VolumeContainer01 for the device named Contoso63-AppVm by using the Get-AzureStorSimpleDeviceVolumeContainer cmdlet. The command passes that container to the current cmdlet by using the pipeline operator. This cmdlet creates the volume. The command specifies the name for the volume, the size, and an empty value for access control records. This command specifies the WaitForComplete parameter, so it returns a TaskStatusInfo after it creates the volume. </maml:para> <maml:para>Because the command specifies no access control records, this volume cannot be accessed. You can add access, later, by using Set-AzureStorSimpleDeviceVolume cmdlet.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleDeviceVolume</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureStorSimpleDeviceVolume</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureStorSimpleDeviceVolume</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleAccessControlRecord</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleDeviceVolumeContainer</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleJob</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>New-AzureStorSimpleInlineStorageAccountCredential</command:name> <maml:description> <maml:para>Creates an inline storage account credential.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>New</command:verb> <command:noun>AzureStorSimpleInlineStorageAccountCredential</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The New-AzureStorSimpleInlineStorageAccountCredential cmdlet creates an inline Azure storage account credential object. This cmdlet creates a dummy credential object. You can use the New-AzureStorSimpleDeviceVolumeContainer cmdlet and the current cmdlet in the same command by using the Windows PowerShell pipeline. The actual storage account credential object is created as part of creation of the volume container. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>New-AzureStorSimpleInlineStorageAccountCredential</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="Name"> <maml:name>StorageAccountName</maml:name> <maml:description> <maml:para>Specifies the name of an existing 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="false" position="2" aliases="Key"> <maml:name>StorageAccountKey</maml:name> <maml:description> <maml:para>Specifies the account key of the storage account in plain text. The key is transferred in encrypted format.</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" aliases="none"> <maml:name>Endpoint</maml:name> <maml:description> <maml:para>Specifies the Azure storage endpoint for the storage account.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>Endpoint</maml:name> <maml:description> <maml:para>Specifies the Azure storage endpoint for the storage account.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="Key"> <maml:name>StorageAccountKey</maml:name> <maml:description> <maml:para>Specifies the account key of the storage account in plain text. The key is transferred in encrypted format.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="Name"> <maml:name>StorageAccountName</maml:name> <maml:description> <maml:para>Specifies the name of an existing 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>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>StorageAccountCredentialResponse</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a CloudType object, which contains the following fields: -- Hostname. String. -- InstanceId. String. -- IsDefault. Boolean. -- Location. String. -- Login. String. -- Name. String. -- OperationInProgress. OperationInProgress. -- Password. String. -- PasswordEncryptionCertThumbprint. String. -- UseSSL. Boolean. -- VolumeCount. Integer.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Create a storage account credential inline</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>New-AzureStorSimpleInlineStorageAccountCredential -Name "contoso76" -Key x6o/tpZh8Coo8Tteo0NHLksTOKr/P9Vufo0LZNGdPGVTSUu00/p6ta1w9gRbVBNjzN8aa504kH2zkEsfUme+kw== | New-AzureStorSimpleDeviceVolumeContainer -Name "VolumeContainer_06" -DeviceName Contoso_App3 -BandWidthRate 256 -EncryptionEnabled $True -EncryptionKey "Key22" -WaitForComplete VERBOSE: ClientRequestId: 535d24d5-1ed8-4759-92b2-dd492f94e23e_PS VERBOSE: ClientRequestId: f32fc069-96c9-4fd9-a71a-0e62d81f25d8_PS VERBOSE: ClientRequestId: 4376a931-89f5-448f-92bd-b2f7234244c9_PS VERBOSE: ClientRequestId: 980109d4-7d76-40d0-ae3c-db539e2cb486_PS VERBOSE: Encryption in progress... VERBOSE: Creating StorageAccountCredential inline VERBOSE: Found storage account with name : contoso76 VERBOSE: Storage credential verification succeeded. VERBOSE: Encryption in progress... VERBOSE: ClientRequestId: d4f8a5de-bf81-4773-b6e6-edb034284cf4_PS JobId : 2dec64d3-b30d-4d35-adb3-12689b235b79 JobResult : Succeeded JobStatus : Completed ErrorCode : ErrorMessage : JobSteps : {Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStep, Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStep} VERBOSE: The job created for your create operation has completed successfully. VERBOSE: ClientRequestId: abd4082a-2eda-42ad-8cb3-5864dd2f7d1f_PS BandwidthRate : 256 EncryptionKey : SK23I39L7GvoLce7u63TMT/A/V/TW8JXe+PoXKEKzwsr3t/h7tdqV1EpfaK0DGO/qo5b2PLCagFHAxnZEiejg jtF9TcyK+aLyzEnkqtM+eNRJmgANzJ9C/5L6Ubp+eSWiy+U/pyZygxPrb37e0yFg+qbHV9R9Qi+afBpHD9Gsi rhURuOc/idWG29eaEifuRzn/zEjvwJ2pEyYLcsuL+ftfRYZom69XO+cRDv5yT3xdNI/dAod/5YUaf1IhJl8wR cWjqyr00NxlCI03hTgH2sFyTFZWc07S2KI5K5n3rmCL6vGT76SRgNFeUxGz3v06/VoBhdmv9vDfrEz5UkW04d Qw== InstanceId : a72bf4bb-0f0a-4ec2-a8b1-c4548825f522 IsDefault : False IsEncryptionEnabled : True Name : VolumneContainer_06 OperationInProgress : None Owned : True PrimaryStorageAccountCredential : Microsoft.WindowsAzure.Management.StorSimple.Models.StorageAccountCredentialResponse SecretsEncryptionThumbprint : VolumeCount : 0 </dev:code> <dev:remarks> <maml:para>This command creates a storage account credential inline, and then passes it to the New-AzureStorSimpleDeviceVolumeContainer cmdlet by using the pipeline operator. That container uses the dummy credential to create a volume container.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>New-AzureStorSimpleStorageAccountCredential</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>New-AzureStorSimpleDeviceVolumeContainer</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>New-AzureStorSimpleNetworkConfig</command:name> <maml:description> <maml:para>Prepares a network configuration object.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>New</command:verb> <command:noun>AzureStorSimpleNetworkConfig</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The New-AzureStorSimpleNetworkConfig cmdlet prepares a network configuration object to pass to the Set-AzureStorSimpleDevice cmdlet. Set the Controller0IPAddress parameter and Controller1IPAddress parameter only on the Data0 interface. Data0 supports only three settings: Controller0IPAddress, Controller1IPAdress, and EnableIscsi.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>New-AzureStorSimpleNetworkConfig</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>InterfaceAlias</maml:name> <maml:description> <maml:para>Specifies the interface alias of interface for which this cmdlet supplies settings. Valid values are from Data0 to Data5.</maml:para> </maml:description> <command:parameterValueGroup> <command:parameterValue required="true" variableLength="false">Data0</command:parameterValue> <command:parameterValue required="true" variableLength="false">Data1</command:parameterValue> <command:parameterValue required="true" variableLength="false">Data2</command:parameterValue> <command:parameterValue required="true" variableLength="false">Data3</command:parameterValue> <command:parameterValue required="true" variableLength="false">Data4</command:parameterValue> <command:parameterValue required="true" variableLength="false">Data5</command:parameterValue> </command:parameterValueGroup> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="10" aliases="none"> <maml:name>IPv4Netmask</maml:name> <maml:description> <maml:para>Specifies the IPv4 netmask for the interface.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>EnableIscsi</maml:name> <maml:description> <maml:para>Indicates whether to enable Internet SCSI (ISCSI) for the interface.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Boolean]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>EnableCloud</maml:name> <maml:description> <maml:para>Indicates whether to cloud-enable the interface.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Boolean]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>Controller0IPv4Address</maml:name> <maml:description> <maml:para>Specifies the IPv4 address for controller 0. Specify this parameter only for the Data0 interface.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="5" aliases="none"> <maml:name>Controller1IPv4Address</maml:name> <maml:description> <maml:para>Specifies the IPv4 address for controller 1. Specify this parameter only for the Data0 interface.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="6" aliases="none"> <maml:name>IPv6Gateway</maml:name> <maml:description> <maml:para>Specifies the IPv6 gateway for the interface.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="7" aliases="none"> <maml:name>IPv4Gateway</maml:name> <maml:description> <maml:para>Specifies the IPv4 address of a gateway.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="8" aliases="none"> <maml:name>IPv4Address</maml:name> <maml:description> <maml:para>Specifies the IPv4 address for the interface.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="9" aliases="none"> <maml:name>IPv6Prefix</maml:name> <maml:description> <maml:para>Specifies the IPv6 prefix for the interface.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>Controller0IPv4Address</maml:name> <maml:description> <maml:para>Specifies the IPv4 address for controller 0. Specify this parameter only for the Data0 interface.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="5" aliases="none"> <maml:name>Controller1IPv4Address</maml:name> <maml:description> <maml:para>Specifies the IPv4 address for controller 1. Specify this parameter only for the Data0 interface.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>EnableCloud</maml:name> <maml:description> <maml:para>Indicates whether to cloud-enable the interface.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Boolean]</command:parameterValue> <dev:type> <maml:name>Boolean]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>EnableIscsi</maml:name> <maml:description> <maml:para>Indicates whether to enable Internet SCSI (ISCSI) for the interface.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Boolean]</command:parameterValue> <dev:type> <maml:name>Boolean]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>InterfaceAlias</maml:name> <maml:description> <maml:para>Specifies the interface alias of interface for which this cmdlet supplies settings. Valid values are from Data0 to Data5.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="8" aliases="none"> <maml:name>IPv4Address</maml:name> <maml:description> <maml:para>Specifies the IPv4 address for the interface.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="7" aliases="none"> <maml:name>IPv4Gateway</maml:name> <maml:description> <maml:para>Specifies the IPv4 address of a gateway.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="10" aliases="none"> <maml:name>IPv4Netmask</maml:name> <maml:description> <maml:para>Specifies the IPv4 netmask for the interface.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="6" aliases="none"> <maml:name>IPv6Gateway</maml:name> <maml:description> <maml:para>Specifies the IPv6 gateway for the interface.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="9" aliases="none"> <maml:name>IPv6Prefix</maml:name> <maml:description> <maml:para>Specifies the IPv6 prefix for the interface.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>NetworkConfig</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a NetworkConfig object that contains the following properties: -- IsIscsiEnabled (Boolean) -- IsCloudEnabled (Boolean) -- Controller0IPv4Address (IPAddress) -- Controller1IPv4Address (IPAddress) -- IPv6Gateway (IPAddress) -- IPv4Gateway (IPAddress) -- IPv4Address (IPAddress) -- IPv6Prefix (String) -- IPv4Netmask (IPAddress) -- InterfaceAlias (NetInterfaceId)</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Configure a Data0 interface</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>New-AzureStorSimpleNetworkConfig -InterfaceAlias Data0 -EnableIscsi $True -Controller0IPv4Address "10.67.64.48" -Controller1IPv4Address "10.67.64.49" VERBOSE: ClientRequestId: 0621d220-a460-48ec-84ec-02a3a82f88b2_PS IsIscsiEnabled : True IsCloudEnabled : Controller0IPv4Address : 10.67.64.48 Controller1IPv4Address : 10.67.64.49 IPv6Gateway : IPv4Gateway : IPv4Address : IPv6Prefix : IPv4Netmask : InterfaceAlias : Data0 VERBOSE: Successfully created a StorSimple Network Configuration for interface Data0 </dev:code> <dev:remarks> <maml:para>This command creates network configuration for the Data0 interface. This command specifies the Controller0IPv4Address, Controller1IPv4Address, and EnableIscsi parameters. This cmdlet can configure Data0 for only these three parameters. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Configuren an interface other than Data0 an</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>New-AzureStorSimpleNetworkConfig -InterfaceAlias Data1 -EnableIscsi $True -EnableCloud $True -IPv6Gateway "db8:421e:9a8::a4:1c50" -IPv4Gateway "10.67.64.1" -IPv4Address "10.67.64.48" -IPv6Prefix "2001:db8:a::123/64" -IPv4Netmask "255.255.0.0" VERBOSE: ClientRequestId: 3a15ff0e-b769-4329-9147-676b1e0acd7d_PS IsIscsiEnabled : True IsCloudEnabled : True Controller0IPv4Address : Controller1IPv4Address : IPv6Gateway : db8:421e:9a8::a4:1c50 IPv4Gateway : 10.67.64.1 IPv4Address : 10.67.64.48 IPv6Prefix : 2001:db8:a::123/64 IPv4Netmask : 255.255.0.0 InterfaceAlias : Data1 VERBOSE: Successfully created a StorSimple Network Configuration for interface Data1 </dev:code> <dev:remarks> <maml:para>This command configures the Data1 interface. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 3: Modify a configuration for a device</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>$NetworkConfigData0 = New-AzureStorSimpleNetworkConfig -InterfaceAlias Data0 -EnableIscsi $True -Controller0IPv4Address "10.67.64.48" -Controller1IPv4Address "10.67.64.49" $OnlineDevice = @(Get-AzureStorSimpleDevice | Where { $_.Status -eq "Online"})[0] $UpdatedDetails = Set-AzureStorSimpleDevice -DeviceId $OnlineDevice.DeviceId -StorSimpleNetworkConfig $NetworkConfigData0 VERBOSE: ClientRequestId: 0f163163-5ad0-4635-a7b5-870d47297f66_PS VERBOSE: Successfully created a StorSimple Network Configuration for interface Data0 VERBOSE: ClientRequestId: 552e4a6c-7006-4015-a20b-9def6428a85e_PS VERBOSE: ClientRequestId: f31cc84c-bc8a-404a-9da6-4670a7999e75_PS VERBOSE: 1 StorSimple device found! VERBOSE: ClientRequestId: 545bc1a9-3c1b-4e50-89a6-9678aefe79e5_PS VERBOSE: ClientRequestId: f114ad08-47f5-4fb8-8a01-1ea7f1ed1b98_PS VERBOSE: About to configure the device : newDeviceName ! VERBOSE: ClientRequestId: 6afe7927-1c19-48d3-ac22-68148fd056b8_PS VERBOSE: The task created for your Setup operation has completed successfully. VERBOSE: ClientRequestId: 467c142c-90da-4d75-82a4-c114afce953d_PS VERBOSE: Successfully updated configuration for device newDeviceName with id 865e68f6-1e71-47b6-80d5-15d3a23bd2b0 </dev:code> <dev:remarks> <maml:para>The first command creates a network configuration for the Data0 interface. This command specifies the Controller0IPv4Address, Controller1IPv4Address, and EnableIscsi parameters. The command stores the result in the $NetworkConfigData0 variable. </maml:para> <maml:para>The second command uses the Get-AzureStorSimpleDevice cmdlet and the Where-Object core cmdlet to get an online StorSimple device, and then stores it in the $OnlineDevice variable.</maml:para> <maml:para>The final command modifies the configuration for the device that has the specified device ID by using the Set-AzureStorSimpleDevice cmdlet. The command uses the configuration object that the current cmdlet created in the first command. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Set-AzureStorSimpleDevice</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleDevice</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>New-AzureStorSimpleStorageAccountCredential</command:name> <maml:description> <maml:para>Adds an Azure storage access credential.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>New</command:verb> <command:noun>AzureStorSimpleStorageAccountCredential</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The New-AzureStorSimpleStorageAccountCredential cmdlet adds an Azure storage access credential to StorSimple manager for use by StorSimple OneSDK cmdlets. Most of the StorSimple OneSDK cmdlets deal with entities that are eventually tied to a specific storage account, such as volumes, volume containers, backups, and backup policies. For some cmdlets, you must provide the credentials of the storage account in use. A storage account credential is an access object created in OneSDK that points to an existing Azure storage account. You provide the name and access key of an existing storage account to create a storage account credential. You can then use that credential object with other cmdlets. </maml:para> <maml:para>This cmdlet uses the registration key that you provide when you select the resource by using the Select-AzureStorSimpleResource cmdlet. Be sure that value is correct to avoid encryption failure. To modify the registration key to a correct value, use Select-AzureStorSimpleResource. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>New-AzureStorSimpleStorageAccountCredential</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="Name"> <maml:name>StorageAccountName</maml:name> <maml:description> <maml:para>Specifies the name of an existing 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="false" position="2" aliases="Key"> <maml:name>StorageAccountKey</maml:name> <maml:description> <maml:para>Specifies the access key of the storage account in plain text. </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="3" aliases="none"> <maml:name>UseSSL</maml:name> <maml:description> <maml:para>Indicates whether to use SSL for the connection when using the new storage account credential. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>Endpoint</maml:name> <maml:description> <maml:para>Specifies the Azure storage endpoint for the storage account.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="5" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>Endpoint</maml:name> <maml:description> <maml:para>Specifies the Azure storage endpoint for the storage account.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">System.String</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="Key"> <maml:name>StorageAccountKey</maml:name> <maml:description> <maml:para>Specifies the access key of the storage account in plain text. </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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="Name"> <maml:name>StorageAccountName</maml:name> <maml:description> <maml:para>Specifies the name of an existing 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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>UseSSL</maml:name> <maml:description> <maml:para>Indicates whether to use SSL for the connection when using the new storage account credential. </maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Boolean</command:parameterValue> <dev:type> <maml:name>Boolean</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="5" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</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>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>IEnumerable<StorageAccountCredentialResponse>, TaskResponse</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a list of StorageAccountCredentialResponse objects, if you specify the WaitForComplete parameter. If you do not specify that parameter, the cmdlet returns a TaskResponse object. A StorageAccountCredentialResponse contains the following properties: -- CloudType (CloudType) -- Hostname (String) -- InstanceId (String) -- IsDefault (Boolean) -- Location (String) -- Login (String) -- Name (String) -- OperationInProgress (OperationInProgress) -- Password (String) -- PasswordEncryptionCertThumbprint (String) -- UseSSL (Boolean) -- VolumeCount (int)</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Create a credential</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>New-AzureStorSimpleStorageAccountCredential -StorageAccountName "ContosoAccount07" -StorageAccountKey "L/eVcHtvqKjPWm5SaAJXtDlc0d69yVs0ICoZ2XIV1x0r9TqUyQyLUNS8lHvTvRmzdvQhJelav3fYyX7wyAu/SA==" -UseSSL $False -WaitForComplete <!--[SuppressMessage("Microsoft.Security", "CS001:SecretInline")]--> VERBOSE: ClientRequestId: f363cda4-54aa-4ee8-a3fa-00651ac86ffb_PS VERBOSE: Found storage account with name : ContosoAccount07 VERBOSE: Storage credential verification succeeded. VERBOSE: ClientRequestId: 716ce6df-62b3-4d48-8e0e-b0c94eec6934_PS VERBOSE: Encryption in progress... VERBOSE: ClientRequestId: 19aa4ef7-2789-4817-980c-19e33d257650_PS JobId : 84f74c25-b742-452c-973c-43c7446e9f49 JobResult : Succeeded JobStatus : Completed ErrorCode : ErrorMessage : JobSteps : {} VERBOSE: The job created for your create operation has completed successfully. VERBOSE: ClientRequestId: 72bcdf37-bf06-4dac-adc9-31bb8d06475a_PS CloudType : Azure Hostname : blob.core.windows.net InstanceId : b9986714-cef4-4c3f-a719-7acfc9559320 IsDefault : False Location : West Europe Login : ContosoAccount07 Name : ContosoAccount07 OperationInProgress : None Password : G1sBQ6/qAN1gyRGRZVarpi7o6ToJl61sGugfeJ75yx7cwyaGLQHjrSEEwhxThbDJkxso2emAOarTe920Uufy 0AmJ9NpBI5hNyIFfwS4Ff+z2WmfKOzApyeofW5Zy7GPufehe/2ondq0XG4pGt3qxHFXNVUuiaPSU6TVWEKSh hWDaksSXYMGij3DJdZDW1MA49e6Q7OY+rFujbYvi9P2OjVj8T+FbiMtMB5NnQEqE+t3k74RqPIDKU+d3h9x4 rYbAksGPfMvSa0fUipwYJ+Y5/NABA6j/MfB2pNDJbvqDoa1JCX6SKiwL81wmTh78/KnDY5ST3Said5DzKEbR iYMQZg== PasswordEncryptionCertThumbprint : UseSSL : False VolumeCount : 0 </dev:code> <dev:remarks> <maml:para>This command creates a storage access credential for the specified storage account. This command specifies the WaitForComplete parameter, and, so, the cmdlet waits until the task finishes to return control to the console. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Create a credential and query that status of the task</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>New-AzureStorSimpleStorageAccountCredential -Name "ContosoAccount08" -Key "6BlMpSVrCQVQy3iOpkxiyY8uk/e3PiHIhadxV4qpPlKInr/eRFrGcWKDrfNC1IHj6oh0If/h3rALdZ0zuaf9cQ==" -UseSSL $True <!--[SuppressMessage("Microsoft.Security", "CS001:SecretInline")]--> PS C:\> Get-AzureStorSimpleTask -InstanceId "53816d8d-a8b5-4c1d-a177-e59007608d6d" VERBOSE: ClientRequestId: 6104a834-ea57-4687-8e0b-1d97dc1c038b_PS VERBOSE: Found storage account with name : ContosoAccount08 VERBOSE: Storage credential verification succeeded. VERBOSE: ClientRequestId: 1f686fa4-5afc-43c3-87b6-f2da7bf9e65f_PS VERBOSE: Encryption in progress... VERBOSE: ClientRequestId: 8acb3770-bd72-43e6-9622-481002ad40b0_PS 53816d8d-a8b5-4c1d-a177-e59007608d6d VERBOSE: The create task is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId 53816d8d-a8b5-4c1d-a177-e59007608d6d for tracking the task's status </dev:code> <dev:remarks> <maml:para>The first command creates a storage access credential for the specified storage account. The command returns a task ID.</maml:para> <maml:para>The second command queries the status of the task by using the Get-AzureStorSimpleTask cmdlet. The command specifies the task ID from the first command. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 3: Create a credential to use with another cmdlet</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleStorageAccountCredential -Name "ContosoAccount09" | New-AzureStorSimpleDeviceVolumeContainer -Name "VC03" -DeviceName "Contoso63-AppVm" -BandWidthRate 256 -EncryptionEnabled $True -EncryptionKey "<your encryption key>" -WaitForComplete VERBOSE: ClientRequestId: b1d1e637-cd72-4a1e-95a8-4db1d0b921a7_PS VERBOSE: ClientRequestId: 71f56ca0-1f0b-4655-9331-4849e096345a_PS VERBOSE: ClientRequestId: fbdd5a96-c95f-4547-9bcd-376d05543348_PS VERBOSE: Storage Access Credential with name ContosoAccount09 found! VERBOSE: ClientRequestId: b44e0363-9979-4e97-aeb1-d9eb4073a337_PS VERBOSE: ClientRequestId: a6047943-b01e-44e4-a91d-5103aa80ce57_PS VERBOSE: Encryption in progress... VERBOSE: ClientRequestId: ac2dfd8b-922f-4e4d-8c8d-df1e2f87806c_PS JobId : 1cf2db5d-624f-46c4-97b9-c36451ba144e JobResult : Succeeded JobStatus : Completed ErrorCode : ErrorMessage : JobSteps : {Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStep} VERBOSE: The job created for your create operation has completed successfully. VERBOSE: ClientRequestId: 9558414b-0883-4cf6-8a02-40efc7edd80d_PS BandwidthRate : 256 EncryptionKey : g53NTgCF3SBVZzzk+9yUz5nZopvZpNr3th92ol7WRO7ZUKhodPm7WNjjHEKB0/V+JY6P68tdaF4JxF5jH58e/ mCtTvnPNpOxykYFdY9GKGd9gnf+36sUPqiLFP+ONO5nN/N/zFmOeyuySsaa3gJsZG8eIiFc821yfe9m5QPbF bx/Qyu8qLl1R1LrKU7k+46IXfwQYSyclztydyuzvFUUic9kaJuR3944VLvrjvxJIbnLrYy7hsn+Gfq7ds9NFq AUILBH0+bk2uWgUlofAcE8fJ/rzDAHr8nFGWxOTJSrqAo0J3st8BN39+BcrY+zOWsMc/vKfc+Ss5PsGVGDT1r eQ== InstanceId : 60c34706-ef0c-4c6f-ad90-7249f42648f7 IsDefault : False IsEncryptionEnabled : True Name : VC03 OperationInProgress : None Owned : True PrimaryStorageAccountCredential : Microsoft.WindowsAzure.Management.StorSimple.Models.StorageAccountCredentialResponse SecretsEncryptionThumbprint : VolumeCount : 0 </dev:code> <dev:remarks> <maml:para>This command creates a storage account credential. The command then passes that credential to the New-AzureStorSimpleDeviceVolumeContainer cmdlet by using the pipeline operator. That cmdlet creates a new volume container by using the credential. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleStorageAccountCredential</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureStorSimpleStorageAccountCredential</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureStorSimpleStorageAccountCredential</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleJob</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>New-AzureStorSimpleDeviceVolumeContainer</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>New-AzureStorSimpleVirtualDevice</command:name> <maml:description> <maml:para>Creates a virtual StorSimple device. </maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>New</command:verb> <command:noun>AzureStorSimpleVirtualDevice</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The New-AzureStorSimpleVirtualDevice cmdlet creates a virtual StorSimple device. Specify a device name for the device. Specify virtual network and subnet details for the virtual network in the same subscription. The geo should match the geo in which the StorSimple resource is created. To use an existing storage account for this virtual device, Specify the name. To create a new storage account for this virtual device, specify both the StorageAccountName and the CreateNewStorageAccount parameters.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>New-AzureStorSimpleVirtualDevice</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="Name"> <maml:name>VirtualDeviceName</maml:name> <maml:description> <maml:para>Specifies a name for the virtual device.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="VNetName"> <maml:name>VirtualNetworkName</maml:name> <maml:description> <maml:para>Specifies the name of a virtual network.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>SubNetName</maml:name> <maml:description> <maml:para>Specifies the name of a virtual subnet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>CreateNewStorageAccount</maml:name> <maml:description> <maml:para>Indicates that this cmdlet creates a new storage account.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="5" aliases="none"> <maml:name>StorageAccountName</maml:name> <maml:description> <maml:para>Specifies the name of a storage account.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>PersistAzureVMOnFailrue</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>New-AzureStorSimpleVirtualDevice</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="Name"> <maml:name>VirtualDeviceName</maml:name> <maml:description> <maml:para>Specifies a name for the virtual device.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="VNetName"> <maml:name>VirtualNetworkName</maml:name> <maml:description> <maml:para>Specifies the name of a virtual network.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>SubNetName</maml:name> <maml:description> <maml:para>Specifies the name of a virtual subnet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>StorageAccountName</maml:name> <maml:description> <maml:para>Specifies the name of a storage account.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>PersistAzureVMOnFailrue</maml:name> <maml:description> <maml:para> </maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>CreateNewStorageAccount</maml:name> <maml:description> <maml:para>Indicates that this cmdlet creates a new storage account.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>PersistAzureVMOnFailrue</maml:name> <maml:description> <maml:para> </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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="5" aliases="none"> <maml:name>StorageAccountName</maml:name> <maml:description> <maml:para>Specifies the name of a storage account.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">System.String</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>SubNetName</maml:name> <maml:description> <maml:para>Specifies the name of a virtual subnet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="Name"> <maml:name>VirtualDeviceName</maml:name> <maml:description> <maml:para>Specifies a name for the virtual device.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="VNetName"> <maml:name>VirtualNetworkName</maml:name> <maml:description> <maml:para>Specifies the name of a virtual network.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name> </maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>String</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns the ID identifier of the job that creates the virtual device. You can use this identifier to track the progress using the Get-AzureStorSimpleJob cmdlet. </maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Create a virtual device with a new account and an existing network</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>New-AzureStorSimpleVirtualDevice -VirtualDeviceName "Contosodevice02" -VirtualNetworkName "Saas2vpn" -SubNetName "TenantSubnet" -StorageAccountName "AzureTenant04" -CreateNewStorageAccount 64e4c564-b0ac-44b0-afb4-adf28ac24ad0 VERBOSE: The create job is triggered successfully. Please use the command Get-AzureStorSimpleJob -InstanceId 64e4c564-b0ac-44b0-afb4-adf28ac24ad0 for tracking the job's status </dev:code> <dev:remarks> <maml:para>This command creates a virtual device that uses a new storage account and an existing virtual network.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Create a virtual device with an existing account and virtual network</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>New-AzureStorSimpleVirtualDevice -VirtualDeviceName "ContosoDevice07" -VirtualNetworkName "Saas2vpn" -SubNetName TenantSubnet -StorageAccountName azurecisbvtdnd 2a18a3b7-1ec6-481d-b95d-66ba8f67ceaf VERBOSE: The create job is triggered successfully. Please use the command Get-AzureStorSimpleJob -InstanceId 2a18a3b7-1ec6-481d-b95d-66ba8f67ceaf for tracking the job's status </dev:code> <dev:remarks> <maml:para>This command creates a virtual device that uses an existing storage account and an existing virtual network.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Set-AzureStorSimpleVirtualDevice</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleJob</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Remove-AzureStorSimpleAccessControlRecord</command:name> <maml:description> <maml:para>Deletes an access control record from the service configuration.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Remove</command:verb> <command:noun>AzureStorSimpleAccessControlRecord</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Remove-AzureStorSimpleAccessControlRecord cmdlet deletes an access control record from the service configuration.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Remove-AzureStorSimpleAccessControlRecord</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue)" position="1" aliases="none"> <maml:name>ACR</maml:name> <maml:description> <maml:para>Specifies an AccessControlRecord object to delete. To obtain an AccessControlRecord object, use the Get-AzureStorSimpleAccessControlRecord cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AccessControlRecord</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Indicates that this cmdlet does not prompt you for confirmation.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Remove-AzureStorSimpleAccessControlRecord</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="Name"> <maml:name>ACRName</maml:name> <maml:description> <maml:para>Specifies a name of the access control record to delete.</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" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Indicates that this cmdlet does not prompt you for confirmation.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue)" position="1" aliases="none"> <maml:name>ACR</maml:name> <maml:description> <maml:para>Specifies an AccessControlRecord object to delete. To obtain an AccessControlRecord object, use the Get-AzureStorSimpleAccessControlRecord cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">AccessControlRecord</command:parameterValue> <dev:type> <maml:name>AccessControlRecord</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="Name"> <maml:name>ACRName</maml:name> <maml:description> <maml:para>Specifies a name of the access control record to delete.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Indicates that this cmdlet does not prompt you for confirmation.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</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>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>AccessControlRecord</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet accepts an AccessControlRecord object. An AccessControlRecord object contains the following fields: -- GlobalId (String) -- InitiatorName (String) -- InstanceId (String) -- Name (String) -- OperationInProgress (OperationInProgress) -- VolumeCount (int)</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>TaskStatusInfo, TaskResponse</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a TaskStatusInfo object if you specify the WaitForComplete parameter. If you do not specify that parameter, it returns a TaskResponse object.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Remove an Access Controlaccess control recordaccess control</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Remove-AzureStorSimpleAccessControlRecord -ACRName "Acr10" -WaitForComplete -Force VERBOSE: ClientRequestId: 574aeb7f-fbc9-46d5-bc68-1bfe4487bd8b_PS VERBOSE: ClientRequestId: 985afe84-ef95-47cb-8c8f-df094530334b_PS VERBOSE: About to run a job to remove your ACR! VERBOSE: ClientRequestId: 7eb7e1a0-2288-44da-b64c-5bf86a6b9aaf_PS JobId : f7934db5-8363-4152-b38e-b9a5d91f97b9 JobResult : Succeeded JobStatus : Completed ErrorCode : ErrorMessage : JobSteps : {} VERBOSE: The job created for your delete operation has completed successfully. </dev:code> <dev:remarks> <maml:para>This command deletes the access control record named Acr10. This command specifies the WaitForComplete parameter, and, therefore, the command waits until the operation is complete, and then returns a TaskStatusInfo object.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Remove an Access Controlaccess control record by using the pipelineAccess Controlaccess controlaccess control</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleAccessControlRecord -ACRName "Acr10" | Remove-AzureStorSimpleAccessControlRecord -Force VERBOSE: ClientRequestId: ff8d8bd6-4c92-4ab6-8fde-e9344a253da3_PS VERBOSE: ClientRequestId: f71c74f3-33b9-40d1-b8d5-12363e98412f_PS VERBOSE: ClientRequestId: d5d809d0-ec22-4e45-97ee-a56edc41e503_PS VERBOSE: About to create a job to remove your ACR! VERBOSE: ClientRequestId: 6ffa6bc8-37b3-49ff-bafc-721b360f09cb_PS 294a0208-a43f-4d80-b824-2319cd77c5e6 VERBOSE: The delete task is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId 294a0208-a43f-4d80-b824-2319cd77c5e6 for tracking the task's status </dev:code> <dev:remarks> <maml:para>This command uses the Get-AzureStorSimpleAccessControlRecord to get the AccessControlRecord named Acr10, and then passes that object to the current cmdlet by using the pipeline operator. The command starts the operation that removes the AccessControlRecord object, and then returns a TaskResponse object. To see the status of the task, use the Get-AzureStorSimpleTask cmdlet.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleAccessControlRecord</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>New-AzureStorSimpleAccessControlRecord</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureStorSimpleAccessControlRecord</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleJob</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Remove-AzureStorSimpleDeviceBackupPolicy</command:name> <maml:description> <maml:para>Removes an existing backup policy.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Remove</command:verb> <command:noun>AzureStorSimpleDeviceBackupPolicy</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Remove-AzureStorSimpleDeviceBackupPolicy cmdlet removes an existing BackupPolicy object. After you remove a backup policy, no further backups take place based on that policy. This cmdlet also deletes all schedules associated with the deleted policy.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Remove-AzureStorSimpleDeviceBackupPolicy</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which to delete the backup 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="2" aliases="none"> <maml:name>BackupPolicy</maml:name> <maml:description> <maml:para>Specifies the BackupPolicyDetails object to delete. To obtain a BackupPolicyDetails object, use the Get-AzureStorSimpleDeviceBackupPolicy cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">BackupPolicyDetails</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Indicates that this cmdlet does not prompt you for confirmation.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Remove-AzureStorSimpleDeviceBackupPolicy</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which to delete the backup 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="false" position="2" aliases="none"> <maml:name>BackupPolicyId</maml:name> <maml:description> <maml:para>Specifies the instance ID of the BackupPolicy object to delete.</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" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Indicates that this cmdlet does not prompt you for confirmation.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue)" position="2" aliases="none"> <maml:name>BackupPolicy</maml:name> <maml:description> <maml:para>Specifies the BackupPolicyDetails object to delete. To obtain a BackupPolicyDetails object, use the Get-AzureStorSimpleDeviceBackupPolicy cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">BackupPolicyDetails</command:parameterValue> <dev:type> <maml:name>BackupPolicyDetails</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>BackupPolicyId</maml:name> <maml:description> <maml:para>Specifies the instance ID of the BackupPolicy object to delete.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which to delete the backup 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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Indicates that this cmdlet does not prompt you for confirmation.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</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>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>BackupPolicyDetails</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet accepts a BackupPolicyDetails object to delete. </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>TaskStatusInfo, TaskResponse</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a TaskStatusInfo object if you specify the WaitForComplete parameter. If you do not specify that parameter, it returns a TaskResponse object.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Remove a backup policy</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Remove-AzureStorSimpleDeviceBackupPolicy -DeviceName "Contoso63-AppVm" -BackupPolicyId "03710b4c-82c1-40ca-be5c-40289dc49642" -Force VERBOSE: ClientRequestId: b3e4d485-eae4-4cf4-a43b-815f3abcd2dd_PS VERBOSE: ClientRequestId: a260ee98-46aa-49e0-91ac-31d4155f4cae_PS VERBOSE: About to create a job to remove your backuppolicy! VERBOSE: ClientRequestId: 92a9c264-90df-4345-a495-92767dd266f2_PS 695be190-ac81-4cf2-b1c5-03ef6b08d005 VERBOSE: The remove task is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId 695be190-ac81-4cf2-b1c5-03ef6b08d005 for tracking the task's status </dev:code> <dev:remarks> <maml:para>This command removes the BackupPolicy that has the instance ID 03710b4c-82c1-40ca-be5c-40289dc49642, so that no more backups are made based on this policy. The command also deletes all schedules associated with this policy. The command starts the operation that removes the BackupPolicy object, and then returns a TaskResponse object. To see the status of the task, use the Get-AzureStorSimpleTask cmdlet.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Remove the first of the backup policies for a device</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>$Policies = Get-AzureStorSimpleDeviceBackupPolicy -DeviceName "Contoso63-AppVm" PS C:\> Remove-AzureStorSimpleDeviceBackupPolicy -DeviceName "Contoso63-AppVm" -BackupPolicyId $Policies[0].InstanceId -Force -WaitForComplete VERBOSE: ClientRequestId: db3b49fa-cffa-446d-ba52-daa6802e00f7_PS VERBOSE: ClientRequestId: 70e2b56f-c2df-40d0-a1e5-d7a4d7e25962_PS VERBOSE: About to run a job to remove your backuppolicy! VERBOSE: ClientRequestId: f8eb3d4d-2c57-4fc9-9f40-79d0f2ea1b6a_PS JobId : 820a246e-54b6-41a9-bdd5-15d5daea9b0a JobResult : Succeeded JobStatus : Completed ErrorCode : ErrorMessage : JobSteps : {Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStep, Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStep} VERBOSE: The job created for your remove operation has completed successfully. </dev:code> <dev:remarks> <maml:para>The first command gets the backup policies for the device named Contoso63-AppVm, and then stores them in the $Policies variable. </maml:para> <maml:para>The second command removes the first backup policy from Contoso63-AppVm. The command uses standard dot syntax to identify the InstanceId property of the first item in $Policies. This command specifies the WaitForComplete parameter, so the command completes the task, and then returns a TaskStatusInfo object for the task.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 3: Remove a backup policy by using the pipeline</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleDeviceBackupPolicy -DeviceName "Contoso63-AppVm" -BackupPolicyName "TSQAVolume01_Default" | Remove-AzureStorSimpleDeviceBackupPolicy -DeviceName "Contoso63-AppVm" -Force -WaitForComplete VERBOSE: ClientRequestId: 60080fb1-2f88-4c17-bfd7-21aa73440a9c_PS VERBOSE: ClientRequestId: 04c91121-50d7-4796-9af6-fc6a7d6b6a0e_PS VERBOSE: ClientRequestId: 47ceb37c-672f-42e8-bd19-1190925c46cd_PS VERBOSE: ClientRequestId: cbc39757-f2cc-4cc5-93ea-4ec0fbfb0ca8_PS VERBOSE: ClientRequestId: 3614d47a-51fc-4500-a5f1-5401301ca4e3_PS VERBOSE: About to create a job to remove your backuppolicy! VERBOSE: ClientRequestId: dbd7166e-1888-4b11-9af9-8d49712a8c8b_PS 702ad240-5730-4015-b051-56055bd2c2d3 VERBOSE: The remove task is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId 702ad240-5730-4015-b051-56055bd2c2d3 for tracking the task's status VERBOSE: BackupPolicy with id bfe0bf8a-2d09-4690-93da-38a4f24e9f4f found! </dev:code> <dev:remarks> <maml:para>This command gets a BackupPolicyDetails object by using Get-AzureStorSimpleDeviceBackupPolicy, and then passes it to the current cmdlet by using the pipeline operator. The current cmdlet removes the backup policy named TSQAVolume01_Default.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleDeviceBackupPolicy</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>New-AzureStorSimpleDeviceBackupPolicy</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureStorSimpleDeviceBackupPolicy</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleJob</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Remove-AzureStorSimpleDeviceBackup</command:name> <maml:description> <maml:para>Deletes a backup object.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Remove</command:verb> <command:noun>AzureStorSimpleDeviceBackup</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Remove-AzureStorSimpleDeviceBackup cmdlet deletes a single backup object. If you attempt to delete a backup that has already been deleted, this cmdlet returns an error.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Remove-AzureStorSimpleDeviceBackup</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which to delete a backup.</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="2" aliases="none"> <maml:name>Backup</maml:name> <maml:description> <maml:para>Specifies the Backup object to delete. To obtain a Backup object, use the Get-AzureStorSimpleDeviceBackup cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Backup</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Indicates that this cmdlet does not prompt you for confirmation.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Remove-AzureStorSimpleDeviceBackup</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which to delete a backup.</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" aliases="none"> <maml:name>BackupId</maml:name> <maml:description> <maml:para>Specifies the instance ID of a backup to delete.</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" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Indicates that this cmdlet does not prompt you for confirmation.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue)" position="2" aliases="none"> <maml:name>Backup</maml:name> <maml:description> <maml:para>Specifies the Backup object to delete. To obtain a Backup object, use the Get-AzureStorSimpleDeviceBackup cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Backup</command:parameterValue> <dev:type> <maml:name>Backup</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>BackupId</maml:name> <maml:description> <maml:para>Specifies the instance ID of a backup to delete.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which to delete a backup.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Indicates that this cmdlet does not prompt you for confirmation.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</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>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>Backup</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>TaskStatusInfo, TaskResponse</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a TaskStatusInfo object if you specify the WaitForComplete parameter If you do not specify that parameter, it returns a TaskResponse object.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Remove a backup for a device</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Remove-AzureStorSimpleDeviceBackup -DeviceName "Contoso63-AppVm" -BackupId "dcb5c991-0485-400f-8d0a-03a1341ee989" -Force The remove job is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId 6c73aff2-f5a1-4b5e- 9a4e-857e128dc216 for tracking the job status </dev:code> <dev:remarks> <maml:para>This command removes the backup that has the specified ID for the device named Contoso63-AppVm. The command starts the operation that removes the Backup object, and then returns a TaskResponse object. To see the status of the task, use the Get-AzureStorSimpleTask cmdlet. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Remove the first backup for a device by using its ID</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>$Backup = Get-AzureStorSimpleDeviceBackup -DeviceName "Contoso63-AppVm" PS C:\> Remove-AzureStorSimpleDeviceBackup -DeviceName "Contoso63-AppVm" -BackupId $Backup[0].InstanceId -WaitForComplete Error : Microsoft.WindowsAzure.Management.StorSimple.Models.ErrorDetails JobId : 53a656c3-c082-4e1f-afb7-bff3db45c791 JobSteps : {} Result : Succeeded Status : Completed TaskResult : Succeeded StatusCode : OK RequestId : f4411f38d07f68b88095682dbeedd9e9 </dev:code> <dev:remarks> <maml:para>The first command gets the backups for the device named Contoso63-AppVm, and then stores them in the $Backup variable. </maml:para> <maml:para>The second command deletes a backup from the device named Contoso63-AppVm. The command uses standard dot notation to refer to the InstanceId property of the first element of the $Backup array. This command specifies the WaitForComplete parameter, and, therefore, the command waits until the operation is complete, and then returns a TaskStatusInfo object.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 3: Remove the first backup for a device by using the pipeline</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>$Backup = Get-AzureStorSimpleDeviceBackup -DeviceName "Contoso-AppVm" -WaitForComplete PS C:\> $Backup[0] | Remove-AzureStorSimpleDeviceBackup -DeviceName "Contoso-AppVm" -Force -WaitForComplete Error : Microsoft.WindowsAzure.Management.StorSimple.Models.ErrorDetails JobId : 48059fd8-e355-4b91-9385-630d24f31df6 JobSteps : {} Result : Succeeded Status : Completed TaskResult : Succeeded StatusCode : OK RequestId : e1753f3bf68e6e44ab719436b5111e41 </dev:code> <dev:remarks> <maml:para>The first command gets the backups for the device named Contoso63-AppVm, and then stores them in the $Backup variable. </maml:para> <maml:para>The second command passes the first object stored in the $Backup array to the current cmdlet. That cmdlet deletes that backup from the device named Contoso63-AppVm. This command specifies the WaitForComplete parameter, and, therefore, the command waits until the operation is complete, and then returns a TaskStatusInfo object.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleDeviceBackup</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Remove-AzureStorSimpleDeviceVolumeContainer</command:name> <maml:description> <maml:para>Removes a volume container from a StorSimple device.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Remove</command:verb> <command:noun>AzureStorSimpleDeviceVolumeContainer</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Remove-AzureStorSimpleDeviceVolumeContainer cmdlet removes a volume container object from a StorSimple device. This cmdlet prompts you for confirmation unless you specify the Force parameter.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Remove-AzureStorSimpleDeviceVolumeContainer</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which to the volume container to remove exists.</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="2" aliases="none"> <maml:name>VolumeContainer</maml:name> <maml:description> <maml:para>Specifies the volume container to remove, as a DataContainer object. To obtain a DataContainer object, use the Get-AzureStorSimpleDeviceVolumeContainer cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">DataContainer</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Indicates that this cmdlet does not prompt you for confirmation.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which to the volume container to remove exists.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Indicates that this cmdlet does not prompt you for confirmation.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue)" position="2" aliases="none"> <maml:name>VolumeContainer</maml:name> <maml:description> <maml:para>Specifies the volume container to remove, as a DataContainer object. To obtain a DataContainer object, use the Get-AzureStorSimpleDeviceVolumeContainer cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">DataContainer</command:parameterValue> <dev:type> <maml:name>DataContainer</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</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>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>DataContainer</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet accepts a DataContainer object to remove.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>TaskStatusInfo</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a TaskStatusInfo object, if you specify the WaitForComplete parameter.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Remove a container by using the pipeline</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleDeviceVolumeContainer -DeviceName "Contoso63-AppVm" -VolumeContainerName "Container08" | Remove-AzureStorSimpleDeviceVolumeContainer -DeviceName "Contoso63-AppVm" -Force VERBOSE: ClientRequestId: 0efbb4fc-ceb0-4311-bc49-0e08161d0a37_PS VERBOSE: ClientRequestId: bf5b615f-47e3-4868-91b6-f2d12217a302_PS VERBOSE: ClientRequestId: 5590c87e-0602-4197-b6c3-cf58b0e7a7b3_PS VERBOSE: ClientRequestId: b33c71ac-c345-44ff-8213-d7fdf9f8480a_PS VERBOSE: ClientRequestId: 903d42ef-58f4-4e89-ba7f-5f234262356d_PS VERBOSE: About to create a job to remove your Volume container! VERBOSE: ClientRequestId: 2279575f-5115-4344-9c6f-9ef599bd203e_PS e9ddec89-67ac-4e2e-a2ed-820de3547bb0 VERBOSE: The delete task is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId e9ddec89-67ac-4e2e-a2ed-820de3547bb0 for tracking the task's status VERBOSE: Volume container with name: Container08 is found. </dev:code> <dev:remarks> <maml:para>This command gets the volume container named Container08 on the device named Contoso63-AppVm by using the Get-AzureStorSimpleDeviceVolumeContainer cmdlet. The command passes the volume container to the current cmdlet by using the pipeline operator. This command starts the task to remove the container, and then returns a TaskResponse object. To see the status of the task, use the Get-AzureStorSimpleTask cmdlet. This command specifies the Force parameter, so it does not prompt you for confirmation.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleDeviceVolumeContainer</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>New-AzureStorSimpleDeviceVolumeContainer</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Remove-AzureStorSimpleDeviceVolume</command:name> <maml:description> <maml:para>Removes a volume from a StorSimple device.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Remove</command:verb> <command:noun>AzureStorSimpleDeviceVolume</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Remove-AzureStorSimpleDeviceVolume cmdlet removes a volume from a StorSimple device. This cmdlet prompts you for confirmation unless you specify the Force parameter.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Remove-AzureStorSimpleDeviceVolume</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which to the volume to remove exists.</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" aliases="Name"> <maml:name>VolumeName</maml:name> <maml:description> <maml:para>Specifies the name of the volume to remove.</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" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Indicates that this cmdlet does not prompt you for confirmation.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Remove-AzureStorSimpleDeviceVolume</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which to the volume to remove exists.</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="2" aliases="none"> <maml:name>Volume</maml:name> <maml:description> <maml:para>Specifies the volume to remove, as a VirtualDisk object. To obtain a VirtualDisk object, use the Get-AzureStorSimpleDeviceVolume cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">VirtualDisk</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Indicates that this cmdlet does not prompt you for confirmation.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which to the volume to remove exists.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Indicates that this cmdlet does not prompt you for confirmation.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue)" position="2" aliases="none"> <maml:name>Volume</maml:name> <maml:description> <maml:para>Specifies the volume to remove, as a VirtualDisk object. To obtain a VirtualDisk object, use the Get-AzureStorSimpleDeviceVolume cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">VirtualDisk</command:parameterValue> <dev:type> <maml:name>VirtualDisk</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="Name"> <maml:name>VolumeName</maml:name> <maml:description> <maml:para>Specifies the name of the volume to remove.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</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>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>VirtualDisk</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet accepts either the VirtualDisk object to delete or the volume name of the VirtualDisk to delete.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>TaskStatusInfo</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a TaskStatusInfo object, if you specify the WaitForComplete parameter.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Remove a volume by using the pipeline</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleDeviceVolume -DeviceName "Contoso63-AppVm" -VolumeName "Volume18" | Remove-AzureStorSimpleDeviceVolume -DeviceName "Contoso63-AppVm" VERBOSE: ClientRequestId: 2933e24d-9564-42b5-9053-5f0bc4f59ea8_PS VERBOSE: ClientRequestId: 7c2d854b-537a-4253-bb0c-c15bc8aa2b49_PS VERBOSE: ClientRequestId: 4bf749ac-517c-49e7-8027-a8f62e272014_PS VERBOSE: ClientRequestId: 7d9ec87a-616d-4ca9-bfb8-158859174d59_PS Confirm Are you sure you want to remove the volume? [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y VERBOSE: ClientRequestId: 67a38e28-a015-44b1-8159-c1a6604f4d81_PS VERBOSE: About to run a job to remove your volume! VERBOSE: ClientRequestId: 56101c10-07ca-40f4-8f19-c6fdd895e3a5_PS 32925451-4451-4478-89f7-d8930505d3fb VERBOSE: The delete task is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId 32925451-4451-4478-89f7-d8930505d3fb for tracking the task's status VERBOSE: Volume with name: Volume18 is found. </dev:code> <dev:remarks> <maml:para>This command gets the volume named Volume18 on the device named Contoso63-AppVm, and then passes that volume to the current cmdlet by using the pipeline operator. The current cmdlet starts the task that removes the volume, and then returns a TaskResponse object. To see the status of the task, use the Get-AzureStorSimpleTask cmdlet. The command does not specify the Force parameter, so the cmdlet prompts you for confirmation.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Remove a volume without confirmation</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Remove-AzureStorSimpleDeviceVolume -DeviceName "Contoso63-AppVm" -VolumeName "Volume18" -Force VERBOSE: ClientRequestId: 72f13290-41eb-4ac4-9535-da1a42d0fa0b_PS VERBOSE: ClientRequestId: ae0c1d99-1a66-4a69-9260-f2c8c12546bd_PS VERBOSE: ClientRequestId: 9610744f-d031-488f-87e6-3ecddb305e13_PS VERBOSE: About to run a job to remove your volume! VERBOSE: ClientRequestId: d33525d8-7276-4d2a-942d-d10f8078f1f7_PS 483f8cb4-ebc3-46a9-a9e6-0989e25738a0 VERBOSE: The delete task is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId 483f8cb4-ebc3-46a9-a9e6-0989e25738a0 for tracking the task's status </dev:code> <dev:remarks> <maml:para>This command removes the volume named Volume18 from the device named Contoso63-AppVm. The command specifies the Force parameter, so the cmdlet does not prompt you for confirmation.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleDeviceVolume</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>New-AzureStorSimpleDeviceVolume</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureStorSimpleDeviceVolume</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleJob</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Remove-AzureStorSimpleStorageAccountCredential</command:name> <maml:description> <maml:para>Deletes an existing storage account credential.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Remove</command:verb> <command:noun>AzureStorSimpleStorageAccountCredential</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Remove-AzureStorSimpleStorageAccountCredential cmdlet deletes an existing storage account credential. Specify an account by name or use the Get-AzureStorSimpleStorageAccountCredential cmdlet to obtain a StorageAccountCredential object to delete.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Remove-AzureStorSimpleStorageAccountCredential</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="Name"> <maml:name>StorageAccountName</maml:name> <maml:description> <maml:para>Specifies the name of the storage account credential to delete.</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" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Indicates that this cmdlet does not prompt you for confirmation.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Remove-AzureStorSimpleStorageAccountCredential</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue)" position="1" aliases="none"> <maml:name>SAC</maml:name> <maml:description> <maml:para>Specifies credential, as a StorageAccountCredential object, to remove. To obtain a StorageAccountCredential object, use the Get-AzureStorSimpleStorageAccountCredential cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">StorageAccountCredentialResponse</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Indicates that this cmdlet does not prompt you for confirmation.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Indicates that this cmdlet does not prompt you for confirmation.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue)" position="1" aliases="none"> <maml:name>SAC</maml:name> <maml:description> <maml:para>Specifies credential, as a StorageAccountCredential object, to remove. To obtain a StorageAccountCredential object, use the Get-AzureStorSimpleStorageAccountCredential cmdlet.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">StorageAccountCredentialResponse</command:parameterValue> <dev:type> <maml:name>StorageAccountCredentialResponse</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="Name"> <maml:name>StorageAccountName</maml:name> <maml:description> <maml:para>Specifies the name of the storage account credential to delete.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</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>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>StorageAccountCredential</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet accepts a StorageAccountCredential object by using the pipeline.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>TaskStatusInfo</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a TaskStatusInfo object, if you specify the WaitForComplete parameter.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Remove a storage account credential</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Remove-AzureStorSimpleStorageAccountCredential -StorageAccountName "ContosoStorage07" -Force VERBOSE: ClientRequestId: 8e10d56b-ddb1-459b-b26e-a185f5a303de_PS VERBOSE: About to create a job to remove your Storage Access Credential! VERBOSE: ClientRequestId: 55cb6296-0156-4266-8591-d9e9bf8cc584_PS 982f4b19-ccb0-4ad3-9b02-f8ad25bf2e72 VERBOSE: The delete task is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId 982f4b19-ccb0-4ad3-9b02-f8ad25bf2e72 for tracking the task's status </dev:code> <dev:remarks> <maml:para>This command removes the account credential for the storage account named ContosoStorage07. This command specifies the Force parameter. The cmdlet removes the credential without prompting your for confirmation.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Remove a storage account credential by using the pipeline operator</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleStorageAccountCredential -StorageAccountName "ContosoStorage07" | Remove-AzureStorSimpleStorageAccountCredential -Force -WaitForComplete VERBOSE: ClientRequestId: f1b46216-bf4c-4c19-8e92-1dfe3894e258_PS VERBOSE: ClientRequestId: 0d946f8f-c771-4ade-8a83-7c08dad86c52_PS VERBOSE: ClientRequestId: 2000bab6-8311-4192-ad12-c67e35fc2697_PS VERBOSE: Storage Access Credential with name ContosoStorage07 found! VERBOSE: About to run a job to remove your Storage Access Credential! VERBOSE: ClientRequestId: b803b165-bef8-4a8f-9509-4b515ea8bdec_PS VERBOSE: Your delete operation completed successfully! </dev:code> <dev:remarks> <maml:para>This command gets the storage account named ContosoStorage07 by using the Get-AzureStorSimpleStorageAccountCredential cmdlet, and then passes that object to the current cmdlet. The current cmdlet removes the credential for that storage account. This command specifies the WaitForComplete parameter. The cmdlet does not return control to the console until it completes the remove operation.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleStorageAccountCredential</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>New-AzureStorSimpleStorageAccountCredential</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureStorSimpleStorageAccountCredential</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleJob</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Select-AzureStorSimpleResource</command:name> <maml:description> <maml:para>Sets a resource as the current resource.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Select</command:verb> <command:noun>AzureStorSimpleResource</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Select-AzureStorSimpleResource cmdlet sets a resource as the current resource. After you select a resource, other cmdlets apply within that resource context.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Select-AzureStorSimpleResource</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="2" aliases="none"> <maml:name>ResourceName</maml:name> <maml:description> <maml:para>Specifies the name of the resource to select as the current resource.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="3" aliases="none"> <maml:name>RegistrationKey</maml:name> <maml:description> <maml:para>Specifies a registration key. Specify a key the first time that you select a resource. After this cmdlet selects the current resource, cmdlets use this key, as required. For more information, see <maml:navigationLink><maml:linkText>Get the service registration key</maml:linkText><maml:uri></maml:uri></maml:navigationLink> (http://msdn.microsoft.com/en-us/library/azure/dn772346.aspx) on the Microsoft Developer Network. </maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="3" aliases="none"> <maml:name>RegistrationKey</maml:name> <maml:description> <maml:para>Specifies a registration key. Specify a key the first time that you select a resource. After this cmdlet selects the current resource, cmdlets use this key, as required. For more information, see <maml:navigationLink><maml:linkText>Get the service registration key</maml:linkText><maml:uri></maml:uri></maml:navigationLink> (http://msdn.microsoft.com/en-us/library/azure/dn772346.aspx) on the Microsoft Developer Network. </maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="2" aliases="none"> <maml:name>ResourceName</maml:name> <maml:description> <maml:para>Specifies the name of the resource to select as the current resource.</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>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>StorSimpleResourceContext</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a StorSimpleResourceContext object that contains details for the resource context. </maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Select a resource for the first time</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Select-AzureStorSimpleResource -ResourceName "Contoso64-Tsqa" -RegistrationKey "<your registration key>" ResourceId ResourceName ---------- ------------ 1909806764156522689 Contoso64-Tsqa </dev:code> <dev:remarks> <maml:para>This command selects the resource named Contoso64-Tsqa as the current context. In this example, the computer has not had this context initialized previously, and, therefore, you must specify a value for the RegistrationKey parameter. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Attempt to select a resource</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>This command gets the current context for this computer by using the Get-AzureStorSimpleResourceContext cmdlet. The current selected resource is Contoso64-Tsqa. This is consistent with the previous example. PS C:\>Get-AzureStorSimpleResourceContext ResourceId ResourceName ---------- ------------ 1909806764156522689 Contoso64-Tsqa This command attempts to reset the resource to be Contoso02-Resource. For this example, this resource has not been previously selected. The registration key is not saved or included in the command. The command cannot select the resource. PS C:\>Select-AzureStorSimpleResource -ResourceName "Contoso02-Resource" Select-AzureStorSimpleResource : Could not find the persisted secret. Please use Select-AzureStorSimpleResource and provide the Registration key once again. </dev:code> <dev:remarks> <maml:para> </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 3: Select a previously selected resource </maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Select-AzureStorSimpleResource -ResourceName "Contoso64-Tsqa" ResourceId ResourceName ---------- ------------ 1909806764156522689 Contoso64-Tsqa </dev:code> <dev:remarks> <maml:para>This command selects the resource named Contoso64-Tsqa as the current context. In this example, that context has previously been selected, and, therefore, you do not need to specify a value for the RegistrationKey parameter.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleResource</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleResourceContext</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Set-AzureStorSimpleAccessControlRecord</command:name> <maml:description> <maml:para>Updates the IQN of an access control record.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Set</command:verb> <command:noun>AzureStorSimpleAccessControlRecord</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Set-AzureStorSimpleAccessControlRecord cmdlet updates the iSCSI qualified name (IQN) of an existing access control record.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Set-AzureStorSimpleAccessControlRecord</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="Name"> <maml:name>ACRName</maml:name> <maml:description> <maml:para>Specifies a name of the access control record to modify.</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" aliases="IQN"> <maml:name>IQNInitiatorName</maml:name> <maml:description> <maml:para>Specifies the IQN of the iSCSI initiator to which this cmdlet provides access for the volume.</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" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>NewName</maml:name> <maml:description> <maml:para>Specifies a new name for access control record.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="Name"> <maml:name>ACRName</maml:name> <maml:description> <maml:para>Specifies a name of the access control record to modify.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="IQN"> <maml:name>IQNInitiatorName</maml:name> <maml:description> <maml:para>Specifies the IQN of the iSCSI initiator to which this cmdlet provides access for the volume.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>NewName</maml:name> <maml:description> <maml:para>Specifies a new name for access control record.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">System.String</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</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>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>TaskStatusInfo, TaskResponse</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a TaskStatusInfo object if you specify the WaitForComplete parameter. If you do not specify that parameter, it returns a TaskResponse object. </maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Update an access control record</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Set-AzureStorSimpleAccessControlRecord -ACRName "Acr10" -IQNInitiatorName "IqnUpdated" -WaitForComplete VERBOSE: ClientRequestId: e4766335-f302-40e0-93bf-fad7aa488ae6_PS VERBOSE: ClientRequestId: cfdbbd67-6ba5-4238-b743-b88f604079b9_PS VERBOSE: About to run a task to update your Access Control Record! VERBOSE: ClientRequestId: d5cf2793-0ab5-40ff-ab6f-43e21bc4c0a4_PS JobId : 89502523-52fc-4ce2-b2d4-cb8c6692fb60 JobResult : Succeeded JobStatus : Completed ErrorCode : ErrorMessage : JobSteps : {} VERBOSE: The job created for your update operation has completed successfully. VERBOSE: ClientRequestId: cbd47519-3a3c-4365-b097-0fb7551c48ee_PS GlobalId : InitiatorName : IqnUpdated InstanceId : 9bcfbc83-e196-4688-9016-827f51515c24 Name : Acr10 OperationInProgress : None VolumeCount : 0 </dev:code> <dev:remarks> <maml:para>This command updates the access control record named Acr10 for the iSCSI initiator named IqnUpdated. This command specifies the WaitForComplete parameter, and, therefore, the command waits until the operation is complete, and then returns a TaskStatusInfo object.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleAccessControlRecord</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>New-AzureStorSimpleAccessControlRecord</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureStorSimpleAccessControlRecord</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Set-AzureStorSimpleDeviceBackupPolicy</command:name> <maml:description> <maml:para>Updates an existing backup policy.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Set</command:verb> <command:noun>AzureStorSimpleDeviceBackupPolicy</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Set-AzureStorSimpleDeviceBackupPolicy cmdlet updates an existing backup policy. You can rename the policy, add, update or delete schedules, and update the volumes associated with the policy.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Set-AzureStorSimpleDeviceBackupPolicy</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device for which to update the backup 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="false" position="2" aliases="none"> <maml:name>BackupPolicyId</maml:name> <maml:description> <maml:para>Specifies the instance ID of the BackupPolicy object to update.</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="3" aliases="none"> <maml:name>BackupPolicyName</maml:name> <maml:description> <maml:para>Specifies a new name for the backup policy.</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="4" aliases="none"> <maml:name>BackupSchedulesToAdd</maml:name> <maml:description> <maml:para>Specifies an array of BackupScheduleBase objects to add to the policy. To obtain a BackupScheduleBase object, use the New-AzureStorSimpleDeviceBackupScheduleAddConfig cmdlet.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">PSObject[]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="5" aliases="none"> <maml:name>BackupSchedulesToUpdate</maml:name> <maml:description> <maml:para>Specifies an array of BackupScheduleUpdateRequest objects to update. To obtain a BackupScheduleUpdateRequest object, use the New-AzureStorSimpleDeviceBackupScheduleUpdateConfig cmdlet.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">PSObject[]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="6" aliases="none"> <maml:name>BackupScheduleIdsToDelete</maml:name> <maml:description> <maml:para>Specifies an array of instance IDs of BackupSchedule objects to delete.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">PSObject[]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="7" aliases="none"> <maml:name>VolumeIdsToUpdate</maml:name> <maml:description> <maml:para>Specifies an array of IDs of volumes for which to update backup policies.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">PSObject[]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="8" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="9" aliases="none"> <maml:name>NewName</maml:name> <maml:description> <maml:para>Specifies a name for the device.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>BackupPolicyId</maml:name> <maml:description> <maml:para>Specifies the instance ID of the BackupPolicy object to update.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>BackupPolicyName</maml:name> <maml:description> <maml:para>Specifies a new name for the backup 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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="6" aliases="none"> <maml:name>BackupScheduleIdsToDelete</maml:name> <maml:description> <maml:para>Specifies an array of instance IDs of BackupSchedule objects to delete.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">PSObject[]</command:parameterValue> <dev:type> <maml:name>PSObject[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>BackupSchedulesToAdd</maml:name> <maml:description> <maml:para>Specifies an array of BackupScheduleBase objects to add to the policy. To obtain a BackupScheduleBase object, use the New-AzureStorSimpleDeviceBackupScheduleAddConfig cmdlet.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">PSObject[]</command:parameterValue> <dev:type> <maml:name>PSObject[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="5" aliases="none"> <maml:name>BackupSchedulesToUpdate</maml:name> <maml:description> <maml:para>Specifies an array of BackupScheduleUpdateRequest objects to update. To obtain a BackupScheduleUpdateRequest object, use the New-AzureStorSimpleDeviceBackupScheduleUpdateConfig cmdlet.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">PSObject[]</command:parameterValue> <dev:type> <maml:name>PSObject[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device for which to update the backup 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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="9" aliases="none"> <maml:name>NewName</maml:name> <maml:description> <maml:para>Specifies a name for the device.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">System.String</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="7" aliases="none"> <maml:name>VolumeIdsToUpdate</maml:name> <maml:description> <maml:para>Specifies an array of IDs of volumes for which to update backup policies.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">PSObject[]</command:parameterValue> <dev:type> <maml:name>PSObject[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="8" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</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>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>TaskStatusInfo, TaskResponse</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a TaskStatusInfo object if you specify the WaitForComplete parameter. If you do not specify that parameter, it returns a TaskResponse object.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Change the name of a backup policy</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Set-AzureStorSimpleDeviceBackupPolicy -DeviceName "Contoso63-AppVm" -BackupPolicyId "e6d9f1b3-a250-4d57-966a-039c8eaef9e9" -BackupPolicyName "UpdatedGeneralPolicy07" -WaitForComplete VERBOSE: ClientRequestId: f4465b46-26cc-40ff-88da-7a28df88c35c_PS VERBOSE: ClientRequestId: 5e33a35c-e089-47c1-b760-474635b1ead8_PS VERBOSE: About to run a task to update your backuppolicy! VERBOSE: ClientRequestId: e379ebdb-667f-45a9-aafa-a6cd61e5f6f6_PS JobId : 9d621bfd-3faa-4d1c-b28b-45c5f4a96975 JobResult : Succeeded JobStatus : Completed ErrorCode : ErrorMessage : JobSteps : {Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStep} VERBOSE: The job created for your update operation has completed successfully. VERBOSE: ClientRequestId: 4fe965ea-4e12-4869-9d67-e42a24b6c5d8_PS BackupSchedules : {58e9cd7c-4c6a-4e33-9109-5ec0b8fcb2cc, b10e1bf4-ef0a-4ad3-8fde-eecfc9971dd2} Volumes : {testvolume03} BackupPolicyCreationType : BySaaS LastBackup : 12/16/2014 2:13:28 PM NextBackup : 12/16/2014 3:13:43 PM SchedulesCount : 2 SSMHostName : VolumesCount : 1 InstanceId : e6d9f1b3-a250-4d57-966a-039c8eaef9e9 Name : UpdatedGeneralPolicy07 OperationInProgress : None </dev:code> <dev:remarks> <maml:para>This command changes the name of the backup policy that has the specified ID to UpdatedGeneralPolicy07. This command specifies the WaitForComplete parameter, so the command completes the task, and then returns a TaskStatusInfo object for the task.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Update the schedule for a backup policy</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>$UpdateConfig = New-AzureStorSimpleDeviceBackupScheduleUpdateConfig -Id "3a6c6247-6b4d-42e2-aa87-16f4f21476ea" -BackupType CloudSnapshot -RecurrenceType Daily -RecurrenceValue 3 -RetentionCount 2 -Enabled $True PS C:\> $UpdateArray = @() PS C:\> $UpdateArray += $UpdateConfig PS C:\> Set-AzureStorSimpleDeviceBackupPolicy -DeviceName "Contoso63-AppVm" -BackupPolicyId "712605f6-eb03-4db8-8f79-e0ce64b2cce1" -BackupSchedulesToUpdate $UpdateArray Error : Microsoft.WindowsAzure.Management.StorSimple.Models.ErrorDetails JobId : 7b265417-a5f1-45ad-8fbc-33bad4f63ec9 JobSteps : {Microsoft.WindowsAzure.Management.StorSimple.Models.JobStep, Microsoft.WindowsAzure.Management.StorSimple.Models.JobStep, Microsoft.WindowsAzure.Management.StorSimple.Models.JobStep, Microsoft.WindowsAzure.Management.StorSimple.Models.JobStep...} Result : Succeeded Status : Completed TaskResult : Succeeded StatusCode : OK RequestId : d2e10d44e699b371a84db44d19daf1c3 </dev:code> <dev:remarks> <maml:para>The first command creates an update configuration object by using the New-AzureStorSimpleDeviceBackupScheduleUpdateConfig cmdlet, and then stores it in the $UpdateConfig variable. </maml:para> <maml:para>The second command creates a new array variable, named $UpdateArray. The next command adds the update stored in $UpdateConfig to that array. You can add more than one update to the array. </maml:para> <maml:para>The final command updates the backup policy that has the specified ID on the device named Contoso63-AppVm. The policy now has the updated schedule stored in $UpdateArray.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleDeviceBackupPolicy</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>New-AzureStorSimpleDeviceBackupPolicy</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureStorSimpleDeviceBackupPolicy</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>New-AzureStorSimpleDeviceBackupScheduleUpdateConfig</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Set-AzureStorSimpleDeviceVolume</command:name> <maml:description> <maml:para>Updates the properties of an existing volume.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Set</command:verb> <command:noun>AzureStorSimpleDeviceVolume</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Set-AzureStorSimpleDeviceVolume cmdlet updates the properties of an existing volume. This cmdlet associates a volume with one or more access control records. To obtain AccessControlRecord objects, use the Get-AzureStorSimpleAccessControlRecord cmdlet. Update the size or type for the volume. Also, update whether to create the volume online.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Set-AzureStorSimpleDeviceVolume</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which to update the volume exists.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="Name"> <maml:name>VolumeName</maml:name> <maml:description> <maml:para>Specifies the name of the volume to update.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>Online</maml:name> <maml:description> <maml:para>Specifies whether the volume is online.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Nullable [System.Boolean]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="SizeInBytes"> <maml:name>VolumeSizeInBytes</maml:name> <maml:description> <maml:para>Specifies the updated size, in bytes, for the volume.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Nullable [System.Int64]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="5" aliases="AppType"> <maml:name>VolumeAppType</maml:name> <maml:description> <maml:para>Specifies whether to update the volume to be a primary or archive volume. Valid values are: PrimaryVolume and ArchiveVolume.</maml:para> </maml:description> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">PrimaryVolume</command:parameterValue> <command:parameterValue required="false" variableLength="false">ArchiveVolume</command:parameterValue> </command:parameterValueGroup> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByValue)" position="6" aliases="none"> <maml:name>AccessControlRecords</maml:name> <maml:description> <maml:para>Specifies a list of access control records to associate with the volume.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="7" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="8" aliases="none"> <maml:name>NewName</maml:name> <maml:description> <maml:para>Specifies a new name for the StorSimple device. </maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Set-AzureStorSimpleDeviceVolume</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which to update the volume exists.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue)" position="2" aliases="none"> <maml:name>Volume</maml:name> <maml:description> <maml:para>Specifies the name of the volume to update.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Microsoft.WindowsAzure.Management.StorSimple.Models.VirtualDisk</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>Online</maml:name> <maml:description> <maml:para>Specifies whether the volume is online.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Nullable [System.Boolean]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="SizeInBytes"> <maml:name>VolumeSizeInBytes</maml:name> <maml:description> <maml:para>Specifies the updated size, in bytes, for the volume.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Nullable [System.Int64]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="5" aliases="AppType"> <maml:name>VolumeAppType</maml:name> <maml:description> <maml:para>Specifies whether to update the volume to be a primary or archive volume. Valid values are: PrimaryVolume and ArchiveVolume.</maml:para> </maml:description> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">PrimaryVolume</command:parameterValue> <command:parameterValue required="false" variableLength="false">ArchiveVolume</command:parameterValue> </command:parameterValueGroup> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByValue)" position="6" aliases="none"> <maml:name>AccessControlRecords</maml:name> <maml:description> <maml:para>Specifies a list of access control records to associate with the volume.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="7" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="8" aliases="none"> <maml:name>NewName</maml:name> <maml:description> <maml:para>Specifies a new name for the StorSimple device. </maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByValue)" position="6" aliases="none"> <maml:name>AccessControlRecords</maml:name> <maml:description> <maml:para>Specifies a list of access control records to associate with the volume.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</command:parameterValue> <dev:type> <maml:name>0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which to update the volume exists.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="8" aliases="none"> <maml:name>NewName</maml:name> <maml:description> <maml:para>Specifies a new name for the StorSimple device. </maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">System.String</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>Online</maml:name> <maml:description> <maml:para>Specifies whether the volume is online.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Nullable [System.Boolean]</command:parameterValue> <dev:type> <maml:name>Nullable [System.Boolean]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByValue)" position="2" aliases="none"> <maml:name>Volume</maml:name> <maml:description> <maml:para>Specifies the name of the volume to update.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Microsoft.WindowsAzure.Management.StorSimple.Models.VirtualDisk</command:parameterValue> <dev:type> <maml:name>Microsoft.WindowsAzure.Management.StorSimple.Models.VirtualDisk</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="5" aliases="AppType"> <maml:name>VolumeAppType</maml:name> <maml:description> <maml:para>Specifies whether to update the volume to be a primary or archive volume. Valid values are: PrimaryVolume and ArchiveVolume.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Nullable [Microsoft.WindowsAzure.Management.StorSimple.Models.AppType]</command:parameterValue> <dev:type> <maml:name>Nullable [Microsoft.WindowsAzure.Management.StorSimple.Models.AppType]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="Name"> <maml:name>VolumeName</maml:name> <maml:description> <maml:para>Specifies the name of the volume to update.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="SizeInBytes"> <maml:name>VolumeSizeInBytes</maml:name> <maml:description> <maml:para>Specifies the updated size, in bytes, for the volume.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Nullable [System.Int64]</command:parameterValue> <dev:type> <maml:name>Nullable [System.Int64]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="7" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</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>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>List<AccessControlRecord></maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet accepts a list of AccessControlRecord objects to associate to a volume.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>TaskStatusInfo</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a TaskStatusInfo object, if you specify the WaitForComplete parameter. </maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Update online value for a volume</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Set-AzureStorSimpleDeviceVolume -DeviceName "Contoso63-AppVm" -VolumeName "Volume18" -Online $False VERBOSE: ClientRequestId: f2869570-ea47-4be7-801e-9c0f22f2600d_PS VERBOSE: ClientRequestId: c70bb86a-51d3-4390-be17-4d0847641dc3_PS VERBOSE: ClientRequestId: d20cb5b2-6b3c-4e06-af99-cada28c5e50a_PS VERBOSE: ClientRequestId: ab6d533e-b55b-4cfb-9c58-9153295e0547_PS de7000f1-29c7-4102-a375-b52432f9e67e VERBOSE: The update task is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId de7000f1-29c7-4102-a375-b52432f9e67e for tracking the task's status </dev:code> <dev:remarks> <maml:para>This command updates the volume named Volume18 to have an online value of $False. This command starts the task, and then returns a TaskResponse object. To see the status of the task, use the Get-AzureStorSimpleTask cmdlet.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Modify online value and type</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Set-AzureStorSimpleDeviceVolume -DeviceName "Contoso63-AppVm" -VolumeName "Volume18" -Online $True -VolumeAppType ArchiveVolume VERBOSE: ClientRequestId: af42b02a-645e-4801-a2d7-4197511c68cf_PS VERBOSE: ClientRequestId: 7cb4f3b4-548e-42dc-a38c-0df0911c5206_PS VERBOSE: ClientRequestId: 7cc706ad-a58f-4939-8e78-cabae8379a51_PS VERBOSE: ClientRequestId: 6bed21d5-12fc-4a12-a89c-120bdb5636b1_PS aa977225-af78-4c93-b754-72704afc928f VERBOSE: The update task is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId aa977225-af78-4c93-b754-72704afc928f for tracking the task's status </dev:code> <dev:remarks> <maml:para>This command updates the volume named Volume18. It modifies the type and changes the value of the Online parameter to $True. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleDeviceVolume</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>New-AzureStorSimpleDeviceVolume</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureStorSimpleDeviceVolume</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleAccessControlRecord</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleJob</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Set-AzureStorSimpleDevice</command:name> <maml:description> <maml:para>Changes the device configuration for a device.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Set</command:verb> <command:noun>AzureStorSimpleDevice</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Set-AzureStorSimpleDevice cmdlet changes the device configuration for a device. If you are setting up a device for the first time, you must specify the TimeZone, SecondaryDnsServer, and StorSimpleNetworkConfig parameters. You must include network configuration for Data0 with controller0 and controller1 and IP addresses. There must be at least one Internet SCSI (ISCSI)-enabled network interface to configure the device for the first time. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Set-AzureStorSimpleDevice</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceId</maml:name> <maml:description> <maml:para>Specifies the instance ID of the StorSimple device to configure.</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" aliases="none"> <maml:name>NewName</maml:name> <maml:description> <maml:para>Specifies the new friendly name of the StorSimple device.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByValue)" position="3" aliases="none"> <maml:name>TimeZone</maml:name> <maml:description> <maml:para>Specifies a time zone for the device. You can create a TimeZoneInfo object by using the GetSystemTimeZone() method. For example, this command creates a time zone information object for Pacific Standard Time: [System.TimeZoneInfo]::GetSystemTimeZones() | where { $_.Id -eq "Pacific Standard Time" }</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">TimeZoneInfo</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>SecondaryDnsServer</maml:name> <maml:description> <maml:para>Specifies a secondary DNS server for the StorSimple device.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true(ByValue)" position="5" aliases="none"> <maml:name>StorSimpleNetworkConfig</maml:name> <maml:description> <maml:para>Specifies an array of of network configuration objectss for interfaces on a device. To obtain a NetworkConfig object, use the New-AzureStorSimpleNetworkConfig cmdlet.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">NetworkConfig[]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Set-AzureStorSimpleDevice</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the friendly name of the StorSimple device to configure.</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" aliases="none"> <maml:name>NewName</maml:name> <maml:description> <maml:para>Specifies the new friendly name of the StorSimple device.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByValue)" position="3" aliases="none"> <maml:name>TimeZone</maml:name> <maml:description> <maml:para>Specifies a time zone for the device. You can create a TimeZoneInfo object by using the GetSystemTimeZone() method. For example, this command creates a time zone information object for Pacific Standard Time: [System.TimeZoneInfo]::GetSystemTimeZones() | where { $_.Id -eq "Pacific Standard Time" }</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">TimeZoneInfo</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>SecondaryDnsServer</maml:name> <maml:description> <maml:para>Specifies a secondary DNS server for the StorSimple device.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true(ByValue)" position="5" aliases="none"> <maml:name>StorSimpleNetworkConfig</maml:name> <maml:description> <maml:para>Specifies an array of of network configuration objectss for interfaces on a device. To obtain a NetworkConfig object, use the New-AzureStorSimpleNetworkConfig cmdlet.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">NetworkConfig[]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" 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" aliases="none"> <maml:name>DeviceId</maml:name> <maml:description> <maml:para>Specifies the instance ID of the StorSimple device to configure.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the friendly name of the StorSimple device to configure.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>NewName</maml:name> <maml:description> <maml:para>Specifies the new friendly name of the StorSimple device.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>SecondaryDnsServer</maml:name> <maml:description> <maml:para>Specifies a secondary DNS server for the StorSimple device.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="true(ByValue)" position="5" aliases="none"> <maml:name>StorSimpleNetworkConfig</maml:name> <maml:description> <maml:para>Specifies an array of of network configuration objectss for interfaces on a device. To obtain a NetworkConfig object, use the New-AzureStorSimpleNetworkConfig cmdlet.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">NetworkConfig[]</command:parameterValue> <dev:type> <maml:name>NetworkConfig[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByValue)" position="3" aliases="none"> <maml:name>TimeZone</maml:name> <maml:description> <maml:para>Specifies a time zone for the device. You can create a TimeZoneInfo object by using the GetSystemTimeZone() method. For example, this command creates a time zone information object for Pacific Standard Time: [System.TimeZoneInfo]::GetSystemTimeZones() | where { $_.Id -eq "Pacific Standard Time" }</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">TimeZoneInfo</command:parameterValue> <dev:type> <maml:name>TimeZoneInfo</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>NetworkConfig, TimeZoneInfo</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>You can pipe a NetworkConfig object or a TimeZoneInfo to this cmdlet.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>DeviceDetails</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns updated device details for the virtual device.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Modify the configuration for a device</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>$NetworkConfigData0 = New-AzureStorSimpleNetworkConfig -InterfaceAlias Data0 -EnableIscsi $True -Controller0IPv4Address "10.67.64.48" -Controller1IPv4Address "10.67.64.49" PS C:\> $TimeZoneInfo = [System.TimeZoneInfo]::GetSystemTimeZones() | where { $_.Id -eq "Pacific Standard Time" } PS C:\> $OnlineDevice = @(Get-AzureStorSimpleDevice | Where { $_.Status -eq "Online"})[0] PS C:\> $UpdatedDetails = Set-AzureStorSimpleDevice -DeviceId $OnlineDevice.DeviceId -NewName "Device22" -TimeZone $TimeZoneInfo -SecondaryDnsServer 10.8.8.8 -StorSimpleNetworkConfig $NetworkConfigData0 VERBOSE: ClientRequestId: 0f163163-5ad0-4635-a7b5-870d47297f66_PS VERBOSE: Successfully created a StorSimple Network Configuration for interface Data0 VERBOSE: ClientRequestId: 552e4a6c-7006-4015-a20b-9def6428a85e_PS VERBOSE: ClientRequestId: f31cc84c-bc8a-404a-9da6-4670a7999e75_PS VERBOSE: 1 StorSimple device found! VERBOSE: ClientRequestId: 545bc1a9-3c1b-4e50-89a6-9678aefe79e5_PS VERBOSE: ClientRequestId: f114ad08-47f5-4fb8-8a01-1ea7f1ed1b98_PS VERBOSE: About to configure the device : Device22 ! VERBOSE: ClientRequestId: 6afe7927-1c19-48d3-ac22-68148fd056b8_PS VERBOSE: The task created for your Setup operation has completed successfully. VERBOSE: ClientRequestId: 467c142c-90da-4d75-82a4-c114afce953d_PS VERBOSE: Successfully updated configuration for device Device22 with id 865e68f6-1e71-47b6-80d5-15d3a23bd2b0 </dev:code> <dev:remarks> <maml:para>The first command creates a network configuration for the Data0 interface. This command specifies the Controller0IPv4Address, Controller1IPv4Address, and EnableIscsi parameters. The command stores the result in the $NetworkConfigData0 variable. </maml:para> <maml:para>The second command uses the System.TimeZoneInfo .NET class and standard syntax to get Pacific Standard Time zone, and stores that object in the $TimeZoneInfo variable. </maml:para> <maml:para>The third command uses the Get-AzureStorSimpleDevice cmdlet and the Where-Object core cmdlet to get an online StorSimple device, and then stores it in the $OnlineDevice variable.</maml:para> <maml:para>The final command modifies the configuration for the device that has the specified device ID. The command uses the configuration object that the current cmdlet created in the first command. The command uses the time zone stored in $TimeZoneInfo.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Pipe the configuration object to modify a device</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>$TimeZoneInfo = [System.TimeZoneInfo]::GetSystemTimeZones() | where { $_.Id -eq "Pacific Standard Time" } PS C:\> $OnlineDevice = @(Get-AzureStorSimpleDevice | Where { $_.Status -eq "Online"})[0] PS C:\> $UpdatedDetails = New-AzureStorSimpleNetworkConfig -InterfaceAlias Data0 -EnableIscsi $True -Controller0IPv4Address "10.67.64.48" -Controller1IPv4Address "10.67.64.49" | Set-AzureStorSimpleDevice -DeviceId $OnlineDevice.DeviceId -NewName "Device22" -TimeZone $TimeZoneInfo -SecondaryDnsServer 10.8.8.8 VERBOSE: ClientRequestId: fa2f5000-169c-4feb-abbf-23f4b5c837fa_PS VERBOSE: Successfully created a StorSimple Network Configuration for interface Data0 VERBOSE: ClientRequestId: fae6a491-919c-44b2-93e0-0c51f202c24b_PS VERBOSE: ClientRequestId: e1803427-a097-4d58-ab7d-14a4c39fd768_PS VERBOSE: 1 StorSimple device found! VERBOSE: ClientRequestId: 9e796c3d-3100-46ab-9a09-0e10c73a296f_PS VERBOSE: ClientRequestId: 5b4cad96-31f4-4d07-a278-df5af3e06ad4_PS VERBOSE: About to configure the device : Device22 ! VERBOSE: ClientRequestId: 9061f7df-144f-4f30-858c-045d882ca392_PS VERBOSE: The task created for your Setup operation has completed successfully. VERBOSE: ClientRequestId: 2ed2fa9b-8459-4cd6-9a61-5fc25ced2815_PS VERBOSE: Successfully updated configuration for device Device22 with id 865e68f6-1e71-47b6-80d5-15d3a23bd2b0 </dev:code> <dev:remarks> <maml:para>This example does the same configuration update as the first example, except that the final command passes the network configuration object to the current cmdlet by using the pipeline operator. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 3: Pipe the time zone object to modify a device</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>$NetworkConfigData0 = New-AzureStorSimpleNetworkConfig -InterfaceAlias Data0 -EnableIscsi $True -Controller0IPv4Address "10.67.64.48" -Controller1IPv4Address "10.67.64.49" PS C:\> $OnlineDevice = @(Get-AzureStorSimpleDevice | Where { $_.Status -eq "Online"})[0] PS C:\> $UpdatedDetails = [System.TimeZoneInfo]::GetSystemTimeZones() | where { $_.Id -eq "Pacific Standard Time" } | Set-AzureStorSimpleDevice -DeviceId $OnlineDevice.DeviceId -NewName "Device22" -SecondaryDnsServer 10.8.8.8 -StorSimpleNetworkConfig $NetworkConfigData0 VERBOSE: ClientRequestId: cfc3f3c7-a8b6-462b-96f4-124050b736fe_PS VERBOSE: Successfully created a StorSimple Network Configuration for interface Data0 VERBOSE: ClientRequestId: 6017b76f-a771-4bf8-901e-14876e0f9962_PS VERBOSE: ClientRequestId: 59a9275c-9005-4e8a-b68b-efa1e6c27d47_PS VERBOSE: 1 StorSimple device found! VERBOSE: ClientRequestId: 08e5142a-b038-4607-8690-0c5a8b948352_PS VERBOSE: ClientRequestId: 218af244-b8f4-4a4b-817e-8f67e1323f03_PS VERBOSE: About to configure the device : Device22 ! VERBOSE: ClientRequestId: fbd1f32d-1d74-432e-9dc0-90b46674884a_PS VERBOSE: The task created for your Setup operation has completed successfully. VERBOSE: ClientRequestId: 981cb941-252c-4898-ba9f-f19e5b8bcaa4_PS VERBOSE: Successfully updated configuration for device Device22 with id 865e68f6-1e71-47b6-80d5-15d3a23bd2b0 </dev:code> <dev:remarks> <maml:para>This example does the same configuration update as the first example, except that the final command passes the time zone object to the current cmdlet by using the pipeline operator. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>New-AzureStorSimpleNetworkConfig</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureStorSimpleVirtualDevice</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Set-AzureStorSimpleStorageAccountCredential</command:name> <maml:description> <maml:para>Updates an Azure storage access credential. </maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Set</command:verb> <command:noun>AzureStorSimpleStorageAccountCredential</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Set-AzureStorSimpleStorageAccountCredential cmdlet update an existing Azure storage access credential for use by StorSimple OneSDK cmdlets. For more information about how StorSimple cmdlets work with storage accounts, see the help topic for the New-AzureStorSimpleStorageAccountCredential cmdlet. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Set-AzureStorSimpleStorageAccountCredential</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="Name"> <maml:name>StorageAccountName</maml:name> <maml:description> <maml:para>Specifies the name of an existing storage account. </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" aliases="Key"> <maml:name>StorageAccountKey</maml:name> <maml:description> <maml:para>Specifies the access key of the storage account in plain text. </maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>UseSSL</maml:name> <maml:description> <maml:para>Indicates whether to use SSL for the connection when using the new storage account credential.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Boolean]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="Key"> <maml:name>StorageAccountKey</maml:name> <maml:description> <maml:para>Specifies the access key of the storage account in plain text. </maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="Name"> <maml:name>StorageAccountName</maml:name> <maml:description> <maml:para>Specifies the name of an existing 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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>UseSSL</maml:name> <maml:description> <maml:para>Indicates whether to use SSL for the connection when using the new storage account credential.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Boolean]</command:parameterValue> <dev:type> <maml:name>Boolean]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</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>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>StorageAccountCredentialResponse, TaskResponse</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a StorageAccountCredentialResponse object, if you specify the WaitForComplete parameter. If you do not specify that parameter, the cmdlet returns a TaskResponse object. A StorageAccountCredentialResponse contains the following properties: -- CloudType (CloudType) -- Hostname (String) -- InstanceId (String) -- IsDefault (Boolean) -- Location (String) -- Login (String) -- Name (String) -- OperationInProgress (OperationInProgress) -- Password (String) -- PasswordEncryptionCertThumbprint (String) -- UseSSL (Boolean) -- VolumeCount (int)</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Modify a credential</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Set-AzureStorSimpleStorageAccountCredential -StorageAccountName "ContosoStorage01" -UseSSL $False -StorageAccountKey "h9ldH4LlHJB3GujcNwgdxJACy1DaQ1Hak1bfoUBzrDqZ5DPK8+0XGbsgD+jrKfQy5PBepKpYobMViLaOC2XMdg==" -Force -WaitForComplete <!--[SuppressMessage("Microsoft.Security", "CS001:SecretInline")]--> VERBOSE: ClientRequestId: 20cd2b17-9cff-4ab4-a034-96d60d946295_PS VERBOSE: ClientRequestId: a75ed193-1da5-491f-96f5-572b5461d466_PS VERBOSE: ClientRequestId: db612c9e-e89a-404f-8406-e66e7f697cd5_PS VERBOSE: Storage credential verification succeeded. VERBOSE: Encryption in progress... VERBOSE: About to run a task to update your Storage Access credential! VERBOSE: ClientRequestId: a0995bb7-8223-4fcf-83c9-0a4f81e6a85c_PS JobId : 74a6172e-d47a-4824-a7fa-3eb207a76e0b JobResult : Succeeded JobStatus : Completed ErrorCode : ErrorMessage : JobSteps : {} VERBOSE: The job created for your update operation has completed successfully. VERBOSE: ClientRequestId: de04c77b-4846-45e0-9257-df501af9d4e9_PS CloudType : Azure Hostname : blob.core.windows.net InstanceId : 8b3cb7bb-963b-4173-9598-52fe230b0350 IsDefault : False Location : West US Login : ContosoStorage01 Name : ContosoStorage01 OperationInProgress : None Password : UUejow8u6ZynMm18g59883FBVtlIX6PWh6x+v15cnnkHKEAb5queTGnGOiGa/KkOqths7F/umDz+wUUB8zzq 4YCi0Dm0rqPGDC4unhxvbncf+WeCEvV7qsf3pmUFdk8o96Cgl8oXgmmvYL9K6Z6ajHUdZFFlq9WqUpz2vBbz 3ROxq8SRORt2DQVQP6LWojTiow1kNI/v2cs3eNvzoSgGftqzjSmhaTYu+q0o8X07eE4KwkWhQrRX24seH2Lg N9aYCQUrSxVKOAFJjdLOIBUlM48pnE7xyyZNwqngnPLt8z+mlS6JCKfo5SBKUfwmkhgDFfbVwB3jqC/sV/G6 omwQ/A== PasswordEncryptionCertThumbprint : UseSSL : False VolumeCount : 0 </dev:code> <dev:remarks> <maml:para>This command changes the storage account credential named ContosoStorage01 to no longer require SSL. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleStorageAccountCredential</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>New-AzureStorSimpleStorageAccountCredential</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Remove-AzureStorSimpleStorageAccountCredential</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Set-AzureStorSimpleVirtualDevice</command:name> <maml:description> <maml:para>Creates or updates the device configuration of a StorSimple virtual device.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Set</command:verb> <command:noun>AzureStorSimpleVirtualDevice</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Set-AzureStorSimpleVirtualDevice cmdlet creates or updates the device configuration of an Azure StorSimple virtual device.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Set-AzureStorSimpleVirtualDevice</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the virtual device to configure.</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" aliases="none"> <maml:name>SecretKey</maml:name> <maml:description> <maml:para>Specifies a service encryption key for the virtual device. This key is generated when the first physical device is registered with a resource.</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="3" aliases="none"> <maml:name>AdministratorPassword</maml:name> <maml:description> <maml:para>Specifies the administrator password of the virtual device to configure.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>SnapshotManagerPassword</maml:name> <maml:description> <maml:para>Specifies the snapshot manager password.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByValue)" position="5" aliases="none"> <maml:name>TimeZone</maml:name> <maml:description> <maml:para>Specifies a time zone for the device. You can create a TimeZoneInfo object by using the GetSystemTimeZone() method. For example, this command creates a time zone information object for Pacific Standard Time: [System.TimeZoneInfo]::GetSystemTimeZones() | where { $_.Id -eq "Pacific Standard Time" }</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">TimeZoneInfo</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>AdministratorPassword</maml:name> <maml:description> <maml:para>Specifies the administrator password of the virtual device to configure.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the virtual device to configure.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>SecretKey</maml:name> <maml:description> <maml:para>Specifies a service encryption key for the virtual device. This key is generated when the first physical device is registered with a resource.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>SnapshotManagerPassword</maml:name> <maml:description> <maml:para>Specifies the snapshot manager password.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByValue)" position="5" aliases="none"> <maml:name>TimeZone</maml:name> <maml:description> <maml:para>Specifies a time zone for the device. You can create a TimeZoneInfo object by using the GetSystemTimeZone() method. For example, this command creates a time zone information object for Pacific Standard Time: [System.TimeZoneInfo]::GetSystemTimeZones() | where { $_.Id -eq "Pacific Standard Time" }</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">TimeZoneInfo</command:parameterValue> <dev:type> <maml:name>TimeZoneInfo</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>TimeZoneInfo</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>You can pipe a TimeZoneInfo object to this cmdlet.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>DeviceJobDetails</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns updated device details for the virtual device.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Update a virtual device</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>$TimeZoneInfo = [System.TimeZoneInfo]::GetSystemTimeZones() | where { $_.Id -eq "Pacific Standard Time" } PS C:\> Set-AzureStorSimpleVirtualDevice -DeviceName "Contoso23" -SecretKey "wcZBlBGpCMf4USdSKyt/SQ==" -TimeZone $TimeZoneInfo VERBOSE: ClientRequestId: e31f0d6b-451d-4c1d-b2f1-3fc84c13972c_PS VERBOSE: ClientRequestId: df58db83-d563-4a2e-bbb4-9576f0e69ca6_PS VERBOSE: ClientRequestId: 494a9f0d-79ee-4fde-ab4d-85ee5a357556_PS VERBOSE: ClientRequestId: ce557cbf-174d-4301-93d4-5ffe082c8413_PS VERBOSE: ClientRequestId: 31284dad-de2c-4758-a2ef-45962875bfa6_PS VERBOSE: About to configure the device : win-ff93i74m1e1 ! VERBOSE: ClientRequestId: d9c66302-45d8-488a-adda-8ccf957f77d3_PS TaskId : 21f530c3-bc47-4591-8c4e-da4d694b751d TaskResult : Succeeded TaskStatus : Completed ErrorCode : ErrorMessage : TaskSteps : {Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStep, Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStep} VERBOSE: The task created for your Setup operation has completed successfully. VERBOSE: ClientRequestId: a94f972c-18ea-40b6-9401-2ad209c0c8b4_PS AlertNotification : Microsoft.WindowsAzure.Management.StorSimple.Models.AlertNotificationSettings Chap : Microsoft.WindowsAzure.Management.StorSimple.Models.ChapSettings DeviceProperties : Microsoft.WindowsAzure.Management.StorSimple.Models.DeviceInfo DnsServer : Microsoft.WindowsAzure.Management.StorSimple.Models.DnsServerSettings InstanceId : d369ebb4-8b9a-47fc-9a6b-60f371e123ae Name : NetInterfaceList : {} OperationInProgress : None RemoteMgmtSettingsInfo : Microsoft.WindowsAzure.Management.StorSimple.Models.RemoteManagementSettings RemoteMinishellSecretInfo : Microsoft.WindowsAzure.Management.StorSimple.Models.RemoteMinishellSettings SecretEncryptionCertThumbprint : Snapshot : Microsoft.WindowsAzure.Management.StorSimple.Models.SnapshotSettings TimeServer : Microsoft.WindowsAzure.Management.StorSimple.Models.TimeSettings Type : VirtualAppliance VirtualApplianceProperties : Microsoft.WindowsAzure.Management.StorSimple.Models.VirtualApplianceInfo WebProxy : Microsoft.WindowsAzure.Management.StorSimple.Models.WebProxySettings VERBOSE: Successfully updated configuration for device Contoso23 with id d369ebb4-8b9a-47fc-9a6b-60f371e123ae </dev:code> <dev:remarks> <maml:para>The first command uses the System.TimeZoneInfo .NET class and standard syntax to get Pacific Standard Time zone, and stores that object in the $TimeZoneInfo variable. </maml:para> <maml:para>The second command updates the device named Contoso23 to use the time zone specified in $TimeZoneInfo. The command requires the secret key to access the virtual device configuration.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Update a virtual device by using the pipeline operator</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\> [System.TimeZoneInfo]::GetSystemTimeZones() | where { $_.Id -eq "Pacific Standard Time" } | Set-AzureStorSimpleVirtualDevice -DeviceName "Contoso23" -SecretKey "wcZBlBGpCMf4USdSKyt/SQ==" </dev:code> <dev:remarks> <maml:para>This command updates the device named Contoso23 to use the time zone that the command creates. The command requires the secret key to access the virtual device configuration. This command works the same way as the previous example, except that it passes the time zone to the current cmdlet by using the pipeline operator. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>New-AzureStorSimpleVirtualDevice</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Set-AzureStorSimpleDevice</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Start-AzureStorSimpleBackupCloneJob</command:name> <maml:description> <maml:para>Starts a job that clones a backup on a device.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Start</command:verb> <command:noun>AzureStorSimpleBackupCloneJob</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Start-AzureStorSimpleBackupCloneJob cmdlet starts a job that clones an existing backup on a StorSimple device. </maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Start-AzureStorSimpleBackupCloneJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>BackupId</maml:name> <maml:description> <maml:para>Specifies the instance ID of the backup to clone. </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="4" aliases="none"> <maml:name>Snapshot</maml:name> <maml:description> <maml:para>Specifies the snapshot object that this cmdlet clones.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Snapshot</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="5" aliases="none"> <maml:name>CloneVolumeName</maml:name> <maml:description> <maml:para>Specifies the name for the new cloned volume on the target device.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="6" aliases="none"> <maml:name>TargetAccessControlRecords</maml:name> <maml:description> <maml:para>Specifies the access control records.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="7" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Forces the command to run without asking for user confirmation.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureStorSimpleBackupCloneJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>SourceDeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the source device. This cmdlet clones the back from the source device.</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" aliases="none"> <maml:name>TargetDeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the device to which this cmdlet clones the backup. </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="3" aliases="none"> <maml:name>BackupId</maml:name> <maml:description> <maml:para>Specifies the instance ID of the backup to clone. </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="4" aliases="none"> <maml:name>Snapshot</maml:name> <maml:description> <maml:para>Specifies the snapshot object that this cmdlet clones.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Snapshot</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="5" aliases="none"> <maml:name>CloneVolumeName</maml:name> <maml:description> <maml:para>Specifies the name for the new cloned volume on the target device.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByValue)" position="6" aliases="none"> <maml:name>TargetAccessControlRecords</maml:name> <maml:description> <maml:para>Specifies the access control records.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="7" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Forces the command to run without asking for user confirmation.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureStorSimpleBackupCloneJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>SourceDeviceId</maml:name> <maml:description> <maml:para>Specifies the instance ID of the source device. This cmdlet clones the back from the source device.</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" aliases="none"> <maml:name>TargetDeviceId</maml:name> <maml:description> <maml:para>Specifies the instance ID of the target device.</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="3" aliases="none"> <maml:name>BackupId</maml:name> <maml:description> <maml:para>Specifies the instance ID of the backup to clone. </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="4" aliases="none"> <maml:name>Snapshot</maml:name> <maml:description> <maml:para>Specifies the snapshot object that this cmdlet clones.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Snapshot</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="5" aliases="none"> <maml:name>CloneVolumeName</maml:name> <maml:description> <maml:para>Specifies the name for the new cloned volume on the target device.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true(ByValue)" position="6" aliases="none"> <maml:name>TargetAccessControlRecords</maml:name> <maml:description> <maml:para>Specifies the access control records.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="7" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Forces the command to run without asking for user confirmation.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>BackupId</maml:name> <maml:description> <maml:para>Specifies the instance ID of the backup to clone. </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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="5" aliases="none"> <maml:name>CloneVolumeName</maml:name> <maml:description> <maml:para>Specifies the name for the new cloned volume on the target device.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="7" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Forces the command to run without asking for user confirmation.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="4" aliases="none"> <maml:name>Snapshot</maml:name> <maml:description> <maml:para>Specifies the snapshot object that this cmdlet clones.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">Snapshot</command:parameterValue> <dev:type> <maml:name>Snapshot</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>SourceDeviceId</maml:name> <maml:description> <maml:para>Specifies the instance ID of the source device. This cmdlet clones the back from the source device.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>SourceDeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the source device. This cmdlet clones the back from the source device.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="6" aliases="none"> <maml:name>TargetAccessControlRecords</maml:name> <maml:description> <maml:para>Specifies the access control records.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</command:parameterValue> <dev:type> <maml:name>0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>TargetDeviceId</maml:name> <maml:description> <maml:para>Specifies the instance ID of the target device.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>TargetDeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the device to which this cmdlet clones the backup. </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>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>Snapshot, List of AccessControlRecord</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>You can pipe Snapshot objects or a list of AccessControlRecord objects to this cmdlet. </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name> </maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Clone a backup to a different volume by using device names</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>$Backup = Get-AzureStorSimpleDeviceBackup -DeviceName "ContosoDev07" -First 1 PS C:\> $Acrs = Get-AzureStorSimpleAccessControlRecord -ACRName "Acr01" PS C:\> Start-AzureStorSimpleBackupCloneJob -SourceDeviceName "ContosoDev07 -TargetDeviceName "ContosoDev07" -BackupId $Backup.InstanceId -Snapshot $Backup.Snapshots[0] -CloneVolumeName "cloned_volume11" -TargetAccessControlRecords $Acrs VERBOSE: ClientRequestId: 43d8b4dc-39da-4ec5-92f6-be1f499155e9_PS VERBOSE: ClientRequestId: be7a73a7-980c-4ba2-82d4-f6a7ee0eac0a_PS VERBOSE: ClientRequestId: ee02aaae-d366-43d2-a229-8761d6db39f1_PS Confirm Are you sure you want to clone the backup with backupId fca748a0-4154-49e0-9550-07fa481cbd2d? [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y VERBOSE: ClientRequestId: 9b81d9f9-3e31-49be-a8cd-1b1c6afdb744_PS bd05baee-36d0-48f4-8b1e-8119c4133446 VERBOSE: The start job is triggered successfully. Please use the command Get-AzureStorSimpleJob -InstanceId bd05baee-36d0-48f4-8b1e-8119c4133446 for tracking the job's status </dev:code> <dev:remarks> <maml:para>The first command gets the first backup for the device named ContosoDev07 by using the Get-AzureStorSimpleDeviceBackup cmdlet. The command stores that backup in the $Backup variable. </maml:para> <maml:para>The second command gets access control records by using the Get-AzureStorSimpleAccessControlRecord cmdlet. The command stores the result in the $Acrs variable. </maml:para> <maml:para>The final command begins a job that clones a specified backup of a volume on a device to a different volume on the same device. This example specifies the device by name. The command uses the values stored in $Backup and $Acrs. The command returns the ID of the job. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Clone a backup to a different volume by using device IDs</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>$Backup = Get-AzureStorSimpleDeviceBackup -DeviceName ContosoDev07 -First 1 PS C:\> $Acrs = Get-AzureStorSimpleAccessControlRecord -ACRName "Acr01" PS C:\> Start-AzureStorSimpleBackupCloneJob -SourceDeviceId "be7a73a7-980c-4ba2-82d4-f6a7ee0eacbb" -TargetDeviceId "be7a73a7-980c-4ba2-82d4-f6a7ee0eacbb" -BackupId $Backup.InstanceId -Snapshot $Backup.Snapshots[0] -CloneVolumeName "cloned_volume11" -TargetAccessControlRecords $Acrs VERBOSE: ClientRequestId: 43d8b4dc-39da-4ec5-92f6-be1f499155e9_PS VERBOSE: ClientRequestId: be7a73a7-980c-4ba2-82d4-f6a7ee0eac0a_PS VERBOSE: ClientRequestId: ee02aaae-d366-43d2-a229-8761d6db39f1_PS Confirm Are you sure you want to clone the backup with backupId fca748a0-4154-49e0-9550-07fa481cbd2d? [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y VERBOSE: ClientRequestId: 9b81d9f9-3e31-49be-a8cd-1b1c6afdb744_PS bd05baee-36d0-48f4-8b1e-8119c4133446 VERBOSE: The start job is triggered successfully. Please use the command Get-AzureStorSimpleJob -InstanceId bd05baee-36d0-48f4-8b1e-8119c4133446 for tracking the job's status </dev:code> <dev:remarks> <maml:para>The first command gets the first backup for the device named ContosoDev07 by using the Get-AzureStorSimpleDeviceBackup cmdlet. The command stores that backup in the $Backup variable. </maml:para> <maml:para>The second command gets access control records by using the Get-AzureStorSimpleAccessControlRecord cmdlet. The command stores the result in the $Acrs variable. </maml:para> <maml:para>The final command begins a job that clones a specified backup of a volume on a device to a different volume on the same device. This example specifies the device by device ID. The command uses the values stored in $Backup and $Acrs. The command returns the ID of the job. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 3: Clone a backup to a volume on a different device by using device names</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>$Backup = Get-AzureStorSimpleDeviceBackup -DeviceName "ContosoDev07" -First 1 PS C:\> $Acrs = Get-AzureStorSimpleAccessControlRecord -ACRName "Acr01" PS C:\> Start-AzureStorSimpleBackupCloneJob -SourceDeviceName "ContosoDev07" -TargetDeviceName "ContosoDev12" -BackupId $Backup.InstanceId -Snapshot $Backup.Snapshots[0] -CloneVolumeName "cloned_volume11" -TargetAccessControlRecords $Acrs VERBOSE: ClientRequestId: 43d8b4dc-39da-4ec5-92f6-be1f499155e9_PS VERBOSE: ClientRequestId: be7a73a7-980c-4ba2-82d4-f6a7ee0eac0a_PS VERBOSE: ClientRequestId: ee02aaae-d366-43d2-a229-8761d6db39f1_PS Confirm Are you sure you want to clone the backup with backupId fca748a0-4154-49e0-9550-07fa481cbd2d? [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y VERBOSE: ClientRequestId: 9b81d9f9-3e31-49be-a8cd-1b1c6afdb744_PS bd05baee-36d0-48f4-8b1e-8119c4133446 VERBOSE: The start job is triggered successfully. Please use the command Get-AzureStorSimpleJob -InstanceId bd05baee-36d0-48f4-8b1e-8119c4133446 for tracking the job's status </dev:code> <dev:remarks> <maml:para>The first command gets the first backup for the device named ContosoDev07 by using the Get-AzureStorSimpleDeviceBackup cmdlet. The command stores that backup in the $Backup variable. </maml:para> <maml:para>The second command gets access control records by using the Get-AzureStorSimpleAccessControlRecord cmdlet. The command stores the result in the $Acrs variable. </maml:para> <maml:para>The final command begins a job that clones a specified backup of a volume on a device to a volume on a different device. This example specifies the devices by name. The command uses the values stored in $Backup and $Acrs. The command returns the ID of the job. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 4: Clone a backup to a different volume by using device names and the pipeline operator</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>$Backup = Get-AzureStorSimpleDeviceBackup -DeviceName ContosoDev1 -First 1 PS C:\> Get-AzureStorSimpleAccessControlRecord -ACRName acr1 | Start-AzureStorSimpleBackupCloneJob -SourceDeviceName ContosoDev1 -TargetDeviceName ContosoDev1 -BackupId $backup.InstanceId -Snapshot $backup.Snapshots[0] -CloneVolumeName "cloned_vol1" VERBOSE: ClientRequestId: 1183a29d-63a9-408a-9065-032c92d317ee_PS VERBOSE: ClientRequestId: e195717c-5920-4133-bdf0-c1201ebabf6f_PS VERBOSE: ClientRequestId: ac16644d-bfd8-4edf-b1ad-f5df4ceb4df7_PS VERBOSE: ClientRequestId: dcdcab7f-2aaa-496d-8a18-2e7449a70227_PS VERBOSE: ClientRequestId: 6f92e422-eda9-4087-aefb-2257a49f5beb_PS Confirm Are you sure you want to clone the backup with backupId fca748a0-4154-49e0-9550-07fa481cbd2d? [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y VERBOSE: ClientRequestId: 646b280c-b51c-4812-b5c5-b7ca215f1c90_PS a747d2dc-2876-474e-aea6-6546b255427e VERBOSE: The start job is triggered successfully. Please use the command Get-AzureStorSimpleJob -InstanceId a747d2dc-2876-474e-aea6-6546b255427e for tracking the job's status VERBOSE: Access Control Record with given name acr11 is found! </dev:code> <dev:remarks> <maml:para>The first command gets the first backup for the device named ContosoDev07 by using the Get-AzureStorSimpleDeviceBackup cmdlet. The command stores that backup in the $Backup variable. </maml:para> <maml:para>The second command gets access control records by using the Get-AzureStorSimpleAccessControlRecord cmdlet. The command passes its results to the current cmdlet by using the pipeline operator. The current cmdlet begins a job that clones a specified backup of a volume on a device, to a different volume on the same device. This example specifies the device by name. The command uses the value stored in $Backup. The command takes the value of the TargetAccessControlRecords parameter from the pipeline. The command returns the ID of the job. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleDeviceBackup</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleAccessControlRecord</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Start-AzureStorSimpleDeviceBackupJob</command:name> <maml:description> <maml:para>Starts a new job that creates a backup from an existing backup policy.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Start</command:verb> <command:noun>AzureStorSimpleDeviceBackupJob</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Start-AzureStorSimpleDeviceBackupJob cmdlet starts a new job that creates a backup from an existing backup policy on a StorSimple device. By default, this cmdlet creates a local snapshot backup. To create a cloud backup, specify a value of CloudSnapshot for the BackupType parameter.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Start-AzureStorSimpleDeviceBackupJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which to start the backup job. </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" aliases="none"> <maml:name>BackupPolicyId</maml:name> <maml:description> <maml:para>Specifies the ID of the backup policy to use to create the backup.</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" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureStorSimpleDeviceBackupJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which to start the backup job. </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" aliases="none"> <maml:name>BackupPolicyId</maml:name> <maml:description> <maml:para>Specifies the ID of the backup policy to use to create the backup.</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="3" aliases="none"> <maml:name>BackupType</maml:name> <maml:description> <maml:para>Specifies the backup type. Valid values are: LocalSnapshot and CloudSnapshot.</maml:para> </maml:description> <command:parameterValueGroup> <command:parameterValue required="true" variableLength="false">LocalSnapshot</command:parameterValue> <command:parameterValue required="true" variableLength="false">CloudSnapshot</command:parameterValue> </command:parameterValueGroup> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>BackupPolicyId</maml:name> <maml:description> <maml:para>Specifies the ID of the backup policy to use to create the backup.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>BackupType</maml:name> <maml:description> <maml:para>Specifies the backup type. Valid values are: LocalSnapshot and CloudSnapshot.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which to start the 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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</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>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>TaskStatusInfo, TaskResponse</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a TaskStatusInfo object if you specify the WaitForComplete parameter. If you do not specify that parameter, it returns a TaskResponse object.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Create a local snapshot backup</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Start-AzureStorSimpleDeviceBackupJob -DeviceName "Contoso63-AppVm" -BackupPolicyId "de088eac-b283-4d92-b501-a759845fdf3f" JobId StatusCode RequestId ----- ---------- --------- fb9acdca-ed6f-4b69-93f2-5c0bce0a1e08 Accepted 456cf6bafd427103b71c07145e26d35c VERBOSE: Your backup operation has been submitted for processing. Use commandlet "Get-AzureStorSimpleJob -JobId fb9acdca-ed6f-4b69-93f2-5c0bce0a1e08" to track status. </dev:code> <dev:remarks> <maml:para>This command creates a local snapshot backup for the specified policy ID. This command starts the job, and then returns a TaskResponse object. To see the status of the job, use the Get-AzureStorSimpleTask cmdlet.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Create a cloud snapshot backup and wait to finish</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Start-AzureStorSimpleDeviceBackupJob -DeviceName "Contoso63-AppVm" -BackupPolicyId "de088eac-b283-4d92-b501-a759845fdf3f" -BackupType CloudSnapshot -WaitForComplete Error : Microsoft.WindowsAzure.Management.StorSimple.Models.ErrorDetails JobId : fb9acdca-ed6f-4b69-93f2-5c0bce0a1e08 JobSteps : {} Result : Succeeded Status : Completed TaskResult : Succeeded StatusCode : OK RequestId : f28ecf6cf75a7f128ca18e6ae14f9003 </dev:code> <dev:remarks> <maml:para>This command creates a cloud snapshot backup for the specified policy ID. This command specifies the WaitForComplete parameter, so the command completes the task, and then returns a TaskStatusInfo object for the job.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleJob</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Start-AzureStorSimpleDeviceBackupRestoreJob</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Start-AzureStorSimpleDeviceBackupRestoreJob</command:name> <maml:description> <maml:para>Starts a job that restores a backup on a StorSimple device.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Start</command:verb> <command:noun>AzureStorSimpleDeviceBackupRestoreJob</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Start-AzureStorSimpleDeviceBackupRestoreJob cmdlet starts a job that restores a backup on a StorSimple device. Specify a backup ID and an optional snapshot ID.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Start-AzureStorSimpleDeviceBackupRestoreJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which the backup exists.</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" aliases="none"> <maml:name>BackupId</maml:name> <maml:description> <maml:para>Specifies the instance ID of the backup to restore.</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" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="5" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Indicates that this cmdlet does not prompt you for confirmation.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureStorSimpleDeviceBackupRestoreJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which the backup exists.</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" aliases="none"> <maml:name>BackupId</maml:name> <maml:description> <maml:para>Specifies the instance ID of the backup to restore.</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="3" aliases="none"> <maml:name>SnapshotId</maml:name> <maml:description> <maml:para>Specifies the instance ID of the snapshot to restore. </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" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="5" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Indicates that this cmdlet does not prompt you for confirmation.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>BackupId</maml:name> <maml:description> <maml:para>Specifies the instance ID of the backup to restore.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which the backup exists.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="5" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Indicates that this cmdlet does not prompt you for confirmation.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>SnapshotId</maml:name> <maml:description> <maml:para>Specifies the instance ID of the snapshot to restore. </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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>WaitForComplete</maml:name> <maml:description> <maml:para>Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.</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>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>TaskStatusInfo, TaskResponse</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns a TaskStatusInfo object if you specify the WaitForComplete parameter. If you do not specify that parameter, it returns a TaskResponse object.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Start a job to restore a backup</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Start-AzureStorSimpleDeviceBackupRestoreJob -DeviceName "Contoso63-AppVm" -BackupId "b3b50534-763c-4b05-9724-5ecf62bde721" -WaitForComplete Confirm Are you sure you want to restore the backup with backupId b3b50534-763c-4b05-9724-5ecf62bde721? [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y Error : Microsoft.WindowsAzure.Management.StorSimple.Models.ErrorDetails JobId : 217d0647-c001-4f43-9833-f8155a458e95 JobSteps : {} Result : Succeeded Status : Completed TaskResult : Succeeded StatusCode : OK RequestId : e0aa2dcd2f197a8588c40a067fe0e519 </dev:code> <dev:remarks> <maml:para>This command starts a job that restores the backup object that has the specified ID, and its associated snapshots, on the device named Contoso63-AppVm. The command specifies the WaitForComplete parameter, so the job finishes before the cmdlet returns control to the console.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Start a job to restore a specific snapshot </maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Start-AzureStorSimpleDeviceBackupRestoreJob -DeviceName "Contoso63-AppVm" -BackupId "b3b50534-763c-4b05-9724-5ecf62bde721" -SnapshotId "2d0cfad7-46bf-4266-8859-96549646e947_0000000000000000" -Force The start job is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId 9102ed9a-078f-4648-a 721-3cffbba31336 for tracking the job status </dev:code> <dev:remarks> <maml:para>This command starts a job that restores the backup snapshot that has the specified ID. The command specifies the backup object by ID on the device named Contoso63-AppVm. The command specifies the Force parameter, so it starts the job without prompting you to confirm. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleJob</maml:linkText> <maml:uri /> </maml:navigationLink> <maml:navigationLink> <maml:linkText>Start-AzureStorSimpleDeviceBackupJob</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Start-AzureStorSimpleDeviceFailoverJob</command:name> <maml:description> <maml:para>Initiates a failover operation of volume container groups. </maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Start</command:verb> <command:noun>AzureStorSimpleDeviceFailoverJob</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Start-AzureStorSimpleDeviceFailoverJob cmdlet initiates a failover operation of one or more volume container groups from one device to another.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Start-AzureStorSimpleDeviceFailoverJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceId</maml:name> <maml:description> <maml:para>Specifies the instance ID of the StorSimple device on which the volume container groups exist.</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="2" aliases="none"> <maml:name>VolumecontainerGroups</maml:name> <maml:description> <maml:para>Specifies the list of volume container groups that this cmdlet fails over to another device.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>TargetDeviceId</maml:name> <maml:description> <maml:para>Specifies the instance ID of the StorSimple device to which this cmdlet fails over the volume container groups. </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" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Forces the command to run without asking for user confirmation.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureStorSimpleDeviceFailoverJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which the volume container groups exist.</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="2" aliases="none"> <maml:name>VolumecontainerGroups</maml:name> <maml:description> <maml:para>Specifies the list of volume container groups that this cmdlet fails over to another device.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>TargetDeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device to which this cmdlet fails over the volume container groups.</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" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Forces the command to run without asking for user confirmation.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureStorSimpleDeviceFailoverJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2" aliases="none"> <maml:name>VolumecontainerGroups</maml:name> <maml:description> <maml:para>Specifies the list of volume container groups that this cmdlet fails over to another device.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Forces the command to run without asking for user confirmation.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" 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" aliases="none"> <maml:name>DeviceId</maml:name> <maml:description> <maml:para>Specifies the instance ID of the StorSimple device on which the volume container groups exist.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>DeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device on which the volume container groups exist.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="4" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Forces the command to run without asking for user confirmation.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>TargetDeviceId</maml:name> <maml:description> <maml:para>Specifies the instance ID of the StorSimple device to which this cmdlet fails over the volume container 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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="none"> <maml:name>TargetDeviceName</maml:name> <maml:description> <maml:para>Specifies the name of the StorSimple device to which this cmdlet fails over the volume container 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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="2" aliases="none"> <maml:name>VolumecontainerGroups</maml:name> <maml:description> <maml:para>Specifies the list of volume container groups that this cmdlet fails over to another device.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</command:parameterValue> <dev:type> <maml:name>0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>List<DataContainerGroup></maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>You can pipe a list of volume container groups to this cmdlet.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>String</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Start a failover job for a named device and named target device</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>(Get-AzureStorSimpleFailoverVolumeContainers -DeviceName "ChewD_App7") | Where-Object {$_.IsDCGroupEligibleForDR -eq $True} | Start-AzureStorSimpleDeviceFailoverJob -DeviceName "ChewD_App7" -TargetDeviceName "Fuller05" -Force a3d902be-8ffb-42a4-bbf8-0a1b30db71b2_0ee59ae9-0293-46e2-ae56-bc308c8e5520 </dev:code> <dev:remarks> <maml:para>This command gets the failover volume containers for the device named ChewD_App7 by using the Get-AzureStorSimpleFailoverVolumeContainers cmdlet. The command passes the results to the Where-Object cmdlet, which drops those containers that have a value other than $True for the IsDCGroupEligibleForDR property. For more information, type Get-Help Where-Object. The current cmdlet starts failover jobs for the remaining failover volume containers. The command specifies the device name and target device name. The command returns the instance ID of the job that the cmdlet starts. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Start a failover job for a device and target device specified by ID</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>(Get-AzureStorSimpleFailoverVolumeContainers -DeviceId "3825f272-1efb-4c14-b63f-22605ce3b925") | Where-Object {$_.IsDCGroupEligibleForDR -eq $True} | Select-Object -First 1 | Start-AzureStorSimpleDeviceFailoverJob -DeviceId "3825f272-1efb-4c14-b63f-22605ce3b925" -TargetDeviceId "0ee59ae9-0293-46e2-ae56-bc308c8e5520" -Force 4c5ac0d0-4b66-465c-98f5-aec90505ad12_0ee59ae9-0293-46e2-ae56-bc308c8e5520 </dev:code> <dev:remarks> <maml:para>This command gets the failover volume containers for the device named ChewD_App7 by using Get-AzureStorSimpleFailoverVolumeContainers. The command passes the results to Where-Object, which drops those containters that have a value other than $True for the IsDCGroupEligibleForDR property. The cmdlet passes the results to the Select-Object cmdlet, which selects the first object to pass to the current cmdlet. For more information, type Get-Help Select-Object. The current cmdlet starts failover jobs for the selected failover volume container. The command specifies the device ID and target device ID. The command returns the instance ID of the job that the cmdlet starts. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleFailoverVolumeContainers</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Start-AzureStorSimpleLegacyVolumeContainerMigrationPlan</command:name> <maml:description> <maml:para>Starts the creation of a migration plan.</maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Start</command:verb> <command:noun>AzureStorSimpleLegacyVolumeContainerMigrationPlan</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Start-AzureStorSimpleLegacyVolumeContainerMigrationPlan cmdlet starts the creation of a migration plan. The creation of a migration plan is asynchronous. To see the status of the migration plan, use the Get-AzureStorSimpleLegacyVolumeContainerMigrationPlan cmdlet.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Start-AzureStorSimpleLegacyVolumeContainerMigrationPlan</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>LegacyConfigId</maml:name> <maml:description> <maml:para>Specifies the unique ID of the configuration of the legacy appliance.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>All</maml:name> <maml:description> <maml:para>Indicates that this cmdlet starts migration time estimates for all volume containers in the imported configuration file.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Start-AzureStorSimpleLegacyVolumeContainerMigrationPlan</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>LegacyConfigId</maml:name> <maml:description> <maml:para>Specifies the unique ID of the configuration of the legacy appliance.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>LegacyContainerNames</maml:name> <maml:description> <maml:para>Specifies an array of volume container names for which to create a migration plan.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">System.String[]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>All</maml:name> <maml:description> <maml:para>Indicates that this cmdlet starts migration time estimates for all volume containers in the imported configuration file.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1" aliases="none"> <maml:name>LegacyConfigId</maml:name> <maml:description> <maml:para>Specifies the unique ID of the configuration of the legacy appliance.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="false">System.String</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>LegacyContainerNames</maml:name> <maml:description> <maml:para>Specifies an array of volume container names for which to create a migration plan.</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">System.String[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">Microsoft.Azure.Common.Authentication.Models.AzureProfile</command:parameterValue> <dev:type> <maml:name>Microsoft.Azure.Common.Authentication.Models.AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>String</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet returns the status of the migration plan job if it has been successfully started in the appliance.</maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Start a migration plan</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Start-AzureStorSimpleLegacyVolumeContainerMigrationPlan -LegacyConfigId "c5a831e1-7888-44f4-adf1-92994be630c3" -LegacyContainerNames "OneSDKAzureCloud" Successfully started estimating the Migration Plan. Please check details with Get-AzureStorSimpleLegacyVolumeContainerMigrationPlan </dev:code> <dev:remarks> <maml:para>This command starts creation of a migration plan for the legacy container named OneSDKAzureCloud. The command returns a message about the status of the plan, and to use the Get-AzureStorSimpleLegacyVolumeContainerMigrationPlan cmdlet for up to date information.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Start migration plan for all volume containers</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Start-AzureStorSimpleLegacyVolumeContainerMigrationPlan -LegacyConfigId "c5a831e1-7888-44f4-adf1-92994be630c3" -All Successfully started estimating the Migration Plan. Please check details with Get-AzureStorSimpleLegacyVolumeContainerMigrationPlan </dev:code> <dev:remarks> <maml:para>This command starts creation of migration plan for all legacy volume containers in the configuration file that is imported.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleLegacyVolumeContainerMigrationPlan</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </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"> <command:details> <command:name>Stop-AzureStorSimpleJob</command:name> <maml:description> <maml:para>Stops a StorSimple job. </maml:para> </maml:description> <maml:copyright> <maml:para /> </maml:copyright> <command:verb>Stop</command:verb> <command:noun>AzureStorSimpleJob</command:noun> <dev:version /> </command:details> <maml:description> <maml:para>The Stop-AzureStorSimpleJob cmdlet stops an on-going StorSimple job. You can specify a jobs by supplying an instance ID or a job name.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Stop-AzureStorSimpleJob</maml:name> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>InstanceId</maml:name> <maml:description> <maml:para>Specifies the ID of the device job to stop.</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" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Forces the command to run without asking for user confirmation.</maml:para> </maml:description> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">AzureProfile</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="none"> <maml:name>Force</maml:name> <maml:description> <maml:para>Forces the command to run without asking for user confirmation.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true(ByPropertyName)" position="1" aliases="none"> <maml:name>InstanceId</maml:name> <maml:description> <maml:para>Specifies the ID of the device job to stop.</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>none</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="none"> <maml:name>Profile</maml:name> <maml:description> <maml:para>Specifies an Azure profile.</maml:para> </maml:description> <command:parameterValue required="false" variableLength="false">AzureProfile</command:parameterValue> <dev:type> <maml:name>AzureProfile</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>none</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>None</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para> </maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>DeviceJobDetails</maml:name> <maml:uri> </maml:uri> <maml:description> <maml:para /> </maml:description> </dev:type> <maml:description> <maml:para>This cmdlet gets details of the DeviceJob that this cmdlet stops. </maml:para> </maml:description> </command:returnValue> </command:returnValues> <command:terminatingErrors /> <command:nonTerminatingErrors /> <command:examples> <command:example> <maml:title>Example 1: Stop jobs for a device</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Get-AzureStorSimpleJob -DeviceName "Device07" | Stop-AzureStorSimpleJob -Force </dev:code> <dev:remarks> <maml:para>This command gets the jobs for the device named Device07, by using the Get-AzureStorSimpleJob cmdlet. The command passes the jobs to the current cmdlet by using the pipeline operator. The current cmdlet stops any jobs that the command passes to it. The command specifies the Force parameter, and, so, it does not prompt you for confirmation before it stops a job.</maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> <command:example> <maml:title>Example 2: Stop a specific job</maml:title> <maml:introduction> <maml:para> </maml:para> </maml:introduction> <dev:code>PS C:\>Stop-AzureStorSimpleJob -InstanceId "574f47e0-44e9-495c-b8a5-0203c57ebf6d" -Force </dev:code> <dev:remarks> <maml:para>This command stops the job that has the specified instance ID. </maml:para> <maml:para /> <maml:para /> </dev:remarks> <command:commandLines> <command:commandLine> <command:commandText /> </command:commandLine> </command:commandLines> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Get-AzureStorSimpleJob</maml:linkText> <maml:uri /> </maml:navigationLink> </maml:relatedLinks> <maml:alertSet> <maml:alert> <maml:para>Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple</maml:para> </maml:alert> </maml:alertSet> </command:command> </helpItems> |