< Back

Resolve-PartnerError

Sat Jan 18, 2020 6:36 pm

NAME Resolve-PartnerError



SYNOPSIS

Display detailed information about PowerShell errors, with extended details for Partner Center PowerShell errors.





SYNTAX

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



Resolve-PartnerError -Last [<CommonParameters>]





DESCRIPTION

Resolves and displays detailed information about errors in the current PowerShell session, including where the

error occurred in script, stack trace, and all inner and aggregate exceptions. For Partner Center PowerShell

errors provides additional detail in debugging service issues, including complete detail about the request and

server response that caused the error.





PARAMETERS

-Error <ErrorRecord[]>

The error records to resolve



Required? false

Position? 0

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-Last [<SwitchParameter>]

The last error



Required? true

Position? named

Default value False

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

System.Management.Automation.ErrorRecord[]







OUTPUTS

Microsoft.Store.PartnerCenter.PowerShell.Models.Errors.PartnerErrorRecord





Microsoft.Store.PartnerCenter.PowerShell.Models.Errors.PartnerExceptionRecord





Microsoft.Store.PartnerCenter.PowerShell.Models.Errors.PartnerRestExceptionRecord







NOTES









-------------- Example 1: Resolve the last error --------------



PS C:\\> Resolve-PartnerError -Last



Get the details of the last error.





--------- Example 2: Resolve all errors in the session ---------



PS C:\\> Resolve-PartnerError



Get details of all errors that have occurred in the current session.





------------- Example 3: Resolve a specific error -------------



PS C:\\> Resolve-PartnerError $Error[0]



Get the details of the specified error.







RELATED LINKS

Online Version: https://docs.microsoft.com/powershell/m ... rtnerError