ConvertTo-ProviderAccessControlRights

Converts strings into the appropriate access control rights for a PowerShell provider (e.g. FileSystemRights or RegistryRights).

Syntax

ConvertTo-ProviderAccessControlRights [-ProviderName] <String> [-InputObject] <String[]> [<CommonParameters>]

Description

This is an internal Carbon function, so you're not getting anything more than the synopsis.

Parameters

Name Type Description Required? Pipeline Input Default Value
ProviderName String The provider name. true false
InputObject String[] The values to convert. true true (ByValue)

EXAMPLE 1

ConvertTo-ProviderAccessControlRights -ProviderName 'FileSystem' -InputObject 'Read','Write'

Demonstrates how to convert Read and Write into a System.Security.AccessControl.FileSystemRights value.