Get-CIPolicyIdInfo
Displays Code Integrity policy information.
Syntax
Default (Default)
Get-CIPolicyIdInfo
[-FilePath] <String>
[<CommonParameters>]
Description
The Get-CIPolicyIdInfo cmdlet displays Code Integrity policy information. Specify the .xml file of the policy to modify.
This cmdlet returns human readable content. It is not intended for use with other cmdlets.
Examples
Example 1: Display Code Integrity policy information
PS C:\> Get-CIPolicyIdInfo -FilePath ".\Policy03.xml"
Provider : ConfigCIPolicy
Key : PolicyInfo
ValueName : Name
ValueType : String
Value : CIPolicy03
Provider : ConfigCIPolicy
Key : PolicyInfo
ValueName : PolicyId
ValueType : String
Value : CIP077
This command displays the Code Integrity policy information for the policy in the stored in the Policy03.xml file. This policy has values for both name and ID.
Parameters
-FilePath
Specifies the path of a Code Integrity policy .xml file.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | f |
Parameter sets
(All)
Position: | 0 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.