UTC: 2018-08-29 21:20 rukas/chocolatey-packages
This file is automatically generated by the update_all.ps1 script using the AU module.
<# | |
.SYNOPSIS | |
.DESCRIPTION | |
.PARAMETER csvPath | |
The absolute path where the CSV files will be placed. | |
The default location is the current directory(.). | |
.EXAMPLE | |
.NOTES | |
#> |
UTC: 2018-08-29 21:20 rukas/chocolatey-packages
This file is automatically generated by the update_all.ps1 script using the AU module.
UTC: 2018-08-29 21:19 rukas/chocolatey-packages
This file is automatically generated by the update_all.ps1 script using the AU module.
UTC: 2018-08-29 21:19 rukas/chocolatey-packages
This file is automatically generated by the update_all.ps1 script using the AU module.
UTC: 2018-08-29 20:51 rukas/chocolatey-packages
This file is automatically generated by the update_all.ps1 script using the AU module.
UTC: 2018-08-29 20:50 rukas/chocolatey-packages
This file is automatically generated by the update_all.ps1 script using the AU module.
UTC: 2018-08-29 20:47 rukas/chocolatey-packages
This file is automatically generated by the update_all.ps1 script using the AU module.
############################################################# | |
## Get machine certificate info ## | |
############################################################# | |
$domain = ([System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain()).Name | |
$domainDN = "DC=" + $domain -replace '\.', ", DC=" | |
$CA = [ADSI]"LDAP://CN=Enrollment Services, CN=Public Key Services, CN=Services, CN=Configuration, $domainDN" | |
$caDN = $ca.psbase.children.cacertificatedn | |
$machineCert = Get-ChildItem -Path Cert:\LocalMachine\My | Where-Object {$_.Subject -like "*$($env:COMPUTERNAME).$((gwmi WIN32_ComputerSystem).Domain)" -and $_.issuer -eq "$caDN"} |
I hereby claim:
To claim this, I am signing this object: