I haven't been able to find one... If you create the collection with the
powershell cmdlet, you can use a combination of New-CMSchedule and
NewCMUserCollection or New-CMDeviceCollection and -RefreshType
-RefreshSchedule.

Here was something I wrote to randomize the refresh times when I created a
large number of collections:

$AddDays = Get-Random -Maximum 7
$AddHours = Get-Random -Maximum 24
$DateTime = (Get-Date).AddDays($AddDays).AddHours($AddHours)
$NewColRefreshSch = New-CMSchedule -RecurInterval Days -RecurCount 7 -Start
$DateTime
New-CMUserCollection -Name $ColName -LimitingCollectionName "All User
Groups" -RefreshType Periodic -RefreshSchedule $NewColRefreshSch

Not sure if that will help or not. There isn't a -RefreshType or
-RefreshSchedule switch on Set-CMUserCollection



On Mon, May 20, 2013 at 2:34 PM, Todd Hemsell <[email protected]> wrote:

> What powershell command updates the refresh schedule on a collection?
>
>


Reply via email to