Stop-WBJob
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.
Optional Parameters
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Forces the command to run without asking for user confirmation.
Type: | SwitchParameter |
Position: | 0 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
System.String