ConvertFrom-CIPolicy
Converts an .xml file that contains a Code Integrity policy into binary format.
Syntax
ConvertFrom-CIPolicy
[-XmlFilePath] <String>
[-BinaryFilePath] <String>
[<CommonParameters>]
Description
The ConvertFrom-CIPolicy cmdlet converts an .xml file that contains a Code Integrity policy into binary format. You can install the binary version of a policy on a computer.
Examples
Example 1: Converts a policy
PS C:\> ConvertFrom-CIPolicy -XmlFilePath ".\Policy03.xml" -BinaryFilePath "Policy03.bin"
C:\Policies\Policy03.bin
This command converts the policy in Policy03.xml into a binary named Policy03.bin. The console displays the full path of the binary file.
Parameters
-BinaryFilePath
Specifies the path for the output converted policy binary file.
Type: | String |
Aliases: | bin |
Position: | 2 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-XmlFilePath
Specifies the path of the .xml policy file that this cmdlet converts.
Type: | String |
Aliases: | xml |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Related Links
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈