Remove-WssReport
Removes a health report instance.
PowerShell
Remove-WssReport
[-Id] <Guid>
[<CommonParameters>]
The Remove-WssReport cmdlet removes a single health report instance identified by its ID.
PowerShell
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.
PowerShell
PS C:\>
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 |
Report