function Get-EnabledTlsCipherSuites { $enabledCipherSuites = @() $cipherSuites = Get-TlsCipherSuite foreach ($cipherSuite in $cipherSuites) { $cipherSuiteName = $cipherSuite.Name $regPath = "HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\$cipherSuiteName"...
OPTION 1 To run the `ipconfig /displaydns` command on a remote PC named “pc-kcordero” in a Windows environment, you can...
# Author: Kerry Cordero # Version: 1.0.0 # Description: This script will check the Enabled SSL-TLS Protocols WinHTTP $Protocols =...
1. Import the Active Directory module: Import-Module ActiveDirectory 2. To get the list of Active Directory sites: Get-ADReplicationSite -Filter...
Get-ADGroup -Filter * | Select-Object Name, GroupCategory, GroupScope | Format-Table -AutoSize...
There are several commands and operations that you can use in PowerShell to troubleshoot a Windows file server that is...
Test-NetConnection -ComputerName remote-server -Port port or Test-NetConnection -ComputerName qa-api.cordero.me -Port 443...
Sure, here’s how you can find the Time to Live (TTL) for a DNS record on Windows and MacOS. Please...
Group = Web Admins Get-ADGroupMember -Identity "Web Admins" | Where-Object {$_.objectClass -eq "user"} | Select-Object Name, SamAccountName...
$lastWeek = (Get-Date).AddDays(-7) Get-ADComputer -Filter { whenCreated -ge $lastWeek } ...