< Back
Stop-AzureStorSimpleJob
Post
NAME Stop-AzureStorSimpleJob
SYNOPSIS
Stops a StorSimple job.
SYNTAX
Stop-AzureStorSimpleJob [-InstanceId] <String> [[-Force]] [-Profile <AzureProfile>] [<CommonParameters>]
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.
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.
Required? true
Position? 1
Default value none
Accept pipeline input? true(ByPropertyName)
Accept wildcard characters? false
-Profile [<AzureProfile>]
Specifies an Azure profile.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
OUTPUTS
DeviceJobDetails
This cmdlet gets details of the DeviceJob that this cmdlet stops.
NOTES
Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple
Example 1: Stop jobs for a device
PS C:\\>Get-AzureStorSimpleJob -DeviceName "Device07" | Stop-AzureStorSimpleJob -Force
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.
Example 2: Stop a specific job
PS C:\\>Stop-AzureStorSimpleJob -InstanceId "574f47e0-44e9-495c-b8a5-0203c57ebf6d" -Force
This command stops the job that has the specified instance ID.
RELATED LINKS
Get-AzureStorSimpleJob
SYNOPSIS
Stops a StorSimple job.
SYNTAX
Stop-AzureStorSimpleJob [-InstanceId] <String> [[-Force]] [-Profile <AzureProfile>] [<CommonParameters>]
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.
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.
Required? true
Position? 1
Default value none
Accept pipeline input? true(ByPropertyName)
Accept wildcard characters? false
-Profile [<AzureProfile>]
Specifies an Azure profile.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
OUTPUTS
DeviceJobDetails
This cmdlet gets details of the DeviceJob that this cmdlet stops.
NOTES
Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple
Example 1: Stop jobs for a device
PS C:\\>Get-AzureStorSimpleJob -DeviceName "Device07" | Stop-AzureStorSimpleJob -Force
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.
Example 2: Stop a specific job
PS C:\\>Stop-AzureStorSimpleJob -InstanceId "574f47e0-44e9-495c-b8a5-0203c57ebf6d" -Force
This command stops the job that has the specified instance ID.
RELATED LINKS
Get-AzureStorSimpleJob