Subscribe
Accepted Solution

WFA 4.0 cifs share modify command

Hi All,

 

I am looking for WFA cifs share modify command in WFA 4.0 but i couldn't find. 

 

I want to modify the -vscan-fileop-profile paramter  after creating the CIFS share which i cannot find it in WFA. 

 

Thanks in Advance,

Krishgudd

Re: WFA 4.0 cifs share modify command

 

Krish -

 

It might be time for you to write a new WFA command ...

 


I hope this response has been helpful to you.

 

At your service,

 

Eugene E. Kashpureff, Sr.
Independent NetApp Consultant http://www.linkedin.com/in/eugenekashpureff
Senior NetApp Instructor, FastLane US http://www.fastlaneus.com/
(P.S. I appreciate 'kudos' on any helpful posts.)

 

Re: WFA 4.0 cifs share modify command

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

Re: WFA 4.0 cifs share modify command

This is perfect solution.

 

Thanks