This will allow you to run Bash scripts from ZSH by just doing ./{script}. Shebang – From the CLI, add... Read More
What I mean by this, is keep an eye out for emails, alerts within the product, etc… for updates.... Read More
Get-ADUser -Filter * -Properties DisplayName, EmailAddress, Title | select DisplayName, EmailAddress, Title | Export-CSV "C:\Scripts\Email_Addresses.csv"... 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 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
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