Skip to content

Commit

Permalink
Update Set-AzStorageFileContent.md (#17805)
Browse files Browse the repository at this point in the history
It is a Set. Not a Get
  • Loading branch information
jeremytanyz committed Apr 18, 2022
1 parent 46558c7 commit 76a8459
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ For more information about script blocks, type `Get-Help about_Script_Blocks`.

### Example 3: Upload a local file to an Azure file, and perserve the local File SMB properties (File Attributtes, File Creation Time, File Last Write Time) in the Azure file.
```
PS C:\>Get-AzStorageFileContent -source $localFilePath -ShareName sample -Path "dir1/file1" -PreserveSMBAttribute
PS C:\>Set-AzStorageFileContent -source $localFilePath -ShareName sample -Path "dir1/file1" -PreserveSMBAttribute
```

This example uploads a local file to an Azure file, and perserves the local File SMB properties (File Attributtes, File Creation Time, File Last Write Time) in the Azure file.
Expand Down

0 comments on commit 76a8459

Please sign in to comment.