Get-PnPException
SYNOPSIS
Returns the last exception that occurred
SYNTAX
Get-PnPException [-All]
DESCRIPTION
Returns the last exception which can be used while debugging PnP Cmdlets
EXAMPLES
EXAMPLE 1
Get-PnPException
Returns the last exception
EXAMPLE 2
Get-PnPException -All
Returns all exceptions that occurred
PARAMETERS
-All
Show all exceptions
Type: SwitchParameter
Parameter Sets: (All)
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False