Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Stop-WBJob

Brian Lich|Last Updated: 4/3/2017

SYNOPSIS

Stops the current backup or recovery job.

SYNTAX

Stop-WBJob [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

The Stop-WBJob cmdlet stops the backup or recovery job that is currently running.

EXAMPLES

Example 1: Stop the current backup job

PS C:\> Stop-WBJob

This command stops the currently running backup or recovery job.

PARAMETERS

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-Force

Forces the command to run without asking for user confirmation.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

System.String

NOTES

Get-WBJob

© 2017 Microsoft