Send-WssReport

Send-WssReport

Sends out a health report instance.

Syntax

Parameter Set: Default
Send-WssReport [-Id] <Guid> [ <CommonParameters>]

Detailed Description

The Send-WssReport cmdlet sends out a health report instance through email by using the ID of the report.

Parameters

-Id<Guid>

Specifies the GUID of a health report instance.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • System.Guid

    Report Guid

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Send a health report

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 sends an instance of a health report by using the ID of the first instance in the $Reports variable.

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

Get-WssReport

New-WssReport

Remove-WssReport