Skip to content

Grant-SmbShareAccess -AccessRight acceptable values are incorrect. #57

@burtonrodman

Description

@burtonrodman

Under PARAMETERS, -AccessRight, the following is incorrect
The acceptable values for this parameter are: Full, Modify, or Read.

Should read:
The acceptable values for this parameter are: Full, Change, or Read.

Using "Modify" results in the following error:
Grant-SmbShareAccess : Cannot process argument transformation on parameter 'AccessRight'. Cannot convert value "Modify" to type "Microsoft.PowerShell.Cmdletization.GeneratedTypes.SmbShare.ShareAccessRight".
Error: "Unable to match the identifier name Modify to a valid enumerator name. Specify one of the following enumerator names and try again:
Full, Change, Read, Custom"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions