We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce265fe commit 7ec8788Copy full SHA for 7ec8788
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