Dela via


Resolve-PowerBIError

Shows detailed error information produced from MicrosoftPowerBIMgmt.* cmdlets.

Syntax

AnyError (Standard)

Resolve-PowerBIError
    [-Error <ErrorRecord[]>]
    [<CommonParameters>]

LastError

Resolve-PowerBIError
    [-Last]
    [<CommonParameters>]

Description

Outputs additional information for any errors produced from MicrosoftPowerBIMgmt.* cmdlets.

Exempel

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.

Parametrar

-Error

List of errors to display. For example, $Error[0..2] will show the last three errors.

Parameteregenskaper

Typ:

ErrorRecord[]

Standardvärde:None
Stöder jokertecken:False
DontShow:False

Parameteruppsättningar

AnyError
Position:Named
Obligatorisk:False
Värde från pipeline:True
Värde från pipeline efter egenskapsnamn:False
Värde från återstående argument:False

-Last

Indicates to show the last error occurring in the PowerShell session.

Parameteregenskaper

Typ:SwitchParameter
Standardvärde:None
Stöder jokertecken:False
DontShow:False

Parameteruppsättningar

LastError
Position:Named
Obligatorisk:True
Värde från pipeline:False
Värde från pipeline efter egenskapsnamn:False
Värde från återstående argument: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.

Indata

System.Management.Automation.ErrorRecord

Utdata

System.Object