Sep 14, 2020

Monitor server certificate

$servers=((Get-ADForest).Domains | %{ Get-ADDomainController -Filter * -Server $_ }).Name $result=@() foreach ($i in $servers) { $ErrorActionPreference="SilentlyContinue" $a=Invoke-Command -ComputerName $i {Get-ChildItem Cert:\LocalMachine\My -Recurse | Where-Object {$_ -is [System.Security.Cryptography.X509Certificates.X509Certificate2] -and

Sep 14, 2020

(Enable TLS 1.2)

Enables TLS 1.2 on Windows Server 2008 R2 and Windows 7These keys do not exist so they need to be created prior to setting values.md "HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\