A list of common PowerShell commands for AD. Retrieve AD users(s) Check AD User Existence Retrieve AD Security Groups Modify AD Security Groups AD Cleanup FSMO Roles GPO Retrieve AD […]
An easy way to enable AD object inheritance using Powershell. This can be used for enabling (or disabling) inheritance on multiple AD objects. #$users = Get-ADUser -ldapfilter “(objectclass=user)” -searchbase “DC=domain,DC=local” […]
Getting your public IP address programmatically can be very useful. Especially if you need to know when your internet service provider (ISP) has changed your dynamic IP address. Here is […]
Sometimes you may need to know a server’s last patch date. There can be many reasons why. One of which is when you are patching servers and want to get […]