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... Read More
These scripts are an easy way to see if there are any older Windows devices in your domain. You can... Read More
I was getting an error when I went to run a PowerShell script. This was the error: PS C:\> .\kerrys-script.ps1... Read More
Below I’ll show you how easy it is to get the cpassword. There are environments where this password could be... Read More
Get-ADGroupMember "Domain ADmins" | Get-AdUser -Property LastLogonDate | select name,distinguishedName,LastLogonDate... Read More
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}... Read More