Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. $AzureCred = Get-AutomationPSCredential -Name "ks"
  2. Add-AzureRmAccount -Credential $AzureCred | Out-Null
  3. Invoke-ProcessTable -Credential $AzureCred -DatabaseName DBNAME -RefreshType
  4. "Full" -Server SERVERNAME -TableName TABLENAME
  5.  
  6. Invoke-ProcessTable : Exception has been thrown by the target of an invocation.
  7. At line:25 char:1
  8. + Invoke-ProcessTable -Credential $AzureCred -DatabaseName DBNAME -R ...
  9. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  10. + CategoryInfo : NotSpecified: (:) [Invoke-ProcessTable], TargetInvocationException
  11. + FullyQualifiedErrorId :
  12. System.Reflection.TargetInvocationException,Microsoft.AnalysisServices.PowerShell.Cmdlets.ProcessTable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement