How to use New-RMADSchedule cmdlet Powershell (management shell)
This cmdlet can be used by first assigning the schedule to a variable and then using that variable with Set-RMADCollection.
Here is a example:
$xCurrDate = Get-Date
$xCurrShortDate = $xCurrDate.toShortDateString()
$xSch1 = New-RMADSchedule -Daily -StartDate "$xCurrShortDate 9:00" -DaysInterval 1
$xSch2 = New-RMADSchedule -Daily -StartDate "$xCurrShortDate 21:00" -DaysInterval 1
Set-RMADCollection -name "TestCollection" -Schedule $xSch1,$xSch2
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center