
Disconnect-VBRAzureBlobService
Short Description
Stops active sessions with Azure Blob storage.
Applies to
Platform: VMware, Hyper-V
Product Edition: Enterprise, Enterprise Plus
Syntax
Disconnect-VBRAzureBlobService -Connection <VBRAzureBlobConnection> [<CommonParameters>] |
Detailed Description
This cmdlet stops active sessions with Azure Blob storage.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Connection | Specifies an active session with Azure Blob storage. The cmdlet will stop the session with this object storage. Accept the VBRAzureBlobConnection type. | True | Named | True (ByValue) |
|
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Return Type
Example
This example shows how to stop an active session with Azure Blob storage.
- Run Get-VBRAzureBlobAccount to get the Azure Blob credentials record. Save the result to the $account variable.
- Run Connect-VBRAzureBlobService with the $account variable to start a session with Azure Blob storage. Save the result to the $session variable.
- Run Disconnect-VBRAmazonS3Service with the $session variable.
$account = Get-VBRAzureBlobAccount -Name "Azure Blob" $connect = Connect-VBRAzureBlobService -Account $account Disconnect-VBRAzureBlobService -Connection $session |
Related Commands