New-ScheduledTaskTrigger - by DKYang

Status : 

  Not Reproducible<br /><br />
		The product team could not reproduce this item with the description and steps provided.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 788546 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 5/23/2013 11:13:33 PM
Access Restriction Public


i try to regist a new ClusteredScheduledTask on windows server 2012 with power shell. but the task can't set the RepetitionInterval and RepetitionDuration properly.

$T = New-ScheduledTaskTrigger -Once -At 08:10AM -RepetitionInterval (New-TimeSpan -Hours 1) -RepetitionDuration (New-TimeSpan -Hours 12)

Task Scheduler ui can see Triggers only execute once on 08:10 but no RepetitionInterval and RepetitionDuration.

can you tell me what went wrong? thanks.
Sign in to post a comment.
Posted by DKYang on 5/30/2013 at 3:12 AM
nerver mind, i reinstall os, it works again!