Removes MBS backup agent from a local machine.



Cmdlet silently removes MBS backup agent on a local machine.


Example 1: Remove the MBS backup agent.

This example removes backup agent from the machine.

PS C\:> 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: Force to reinstall the MBS backup agent.

This example silently removes the agent with our confirmation.

PS C:\> Remove-MBSAgent -Force          

The backup agent has been uninstalled.



Force to uninstall MBS agent. Confirmation message will be skipped.

Type SwitchParameter
Required: true
Position named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False


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