Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Stop-AzureStorSimpleJob

Stop-AzureStorSimpleJob

microsoft.windowsazure.commands.storsimple.dll

Synopsis

Stops a StorSimple job.

Syntax

Stop-AzureStorSimpleJob [-InstanceId] [-Force] [-Profile] [<CommonParameters>]

Detailed Description

The Stop-AzureStorSimpleJob cmdlet stops an on-going StorSimple job. You can specify a jobs by supplying an instance ID or a job name.

Parameters

-Force <SwitchParameter>

Forces the command to run without asking for user confirmation.

Aliases

none

Required?

false

Position

2

Default value

none

Accept pipeline input?

false

Accept wildcard characters?

false

-InstanceId <String>

Specifies the ID of the device job to stop.

Aliases

none

Required?

true

Position

1

Default value

none

Accept pipeline input?

true(ByPropertyName)

Accept wildcard characters?

false

-Profile <AzureProfile>

Specifies an Azure profile.

Aliases

none

Required?

false

Position

named

Default value

none

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type

None

Return Type

DeviceJobDetails

Notes

None

Examples

Example 1: Stop jobs for a device

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.

PS C:\>Get-AzureStorSimpleJob -DeviceName "Device07" | Stop-AzureStorSimpleJob -Force

Example 2: Stop a specific job

This command stops the job that has the specified instance ID.

PS C:\>Stop-AzureStorSimpleJob -InstanceId "574f47e0-44e9-495c-b8a5-0203c57ebf6d" -Force

Get-AzureStorSimpleJob