I'm trying to set a new quota (or re-set existing) and the set-fsrmquota doesn't appear to support the -action param like set-fsrmquotatemplate. All my quotas are custom and do not use a template. My understanding was that if you create a quota of a template and then change the template, the quotas created off that template would change also. Is that a misconception on my part? If so, I may have my workaround by creating a temporary template, create quota based on the template, then delete the template.
If not, can anyone suggest a workaround?
Here's basically what I'm tyring to do: (btw, I use the description field to hold emails of quota contact personnel that are not necessarily the same as who receives the quota notification messages. I also change the default notification email from [Admin] to specific email addresses that are not specified anywhere else )
$action= New-FsrmAction set-fsEmail -mailto $quotanotify -Subject "[Quota Threshold]% quota threshold exceeded." -Body "User [Source Io Owner] has exceeded the [Quota Threshold]% quota threshold for the quota on [Quota Path] on server [Server]. The quota limit is [Quota Limit MB] MB, and [Quota Used MB] MB currently is in use ([Quota Used Percent]% of limit)." $threshold = New-FSRMquotathreshold -percentage 95 Set-FsrmQuota -cimsession $server -path $sharepath -size $quota -Description $quotanotify -threshold $threshold -Action $action