Skip to content

Get-CIPolicySetting available parameters

How To Set And Query Secure Settings in App Control Policies

Syntax

Get-CIPolicySetting
    [-Provider] <String>
    [-Key] <String>
    [-ValueName] <String>
    [<CommonParameters>]

Description

Gets the secure settings value from the deployed CI policies. If there is a policy with the same provider, key and value then it returns the following details:

Property Description
Value The actual value of the string
ValueType The type of setting: WldpString, WldpInteger or WldpBoolean
ValueSize the size of the returned value
Status True/False depending on whether the setting exists on the system or not
StatusCode 0 if the value exists on the system, non-zero if it doesn't.

Parameters

-Provider

The provider of the secure setting.

Type: String
Position: Named
Default value: None
Required: True
Accept pipeline input: False
Accept wildcard characters: False


-Key

The key of the secure setting.

Type: String
Position: Named
Default value: None
Required: True
Accept pipeline input: False
Accept wildcard characters: False


-ValueName

The name of the secure setting.

Type: String
Position: Named
Default value: None
Required: True
Accept pipeline input: False
Accept wildcard characters: False