How To Copy Files Into A Microsoft Azure Storage Account Using PowerShell

Опубликовано: 30 Сентябрь 2024
на канале: TechSnips by ATA Learning
10,176
59

Train thousands of people, up your skills and get that next awesome job by joining TechSnips and becoming an IT rockstar! https://techsnips.io/join-us

At some point on your cloud journey with Azure, you will find that you need to transfer files that you have locally. Whether it's configuration files, company branding, virtual disks, or even PowerShell scripts that you want to use in Azure Cloud Shell, you'll need to get them up to Azure before you can make use of them.

In this snip, Josh will demonstrate using the Azure Resource Manager (AzureRM) PowerShell Module to authenticate against an Azure subscription (Connect-AzureRmAccount), identify the correct storage account (Get-AzureRmStorageAccount), and then transfer a collection of .ps1 and .txt files to Azure Blog Storage (Set-AzureStorageBlobContent).

Prerequisites include:
An Azure account
Azure Storage Account resource already created

Head over to adamtheautomator.com now for hundreds of in-depth, informative how-to articles just like this!