Remove-MBSAgent
Removes MBS backup agent from a local machine.
Remove-MBSAgent
[-RemoveSettings]
[-Force]
[<CommonParameters>]
Description
Cmdlet silently removes MBS backup agent on a local machine.
Examples
Example 1:
C:\PS> Remove-MBSAgent
Are you sure you want to perform this action?
Performing the operation "Remove-MBSAgent" on target "the backup agent"
[Y] Yes [N] No (default is "N"):Y
The backup agent has been uninstalled.
Example 2:
PS C:> Remove-MBSAgent -Force
The backup agent has been uninstalled.
Example 3: Uninstall the agent and remove the settings.
PS C:> Remove-MBSAgent -RemoveSettings -Force
Parameters
-RemoveSettings
Type | SwitchParameter |
Required: | false |
Position: | named |
Default value: | False |
Accept pipeline input: | false |
Accept wildcard characters: | false |
-Force
Type | SwitchParameter |
Required: | false |
Position: | named |
Default value: | False |
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.
Inputs
None
Outputs
String
Notes
Author: Alex Volkov