Answer Posted / wipro123
VM creation using Powershell:
1) create resource:
New-AzResourceGroup -Name myResourceGroup -Location EastUS
2) create to VM:
New-AzVm `
-ResourceGroupName "myResourceGroup" `
-Name "myVM" `
-Location "East US" `
-VirtualNetworkName "myVnet" `
-SubnetName "mySubnet" `
-SecurityGroupName "myNetworkSecurityGroup" `
-PublicIpAddressName "myPublicIpAddress" `
-OpenPorts 80,3389
3) connect to VM:
Get-AzPublicIpAddress -ResourceGroupName "myResourceGroup" | Select "IpAddress"
4)find out the Public IP:
mstsc /v:publicIpAddress
5) Install IIS:
Install-WindowsFeature -name Web-Server -IncludeManagementTools
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are virtual machine scale sets in Azure?
Explain command task in microsoft azure?
What are the important drawbacks of using microsoft azure?
Explain the Window Azure platform?
Explain what is federation in sql azure?
What is documentdb?
List the benefits of traffic manager?
What is traffic manager and how to configure it ?
Why was my client disconnected from the cache?
What is windows azure traffic manager? What are its benefits?
What is azure mobile engagement?
Why do we use Azure Active Directory?
Define the Azure Redis Cache?
what are the three types of roles in compute component in windows azure?
What are break-fix issues in microsoft azure?