Gets a WMI Win32_SecurityDescriptor default security or security limits object for COM Access or Launch and Activation permissions.
Get-ComSecurityDescriptor -Access -Limits [-AsComAccessRule] [<CommonParameters>]
Get-ComSecurityDescriptor -Access -Default [-AsComAccessRule] [<CommonParameters>]
Get-ComSecurityDescriptor -LaunchAndActivation -Limits [-AsComAccessRule] [<CommonParameters>]
Get-ComSecurityDescriptor -LaunchAndActivation -Default [-AsComAccessRule] [<CommonParameters>]
There are four available security descriptors. Default security and security limits for Access Permissions and Launch and Activation Permissions. This method returns a Win32_SecurityDescriptor for the given area and security type.
The AsComAccessRule
parameter will return a Carbon.Security.ComAccessRule
object for each of the access control entries in the security descriptor's ACL.
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
Access | SwitchParameter | Returns a securty descriptor for one of the Access Permissions security types. |
true | false | False |
LaunchAndActivation | SwitchParameter | Returns a security descriptor for one of the Launch and Activation Permissions security types. |
true | false | False |
Default | SwitchParameter | Returns the default security descriptor. |
true | false | False |
Limits | SwitchParameter | Returns the security limits descriptor. |
true | false | False |
AsComAccessRule | SwitchParameter | Returns |
false | false | False |
Get-ComSecurityDescriptor -Access -Default
Gets the default security descriptor for COM Access Permissions.
Get-ComSecurityDescriptor -Access -Limits
Gets the security limits descriptor for COM Access Permissions.
Get-ComSecurityDescriptor -LaunchAndActivation -Default
Gets the default security descriptor for COM Launch and Activation Permissions.
Get-ComSecurityDescriptor -LaunchAndActivation -Limits
Gets the security limits descriptor for COM Launch and Activation Permissions.
Get-ComSecurityDescriptor -Access -Default -AsComAccessRule
Returns a Carbon.Security.ComAccessRule
object for each of the access control entries in the Access Permissions's default security descriptor.