Add-vROResourceElementPermission

SYNOPSIS

Add a Permission to a vRO Resource Element

SYNTAX

Add-vROResourceElementPermission [-Id] <String[]> [-Principal] <String> [-Rights] <String[]> [-WhatIf]
 [-Confirm]

DESCRIPTION

Add a Permission to a vRO Resource Element

EXAMPLES

-------------------------- EXAMPLE 1 --------------------------

Add-vROResourceElementPermission -Id '3f92d2dc-a9fa-4323-900b-ef97196184ea' -Principal vRO_Users@vrademo.local -Rights 'View','Execute','Inspect'

PARAMETERS

-Id

Resource Element Id

Type: String[]
Parameter Sets: (All)
Aliases: 

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-Principal

Specify the Permission Principal. Needs to be in the format user@domain or domain\user

Type: String
Parameter Sets: (All)
Aliases: 

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Rights

Specify the Permission Rights

Type: String[]
Parameter Sets: (All)
Aliases: 

Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

INPUTS

System.String

OUTPUTS

System.Management.Automation.PSObject.

NOTES