Revoke-AppvZeroPortalPackage

Revokes access to a package for AD groups or users.

Syntax

Revoke-AppvZeroPortalPackage -Name <string> [-Version <string>] -PackageID <Guid> [-VersionID <Guid>] -PackageGuid <Guid> -VersionGuid <Guid> -Groups <string[]> -Sid <string> [-Force]

Description

Complements Grant-AppvZeroPortalPackage (no original App-V Server equivalent).

Parameters

-Groups <string[]>

Array of AD group or user names to revoke access from.

-Sid <string>

Pre-resolved SID string. Alternative to -Groups.

-Force <switch>

Suppresses the confirmation prompt.

Examples

Revoke-AppvZeroPortalPackage -Name "Office*" -Groups "CORP\OldGroup"
Revoke-AppvZeroPortalPackage -PackageID '...' -Sid 'S-1-5-21-...'