Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@aarongustafson
Created September 20, 2016 20:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aarongustafson/f2e32a4a10833b6d31c96d40f6ca9767 to your computer and use it in GitHub Desktop.
Save aarongustafson/f2e32a4a10833b6d31c96d40f6ca9767 to your computer and use it in GitHub Desktop.
$Table = Get-AzureStorageTable -Name $tableName -Context $Context
$entity = New-Object -TypeName Microsoft.WindowsAzure.Storage.Table.DynamicTableEntity -ArgumentList $partitionKey, $rowKey
$entity.Properties.Add("status", $status)
$Table.CloudTable.Execute([Microsoft.WindowsAzure.Storage.Table.TableOperation]::InsertOrMerge(($entity)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment