We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ce265fe + 7ec8788 commit 35dbbfcCopy full SHA for 35dbbfc
1 file changed
samples/features/sql-data-sync/DataSyncLogPowerShellRunbook.ps1
@@ -205,7 +205,7 @@ foreach ($ResourceGroup in $ResourceGroupName)
205
206
207
208
- Post-OMSData -customerId $customerId -sharedKey $sharedKey -body ([System.Text.Encoding]::UTF8.GetBytes($json)) -logType $logType
+ $result = Post-OMSData -customerId $customerId -sharedKey $sharedKey -body ([System.Text.Encoding]::UTF8.GetBytes($json)) -logType $logType
209
if ($result -eq 200)
210
{
211
Write-Host "Success"
0 commit comments