title | description | services | documentationcenter | author | manager | tags | ms.assetid | ms.service | ms.workload | ms.tgt_pltfrm | ms.devlang | ms.topic | ms.date | ms.author |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Persist files in PowerShell in Azure Cloud Shell (Preview) | Microsoft Docs |
Walkthrough of how Azure Cloud Shell persists files. |
azure |
maertendmsft |
timlt |
azure-resource-manager |
azure |
infrastructure-services |
vm-linux |
na |
article |
07/17/2017 |
damaerte |
[!include features-introblock]
PowerShell in Cloud Shell (Preview) persists files through the following method:
- Mounting your specified file share as
clouddrive
in your$Home
directory for direct file-share interaction.
The Get-CloudDrive
command retrieves the file share information currently mounted by the Cloud Drive in the Cloud Shell.
You can unmount a file share that's mounted to Cloud Shell at any time. If the file share has been removed, you will be prompted to create and mount a new file share at the next session.
The Dismount-CloudDrive
command unmounts a file share from the current storage account. Dismounting the Cloud Drive terminates the current session. The user will be prompted to create and mount a new file share during the next session.
[!include features-endblock]
Quickstart for PowerShell
Learn about Azure File storage
Learn about storage tags