< Back

Revoke-CServicePermission

Sun Jan 12, 2020 11:06 pm

NAME Revoke-CServicePermission



SYNOPSIS

Removes all permissions an identity has to manage a service.





SYNTAX

Revoke-CServicePermission [-Name] <String> [-Identity] <String> [<CommonParameters>]





DESCRIPTION

No permissions are left behind. This is an all or nothing operation, baby!





PARAMETERS

-Name <String>

The service.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Identity <String>

The identity whose permissions are being revoked.



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



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



PS C:\\>Revoke-CServicePermission -Name 'Hyperdrive` -Identity 'CLOUDCITY\\LCalrissian'



Removes all of Lando's permissions to control the `Hyperdrive` service.











RELATED LINKS

Get-CServicePermission

Grant-CServicePermission