Set-WssReportSchedule
Set-WssReportSchedule
Sets the health report schedule.
구문
Parameter Set: EnableDaily
Set-WssReportSchedule -At <DateTimeOffset> -Daily -Enable [ <CommonParameters>]
Parameter Set: Disable
Set-WssReportSchedule -Disable [ <CommonParameters>]
Parameter Set: EnableHourly
Set-WssReportSchedule -Enable -Hourly [ <CommonParameters>]
자세한 설명
The Set-WssReportSchedule cmdlet sets the health report schedule. Schedule the report to run daily, hourly, or never.
매개 변수
-At<DateTimeOffset>
Specifies the time of day to run the daily health report.
별칭 |
없음 |
필수 여부 |
true |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
True (ByValue) |
와일드카드 문자 허용 여부 |
false |
-Daily
Indicates that the schedule runs the health report daily.
별칭 |
없음 |
필수 여부 |
true |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
True (ByValue) |
와일드카드 문자 허용 여부 |
false |
-Disable
Indicates that the automated health report generation is disabled.
별칭 |
없음 |
필수 여부 |
true |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
True (ByValue) |
와일드카드 문자 허용 여부 |
false |
-Enable
Indicates that the automated health report generation is enabled.
별칭 |
없음 |
필수 여부 |
true |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
True (ByValue) |
와일드카드 문자 허용 여부 |
false |
-Hourly
Indicates that the schedule runs the health report hourly.
별칭 |
없음 |
필수 여부 |
true |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
True (ByValue) |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).
입력
입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.
출력
출력 유형은 cmdlet이 내보내는 개체의 유형입니다.
예제
Example 1: Set the report schedule
The first command gets the current time and stores the result in the $Time variable.
The second command sets the report schedule to run daily at the time specified by the $Time variable.
PS C:\> $Time = [System.DateTimeOffset]::Now
PS C:\> Set-WssReportSchedule -Enable -Daily -At $Time