equelin / Unity-Powershell

PowerShell module for managing EMC Unity arrays

Home Page:https://www.powershellgallery.com/packages/Unity-Powershell/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New-UnityNFSShare & Set-UnityNFSShare unable to disable Allow SUID

JSC-EADC opened this issue · comments

Please makes sure these boxes are checked before submitting your issue (put an X between the brackets).

  • Check that your Powershell version > 5.0 (Bonus point if you are using the latest version available)
  • Check that you follow the instructions for installing the module

Also, please provide:

  • Any instructions that may help to reproduce the problem
    Unity Platform: Unity XT 480
    Unity Software Version: 5.0.1.0.5.011

New-UnityNFSShare & Set-UnityNFSShare do not allow you to disable the Allow SUID option under NFS General Properties. Would like to see this option added in a future update. Under the Rest API this is accomplished by passing exportOption 3.

  • Informations about your host $PSVerionTable
    Name Value

PSVersion 5.1.17763.771
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17763.771
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

  • The list of the loaded modules Get-Module
    ModuleType Version Name

Script 1.0.0.0 ISE
Manifest 3.1.0.0 Microsoft.PowerShell.Management
Manifest 3.0.0.0 Microsoft.PowerShell.Security
Manifest 3.1.0.0 Microsoft.PowerShell.Utility
Binary 1.0.0.1 PackageManagement
Script 1.0.0.1 PowerShellGet
Script 0.16.2 Unity-Powershell

Error when trying to set exportOption:

Set-UnityNFSShare : A parameter cannot be found that matches parameter name 'exportOption'.
At line:1 char:56

  • ... tyNFSShare -ID $nfsID.ID -description "Test123" -exportOption "2" -ap ...
  •                                                 ~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidArgument: (:) [Set-UnityNFSShare], ParameterBindingException
    • FullyQualifiedErrorId : NamedParameterNotFound,Set-UnityNFSShare