我在azure资源管理器门户中创建了一个VM,并启用了VM中的Winrm端口。除会话选项之外如何为VM启用远程访问。请让我知道有没有解决方案。
答案 0 :(得分:0)
You can do this with powershell:
div class="col-md-offset-4 col-md-16"
|
- if @campaign.errors.any?
ul
- @campaign.errors.full_messages.each do |e|
li |e
= form_for @campaign do |f|
div.form-group
= f.label :name, class: "control-label"
= f.text_field :name, class: "form-control"
div.form-group
= f.label :ad_link, class: "control-label"
= f.text_field :link, class: "form-control"
div.form-group
= f.label :image, class: "control-label"
= f.file_field :campaign_image, class: "file"
div.form-group
= f.submit "Create campaign"
OR
Set-AzureRmVMExtension -ResourceGroupName "myRG" -VMName "myVM" -Name "myVMAccessExtension" -ExtensionType "VMAccessAgent" -Publisher "Microsoft.Compute" -typeHandlerVersion "2.0" -Location Westus
Or in the portal.azure.com.