kosnkov
kosnkov

Reputation: 5911

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.

Upvotes: 0

Views: 522

Answers (1)

Ivan Glasenberg
Ivan Glasenberg

Reputation: 29940

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

Here is the test at my side:

enter image description here

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

Upvotes: 1

Related Questions