< Back
Get-ActiveDirectoryObjectCertificate
Post
NAME Get-ActiveDirectoryObjectCertificate
SYNOPSIS
Get the user certificates from Active Directory
SYNTAX
Get-ActiveDirectoryObjectCertificate [-DistinguishedName] <String[]> [<CommonParameters>]
Get-ActiveDirectoryObjectCertificate [-UserPrincipalName] <String[]> [<CommonParameters>]
Get-ActiveDirectoryObjectCertificate [-SamAccountName] <String[]> [<CommonParameters>]
DESCRIPTION
Get the certificates saved on a user object in X509 format
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
<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:\\>Get-ActiveDirectoryObjectCertificate -UserPrincipalName cpolydorou@lab.local
Get the certificates on the cpolydorou@lab.local Active Directory object
RELATED LINKS
SYNOPSIS
Get the user certificates from Active Directory
SYNTAX
Get-ActiveDirectoryObjectCertificate [-DistinguishedName] <String[]> [<CommonParameters>]
Get-ActiveDirectoryObjectCertificate [-UserPrincipalName] <String[]> [<CommonParameters>]
Get-ActiveDirectoryObjectCertificate [-SamAccountName] <String[]> [<CommonParameters>]
DESCRIPTION
Get the certificates saved on a user object in X509 format
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
<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:\\>Get-ActiveDirectoryObjectCertificate -UserPrincipalName cpolydorou@lab.local
Get the certificates on the cpolydorou@lab.local Active Directory object
RELATED LINKS