Ubiquiti Manual Actions

  • Post author:Dion Reijbroek
  • Post category:Networking

Manual reset sudo syswrapper.sh restore-default Manual set inform set-inform http://ip-of-controller:8080/inform Manual FW update Copy the download URL from the Ubiquiti website and open SSH session to device: upgrade <URL to…

Continue ReadingUbiquiti Manual Actions

List AD Stale Users and Computer Accounts

  • Post author:Dion Reijbroek
  • Post category:ActiveDirectory

To clean up old user and computer accounts. Import-Module ActiveDirectory $DaysInactive = 90 $time = (Get-Date).Adddays(-($DaysInactive)) Get-ADComputer -Filter {LastLogonTimeStamp -lt $time} -Properties Name, OperatingSystem, SamAccountName, DistinguishedName | Export-CSV “C:\TEMP\StaleComputers.CSV” –NoTypeInformation…

Continue ReadingList AD Stale Users and Computer Accounts