Remove-WssReport

Removes a health report instance.

Syntax

Remove-WssReport
      [-Id] <Guid>
      [<CommonParameters>]

Description

The Remove-WssReport cmdlet removes a single health report instance identified by its ID.

Examples

Example 1: Remove an instance of a health report

PS C:\> $Reports = Get-WssReport
PS C:\> Remove-WssReport $Reports[0].Id

The first command uses the Get-WssReport cmdlet to get all instances of reports, and saves the results in the $Reports variable.

The second command removes an instance of a health report by using the ID of the first instance in the $Reports variable.

1:

PS C:\>

Parameters

-Id

Specifies the ID of a health report instance. The cmdlet removes the health report instance that you specify.

Type:Guid
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

Guid

Report