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
Report
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for