< Back

Get-SsasProcessingMessages

Mon Jan 13, 2020 6:58 pm

NAME Get-SsasProcessingMessages



SYNOPSIS

Examines the XML returned by the Invoke-AsCmd function to find errors. Writes error message if errors are found.





SYNTAX

Get-SsasProcessingMessages [-ASCmdReturnString] <String> [<CommonParameters>]





DESCRIPTION

Examines the XML returned by the Invoke-AsCmd function to find errors. Writes error message if errors are found.





PARAMETERS

-ASCmdReturnString <String>

The XML returned by the Invoke-AsCmd function.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

No return parameters. Writes to error stream only if an error is detected.





NOTES





Written by (c) Dr. John Tunnicliffe, 2019 https://github.com/DrJohnT/DeployCube

This PowerShell script is released under the MIT license http://www.opensource.org/licenses/MIT



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-SsasProcessingMessages -ASCmdReturnString $xmlMessages;



Analyses the messages within the $xmlMessages for errors.











RELATED LINKS

https://github.com/DrJohnT/DeployCube