Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
96 lines (71 sloc) 2.23 KB
ms.mktglfcycl ms.sitesec ms.author author description external help file keywords manager ms.date ms.prod ms.technology ms.topic online version schema title ms.reviewer ms.assetid
manage
library
kenwith
kenwith
Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
Microsoft.ConfigCI.Commands.dll-Help.xml
powershell, cmdlet
jasgro
12/20/2016
w10
powershell-windows
reference
2.0.0
ConvertFrom-CIPolicy
B01DEF04-E6F7-4DBE-89DE-1185BAC326A0

ConvertFrom-CIPolicy

SYNOPSIS

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
Parameter Sets: (All)
Aliases: bin

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-XmlFilePath

Specifies the path of the .xml policy file that this cmdlet converts.

Type: String
Parameter Sets: (All)
Aliases: xml

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

RELATED LINKS

Get-CIPolicy

Merge-CIPolicy

New-CIPolicy

You can’t perform that action at this time.