Get-VBOAzureLocation
Short Description
Returns a Microsoft Entra region.
Syntax
|
Get-VBOAzureLocation -Subscription <VBOAzureSubscription> [-Name <String>] [<CommonParameters>] |
Detailed Description
This cmdlet returns the VBOAzureLocation object.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Name |
Specifies a Microsoft Entra region name. The cmdlet will return a Microsoft Entra region with this name. |
|
False |
Named |
False |
|
Subscription |
Specifies a subscription associated with a user account that will be used to access Azure Blob Storage.
Accepts the
To get this object, run the |
True |
Named |
True (ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Output Object
The cmdlet returns the VBOAzureLocation object.
Examples
Getting Azure Location
This example shows how to get the Microsoft Entra region.
|
$azureacc = Get-VBOAzureServiceAccount -Id f8e5ac3d-d883-4dd8-8de3-a8f315fb6ae2 $subscription = Get-VBOAzureSubscription -ServiceAccount $azureacc -Id "06b7354e-518f-4a10-b4c1-98f49d743012" Get-VBOAzureLocation -Subscription $subscription -Name westeurope |
Perform the following steps:
- Run the
Get-VBOAzureServiceAccountReturns Microsoft Azure service account details. cmdlet. Specify theIdparameter value. Save the result to the$azureaccvariable. - Run the
Get-VBOAzureSubscriptionReturns Microsoft Azure subscriptions associated with a user account that will be used to access Azure Blob Storage. cmdlet. Set the$azureaccvariable as theServiceAccountparameter value. Specify theIdparameter value. Save the result to the$subscriptionvariable. - Run the
Get-VBOAzureLocationcmdlet. Specify the$subscriptionvariable as theSubscriptionparameter value. Specify theNameparameter value.
Related Commands
Get-VBOAzureSubscriptionReturns Microsoft Azure subscriptions associated with a user account that will be used to access Azure Blob Storage.Get-VBOAzureServiceAccountReturns Microsoft Azure service account details.