We are looking to the easiest way to allow our operations team to manage CIFS shares in a vfiler. The basic tasks would be:
Create/modify/destroy quota, re-init quotas after changes
Create/rename/destroy share share
Unfortunately System Manager doesn't support vfiler for these tasks, so although we can use native windows MMC for share management the qtree and quota tasks have no native GUI. I checked the available PowerShell cmdlets and they seem to include enough for the tasks above so that might be the easiest route if developing from scratch.
Does anyone have any sample scripts they (or the operations team) uses to provision new CIFS storage requests?
P.S. Provisioning Manager is out of scope; so although it might be able to do some of the above we're not interested in using it in the flow.
Ok So I know this has been opened a long time ago but I have a solution I have created this script to work in powershell and it creates the qtree in a volume ands the quota and ntfs permissions and then will add an email owner for you in dfm. I am not a powershell or script guru by no means but it gets the job done. If anyone has any suggested improvements please share.