I am not an expert, so I was thinking to do someting like that
$Quotas = @( "New-FsrmQuota -Path "D:\Vol01\folder1" -Size2GB -Template "QMPA" , "New-FsrmQuota -Path "D:\Vol02\folder2" -Size2GB -Template "QMPA" , "New-FsrmQuota -Path "D:\Vol03\folder3" -Size3GB -Template "QMPA" , "New-FsrmQuota -Path "D:\Vol03\folder4" -Size1GB -Template "QMPA" )
foreach($Quota in $Quotas){
New-FsrmQuota = $Quota
}
but I don't know how to add a check to verify what are the unexecuted quotas, (the type of error and the corresponding folder not setup)