Skip to content

Latest commit

 

History

History
125 lines (95 loc) · 2.81 KB

Install-TrustedProvisioningCertificate.md

File metadata and controls

125 lines (95 loc) · 2.81 KB
description external help file Module Name ms.date online version schema title
Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
provcmdlets.dll-Help.xml
Provisioning
05/09/2017
2.0.0
Install-TrustedProvisioningCertificate

Install-TrustedProvisioningCertificate

SYNOPSIS

Adds a certificate to the Trusted Certificate Store.

SYNTAX

Install-TrustedProvisioningCertificate [-CertificatePath] <String> [-ForceInstall]
 [-LogsDirectoryPath <String>] [-WprpFile <String>] [-ConnectedDevice] [<CommonParameters>]

DESCRIPTION

Installs the specified certificate to the Trusted Certificate Store.

The Install-TrustedProvisioningCertificate cmdlet is supported on Windows 11 client operating system only.

EXAMPLES

Example 1: Install Trusted Provisioning Certificate

PS C:\> Install-TrustedProvisioningCertificate -CertificatePath trustedCert.cer

Installs the specified certificate as a trusted provisioning certificate.

PARAMETERS

-CertificatePath

Path to .CER file

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

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

-ConnectedDevice

If enabled, specifies that the device type is mobile.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: Device

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

-ForceInstall

Specifies whether, if certificate already exists, it will be overwritten.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: Force

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

-LogsDirectoryPath

Specifies the logs directory path.

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

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

-WprpFile

Specifies the location of the WPR profile file.

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

Required: False
Position: Named
Default value: None
Accept pipeline input: False
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

System.String

OUTPUTS

System.Object

NOTES

RELATED LINKS