Table of Contents

Clear-PnPTraceLog

SYNOPSIS

Clears the log stream in memory

SYNTAX

Clear-PnPTraceLog [-Verbose]

DESCRIPTION

This clears the in memory stored log stream which was started with the Start-PnPTraceLog -WriteToLogstream cmdlet. It will not clear the log file if one was specified.

EXAMPLES

EXAMPLE 1

Clear-PnPTraceLog

This clears the in memory stored log stream

PARAMETERS

-Verbose

When provided, additional debug statements will be shown while executing the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Microsoft 365 Patterns and Practices