Domain password expiration list

A quick powershell way to list expiring user passwords from a specific ou. Change for your ou structure of course:


Get-ADUser -SearchBase "OU=Users,OU=OREU1-Eugene,OU=Properties,DC=mydomain,DC=net" -filter {Enabled -eq $True -and PasswordNeverExpires -eq $False} –Properties "DisplayName", "msDS-UserPasswordExpiryTimeComputed" | Select-Object -Property "Displayname",@{Name="ExpiryDate";Expression={[datetime]::FromFileTime($_."msDS-UserPasswordExpiryTimeComputed")}} | Export-Csv UserPassExpires.csv

OpenVAS 9 woes

So after all is said and done, it’s already been noted in the mailing list that openvas9 uses rsync for at least 2 update commands getting scapdata and certdata and so port 873 needs to be open through your proxy. Good luck getting a large corporate IT to punch a hole in their proxy to let that through.  From what I’ve been seeing, there’s no easy way to manually retrieve the updates either.  C’est La Vie.
Continue reading OpenVAS 9 woes →

Ramblings from a SysAdmin/Tech

Create your own website, free on WordPress.com.Create your own website.
Start free