How can one create a Virtual Machine in Powershell?
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 |
Can we read/write/delete as we do in normal data operations in the case of append blob?
Your organization mandates that the custom domain name used in azure ad and on-premises should be the same, what will you configure on the on-premises domain controller to facilitate the same?
What are the different types of storage tiers in azure?
Why should you use azure cdn?
Explain guest os in microsoft azure?
What is azure explorer?
What are special Azure Regions?
If user has forget the password of the vm local account how we can change?
What is meant by the unconnected lookups?
How much storage can I use with a virtual machine?
Define the Web Function in Azure Cloud Service?
What is Windows Azure Scheduler?