Remove-VIPermission Command | Vmware PowerCLI Reference

Remove-VIPermission

This cmdlet removes the specified permissions.

Syntax

Remove-VIPermission
-Permission < Permission[] >
[-ProgressAction < ActionPreference > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Permission Permission[] named
  • pipeline
Specifies the permissions you want to remove.
optional ProgressAction ActionPreference named

Output

Examples

Example 1

Remove-VIPermission -Permission $permission -Confirm:$false

Removes the $permission permission without asking for confirmation.

Related Commands

VIPermission

This cmdlet retrieves the permissions defined on the specified inventory objects.

This cmdlet creates new permissions on the specified inventory objects for the provided users and groups in the role.

This cmdlet removes the specified permissions.

This cmdlet modifies the properties of the specified permissions.