# View Subscriptions #
Get-azuresubscription
# Select Subscription #
Select-azuresubscriptionc-subscriptionid 7a16c12-44da-4820-2233-61e142181118
# View VNET Configuration #
Get-azurevnetsite
# Test IP whether the address is occupied #
PS c:\> test-azurestaticvnetip-vnetnametempsun-ipaddress 10.0.0.5
More Information : 10:40:53-begin operation:test-azurestaticvnetip
Isavailable:true
Availableaddresses: {}
Operationdescription:test-azurestaticvnetip
Operationid:399d0219-d23f-457e-82f2-5db0b65d34de
operationstatus:succeeded
More Information : 10:40:56-completed operation:test-azurestaticvnetip
# Specify IP Address #
PS c:\> get-azurevm-servicename tempsun-name DC02 | Set-azurestaticvnetip-ipaddress 10.0.0.4 | Update-azurevm
More Information : 10:42:50-completed operation:get Deployment
More Information : 10:42:51-completed operation:get Deployment
More Information : 10:42:51-begin OPERATION:UPDATE-AZUREVM
More Information : 10:43:25-completed OPERATION:UPDATE-AZUREVM
OperationDescription OperationID Operationstatus
-------------------- ----------- ---------------
UPDATE-AZUREVM 524112e5-a502-4328-94c7-ade212e7835esucceeded
This article is from the "Small mu mu xin" blog, please make sure to keep this source http://xiaomumuxin.blog.51cto.com/946323/1692203
Windows Azure Internal IP