Being exposed to azure for working reasons is interesting to Azure before, but it's too busy to figure out what to do in your spare time.
Get the azure environment today, rookie first to test a
1. Install Azure PowerShell locally first
PowerShell Components for Azure
http://go.microsoft.com/fwlink/p/?linkid=320376&clcid=0x409
Note: Azure PowerShell requires the. NET Framework 4.5, so if your current PC is a Win7 or older version, install the. NET Framework 4.5
2. Download the Azure public settings file
Get-azurepublishsettingsfile-environment "Azurechinacloud" (Chinese version)
Get-azurepublishsettingsfile-environment "Azurecloud" (International edition)
Chinese version link address to: https://manage.windowsazure.cn/publishsettings/index?client=powershell&schemaversion=1.0
Save the downloaded file to a specific path such as C:\Windows Azure enterprisewilliam.publishsettings
3. Import the configuration file
Import via Command import-azirepublishsettingsfile. Such as:
Import-azurepublishsettingsfile–publishsettingsfile "C:\indows Azure enterprisewilliam.publishsettings"
For specific reference: https://msdn.microsoft.com/en-us/library/dn495124.aspx
4. You can view VM information on Azure after the import is successful
Input command: GET-AZUREVM :
5. Get the current imported subscription information
Get-azuresubscription View all the subscription information that was imported.
6. Select the corresponding subscription information for subsequent configuration operations.
Select-azuresubscription-subscriptionname "Windows Azure Enterprise Trial" (red marked as subscription name)
7. View the Vnet information for your subscription
Get-azurevnetsite
The above basic operations can be linked to the azure environment, in the learning process, referring to some of the resources on the Internet, encountered some previous configuration success, but the command parameters and form changes, you need to refer to the latest SDK documentation.
The next thing you need to do is set up a static IP for the AD domain-controlled VMS that are built on azure.
Use PowerShell to link to azure viewing information