Get list of inactive computers (powershell)

This script will query AD and retrieve all computers that have not authenticated in 90 days, it then exports the results to the stale_computers.csv file.


PHP round, ceil and floor functions

I was working on a script this morning that required me to learn a little bit about PHP functions round, ceil and floor. The script below is just a simple demonstration of exactly what each does.

  This code returns the following:1.28 round function answer = 1 ceil function