Active IQ Unified Manager Discussions

WFA 4.0 cifs share modify command

krishgudd
5,163 Views

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

1 ACCEPTED SOLUTION

SYNTAXERROR
5,087 Views

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

View solution in original post

3 REPLIES 3

ekashpureff
5,142 Views

 

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.)

 

SYNTAXERROR
5,088 Views

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

krishgudd
5,057 Views

This is perfect solution.

 

Thanks

Public