Resolve-PowerBIError
Shows detailed error information produced from MicrosoftPowerBIMgmt.* cmdlets.
Syntax
AnyError (Default)
Resolve-PowerBIError
[-Error <ErrorRecord[]>]
[<CommonParameters>]
LastError
Resolve-PowerBIError
[-Last]
[<CommonParameters>]
Description
Outputs additional information for any errors produced from MicrosoftPowerBIMgmt.* cmdlets.
Examples
Example 1
PS C:\> Resolve-PowerBIError
Displays all errors occurring in the PowerShell session.
Example 2
PS C:\> Resolve-PowerBIError -Last
Displays the last error occurring in the PowerShell session.
Parameters
-Error
List of errors to display. For example, $Error[0..2] will show the last three errors.
Parameter properties
Type: | ErrorRecord[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
AnyError
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Last
Indicates to show the last error occurring in the PowerShell session.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
LastError
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.