Disconnect-VBRAzureBlobService
Short Description
Stops active sessions with Microsoft Azure Blob storage.
Applies to
Platform: VMware, Hyper-V
Product Edition: Enterprise, Enterprise Plus
Syntax
Detailed Description
This cmdlet stops active sessions with Microsoft Azure Blob storage.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Connection | Specifies an active session with Microsoft Azure Blob storage. The cmdlet will stop the session with this object storage. Accepts the following types:
| 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 Microsoft Azure Blob storage.
- Run Get-VBRAzureBlobAccount to get the Microsoft Azure Blob credentials record. Save the result to the $account variable.
- Run Connect-VBRAzureBlobService with the $account variable to start a session with Microsoft Azure Blob storage. Save the result to the $session variable.
- Run Disconnect-VBRAmazonS3Service with the $session variable.
$account = Get-VBRAzureBlobAccount -Name "Microsoft Azure Blob" $connect = Connect-VBRAzureBlobService -Account $account Disconnect-VBRAzureBlobService -Connection $session |
Related Commands