Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
Get-ADCA
0.0.1
Get-ADCA.psm1
function
Get-ADCA
(
)
{
param
(
)
$certHash
=
(
certutil
-ADCA
|
Out-String
-Stream
|
?
{
"$_"
-like
"Cert Hash(sha1): *"
}
|
%
{
"$_"
.
split
(
)
[
2
]
}
)
Get-Item
Cert:\LocalMachine\CA\$certHash
}