I was getting an error when I went to run a PowerShell script. This was the error: PS C:\> .\kerrys-script.ps1...
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}...
Get-ADGroupMember "Domain ADmins" | Get-AdUser -Property LastLogonDate | select name,distinguishedName,LastLogonDate...
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...
Here’s a script I worked on to help make changes to a Cisco devices via CLI. It’s an easy way...
These scripts are an easy way to see if there are any older Windows devices in your domain. You can...
Get-ADUser -Filter * -Properties DisplayName, EmailAddress, Title | select DisplayName, EmailAddress, Title | Export-CSV "C:\Scripts\Email_Addresses.csv" ...
What I mean by this, is keep an eye out for emails, alerts within the product, etc… for updates....