简体   繁体   中英

Get azure storage table field type

I am retriving coudTable like this

$cloudTable = (Get-AzStorageTable –Name devAuctioneersCustomers –Context $ctx).CloudTable

and rows

$Rows = Get-AzTableRow -table $cloudTable

and I have all data, but how to get edm type of every field? I need this since I want to copy that table and there are not any tools in azure for this.

You can just simply use .GetType() method on each column.

Here is the test at my side:

在此处输入图像描述

And if you want to copy table to another table, you can use AzCopy version 7.3 . See the Note in this section .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM