Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 1.93 KB

persisting-shell-storage-powershell.md

File metadata and controls

40 lines (33 loc) · 1.93 KB
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]

How PowerShell in Azure Cloud Shell (Preview) works

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.

List Cloud Drive file shares

The Get-CloudDrive command retrieves the file share information currently mounted by the Cloud Drive in the Cloud Shell.
Running Get-CloudDrive

Unmount Cloud Drive

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. Running Dismount-CloudDrive

[!include features-endblock]

Next steps

Quickstart for PowerShell
Learn about Azure File storage
Learn about storage tags