Quantcast
Channel: Azure Networking (DNS, Traffic Manager, VPN, VNET) forum
Viewing all articles
Browse latest Browse all 6513

Get-AzureVNetGatewayKey gives partial key in powershell for virtual network

$
0
0

I have setup multiple vpns in azure virtual networks as per the article  http://msdn.microsoft.com/en-us/library/azure/dn690124.aspx 

when i try to exceute command  Get-AzureVNetGatewayKey –VNetName "genpactdallasnw" –LocalNetworkSiteName "GenpactiVPNCinci"

it give output like 

PS C:\> Get-AzureVNetGatewayKey –VNetName "genpactdallasnw" –LocalNetworkSiteName "GenpactiVPNCinci" -OutVariable out
VERBOSE: 4:49:58 PM - Begin Operation: Get-AzureVNetGatewayKey
VERBOSE: 4:50:02 PM - Completed Operation: Get-AzureVNetGatewayKey

Value                         OperationDescription          OperationId                   OperationStatus
-----                         --------------------          -----------                   ---------------
ab0eIRydlBxnSljKRsApCU2JY4... Get-AzureVNetGatewayKey       2c5dd24d-e05e-b74c-bba5-73... Succeeded

As you see the value is truncated ; how can i get the proper value.

Thanks,

Subodh


Viewing all articles
Browse latest Browse all 6513

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>