編輯

共用方式為


Get-CIPolicyIdInfo

Displays Code Integrity policy information.

Syntax

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.

Type:String
Aliases:f
Position:0
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Outputs

CIPolicyIdInfo