Clone the "Create CIFS share" Command and add something like this:
[parameter(Mandatory=$false, HelpMessage="Vscan File-Operations Profile")]
[ValidateSet("no-scan","standard","strict","writes-only")]
[string]$vscanFileopProfile,
and
if ($vscanFileopProfile)
{
$command += " -VscanProfile " + "'" + $vscanFileopProfile + "'"
}
And use the new one...
Cheers