Converts strings into the appropriate access control rights for a PowerShell provider (e.g. FileSystemRights or RegistryRights).
ConvertTo-ProviderAccessControlRights [-ProviderName] <String> [-InputObject] <String[]> [<CommonParameters>]
This is an internal Carbon function, so you're not getting anything more than the synopsis.
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
ProviderName | String | The provider name. | true | false | |
InputObject | String[] | The values to convert. | true | true (ByValue) |
ConvertTo-ProviderAccessControlRights -ProviderName 'FileSystem' -InputObject 'Read','Write'
Demonstrates how to convert Read
and Write
into a System.Security.AccessControl.FileSystemRights
value.