创建一个VPN Azure



当我输入此代码行中的各个信息时,存在问题。我的目的是创建VPN

$rgName = "<your new resource group name >"
$locName = "<the location of your new resource group>"
$saName = "<storage account name>"
New-AzureRMStorageAccount -Name $saName -ResourceGroupName $rgName -Type
Standard_LRS -lOCATION $locName 

new-azurermstorageaccount:缺少参数的参数 " Skuname"。指定类型" System.String"的参数,然后重试。 在线:4 char:68 ... -azurermstorageaccount -Name $ saname -ResourceGroupName $ rgname -type ~~~~~ categoryInfo:无效:(:) [new-azurermstorageaccount],parameterBindingException 完全qualifiedErrid:sissofargument,microsoft.azure.commands.management.storage.storage.newazurestorageaccountcountcommand

standard_lrs:术语" standard_lrs'不被认为是名称 cmdlet,函数,脚本文件或可操作程序。检查 名称的拼写,或者包括路径,请验证该路径是否 是正确的,然后重试。在线:5 char:1 standard_lrs -location $ locName ~~~~~~~~~~~~ categoryInfo:objectNotFound :( standard_lrs:string)[],commandnotfoundexception 完全QualifiedErrid:CommandnotFoundException

根据错误消息,请尝试使用此命令",例如

PS C:>New-AzureRmStorageAccount -ResourceGroupName "MyResourceGroup" -AccountName "MyStorageAccount" -Location "US West" -Type "Standard_GRS"

更多信息请参阅链接。

相关内容

最新更新