Unmount-VBRObjectStorageRepository
Short Description
Unmounts object storage repositories.
Applies to
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
Unmount-VBRObjectStorageRepository -Repository <VBRObjectStorageRepository> [-Force] [-WhatIf] [-Confirm][<CommonParameters>] |
Detailed Description
This cmdlet unmounts object storage repositories.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
Repository | Specifies an object storage repository. The cmdlet will unmount this repository. | VBRObjectStorageRepository | True | Named | True (ByValue) |
Force | Defines that the cmdlet will unmount an object storage repository and will not show up any warnings or notifications. | SwitchParameter | False | Named | False |
WhatIf | Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action. | SwitchParameter | False | Named | False |
Confirm | Defines that the cmdlet will display a prompt that asks if the user is sure that he wants to continue. | SwitchParameter | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Examples
Unmounting Object Storage Repository
This example shows how to unmount the Amazon OS object storage repository. The cmdlet will skip all notifications and warnings.
$repository = Get-VBRObjectStorageRepository -Name "Amazon OS" Unmount-VBRObjectStorageRepository -Repository $repository -Force |
Perform the following steps:
- Run the Get-VBRObjectStorageRepository cmdlet. Specify the Name parameter value. Save the result to the $repository variable.
- Run the Unmount-VBRObjectStorageRepository cmdlet. Set the $repository variable as the Repository parameter value.
Related Commands