1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Azure CLI で Windows 仮想マシンを作成するの備忘録

Posted at

はじめに

Azureドキュメントの「Azure CLIでWindows仮想マシンを作成するをやってみる」で作成しようとしたが、上手くいかなかった箇所を備忘録として残したい。

手順

検索バーの直ぐ右のボタンをクリックし、CLIのウインドウを開き、Azure CloudShellを立ち上げる。
スクリーンショット 2020-12-18 9.52.17.png

下記コマンドでリソースグループを作成

az group create --name myResourceGroup --location eastus

仮想マシンの作成において、ドキュメントではバックスラッシュを使って行の継続を行なっていたが、それだと上手くいかないためバックスラッシュなしでコマンドを入力したら上手く言った。

az vm create --name myVM --resource-group myResourceGroup --image win2016datacenter --admin-username azureuser

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?