Send-WssReport
Send-WssReport
Sends out a health report instance.
構文
Parameter Set: Default
Send-WssReport [-Id] <Guid> [ <CommonParameters>]
詳細説明
The Send-WssReport cmdlet sends out a health report instance through email by using the ID of the report.
パラメーター
-Id<Guid>
Specifies the GUID of a health report instance.
エイリアス |
なし |
必須? |
true |
位置は? |
1 |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
System.Guid
Report Guid
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
例
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:\>