< Back
Export-ActiveDirectoryObjectCertificate
Post
NAME Export-ActiveDirectoryObjectCertificate
SYNOPSIS
Save the user certificate from Active Directory to file
SYNTAX
Export-ActiveDirectoryObjectCertificate [-DistinguishedName] <String> [-Thumbprint] <String> [-Path] <String>
[<CommonParameters>]
Export-ActiveDirectoryObjectCertificate [-UserPrincipalName] <String> [-Thumbprint] <String> [-Path] <String>
[<CommonParameters>]
Export-ActiveDirectoryObjectCertificate [-SamAccountName] <String> [-Thumbprint] <String> [-Path] <String>
[<CommonParameters>]
DESCRIPTION
Save the user certificate from Active Directory to file
PARAMETERS
-DistinguishedName <String>
The DistinguishedName of the user
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-UserPrincipalName <String>
The DistinguishedName of the user
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SamAccountName <String>
The SamAccountName of the user
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Thumbprint <String>
The thumbprint of the certificate to remove
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Path <String>
The path to the file
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Export-ActiveDirectoryObjectCertificate -UserPrincipalName cpolydorou@lab.local -Thumbprint
"176ED95A217C692131DF1275B323F5574EFBF00A" -Path C:\\Temp\\file.cer
Exports the certificate with thumbprint 176ED95A217C692131DF1275B323F5574EFBF00A to the file C:\\Temp\\file.cer
RELATED LINKS
SYNOPSIS
Save the user certificate from Active Directory to file
SYNTAX
Export-ActiveDirectoryObjectCertificate [-DistinguishedName] <String> [-Thumbprint] <String> [-Path] <String>
[<CommonParameters>]
Export-ActiveDirectoryObjectCertificate [-UserPrincipalName] <String> [-Thumbprint] <String> [-Path] <String>
[<CommonParameters>]
Export-ActiveDirectoryObjectCertificate [-SamAccountName] <String> [-Thumbprint] <String> [-Path] <String>
[<CommonParameters>]
DESCRIPTION
Save the user certificate from Active Directory to file
PARAMETERS
-DistinguishedName <String>
The DistinguishedName of the user
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-UserPrincipalName <String>
The DistinguishedName of the user
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SamAccountName <String>
The SamAccountName of the user
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Thumbprint <String>
The thumbprint of the certificate to remove
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Path <String>
The path to the file
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Export-ActiveDirectoryObjectCertificate -UserPrincipalName cpolydorou@lab.local -Thumbprint
"176ED95A217C692131DF1275B323F5574EFBF00A" -Path C:\\Temp\\file.cer
Exports the certificate with thumbprint 176ED95A217C692131DF1275B323F5574EFBF00A to the file C:\\Temp\\file.cer
RELATED LINKS