使用 Azure PowerShell 创建高级存储帐户

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了使用 Azure PowerShell 创建高级存储帐户相关的知识,希望对你有一定的参考价值。

本文介绍如何使用 Azure PowerShell 来创建高级存储帐户以及如何使用它。

在Powershell中运行如下命令

New-AzureStorageAccount -StorageAccountName "hcjpremium" -Location "China East" -Type "Premium_LRS"

技术分享

登录portal可以看到已经创建好的高级存储

技术分享
然后执行如下命令,设置为当前要使用的存储 。

Set-AzureSubscription -SubscriptionName "huangcj 测试"  -CurrentStorageAccountName "hcjpremium"

以上是关于使用 Azure PowerShell 创建高级存储帐户的主要内容,如果未能解决你的问题,请参考以下文章

powershell 使用powershell创建用于测试SQL的Azure VM

使用PowerShell创建Azure Storage的SAS Token访问Azure Blob文件

使用 Azure Devops 任务或 PowerShell 创建/更新 Azure WebApp 的路径映射

Azure 基础:使用 powershell 创建虚拟机

powershell 使用Azure PowerShell 1.0中的证书创建服务主体以进行身份​​验证

powershell 使用静态IP创建Azure VM