Below I’ll show you how easy it is to get the cpassword. There are environments where this password could be...
OPTION 1 To run the `ipconfig /displaydns` command on a remote PC named “pc-kcordero” in a Windows environment, you can...
I was getting this error: File C:\Scripts\XXXXXX.ps1 cannot be loaded. The file C:\Scripts\XXXXXX.ps1 is not digitally signed. You cannot run...
Test-NetConnection -ComputerName remote-server -Port port or Test-NetConnection -ComputerName qa-api.cordero.me -Port 443...
Find Active Users with PW Expires Date/Time: Import-Module ActiveDirectory Get-ADUser -SearchBase "DC=cordero,DC=me" -filter {Enabled -eq $True -and PasswordNeverExpires -eq $False}...
Sure, here’s how you can find the Time to Live (TTL) for a DNS record on Windows and MacOS. Please...
function Get-EnabledTlsCipherSuites { $enabledCipherSuites = @() $cipherSuites = Get-TlsCipherSuite foreach ($cipherSuite in $cipherSuites) { $cipherSuiteName = $cipherSuite.Name $regPath = "HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\$cipherSuiteName"...
The commands below are helpful when troubleshooting and could be beneficial when designing for scalability. They can easily be scripted...
Get-ADUser -Identity "kcordero" -Properties MemberOf | Select-Object -ExpandProperty MemberOf ...