2013-11-05 10:45 PM
You could use my attached one. It's basically a pass through of the powershell. Note powershell is quite finicky about which parameters are passed and only certain combinations work (see get-help set-cmquota).
You can also pass in "EnableVolume" to enable quota's on the volume as well.
Hope that's useful!