< Back

Get-CServiceSecurityDescriptor

Sun Jan 12, 2020 9:58 pm

NAME Get-CServiceSecurityDescriptor



SYNOPSIS

Gets the raw security descriptor for a service.





SYNTAX

Get-CServiceSecurityDescriptor [-Name] <String> [<CommonParameters>]





DESCRIPTION

You probably don't want to mess with the raw security descriptor. Try `Get-CServicePermission` instead. Much

more useful.





PARAMETERS

-Name <String>

The name of the service whose permissions to return.



Required? true

Position? 1

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

System.Security.AccessControl.RawSecurityDescriptor.





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



PS C:\\>Get-CServiceSecurityDescriptor -Name 'Hyperdrive'



Gets the hyperdrive service's raw security descriptor.











RELATED LINKS

Get-CServicePermission

Grant-ServicePermissions

Revoke-ServicePermissions