Common PowerShell Commands for AD
A list of common PowerShell commands for AD. Retrieve AD users(s) Check AD User Existence Restore Deleted AD User(s) Retrieve AD Security Groups Modify AD Security Groups AD Cleanup FSMO […]
Read moreIT Matters…
PowerShell Scripts
A list of common PowerShell commands for AD. Retrieve AD users(s) Check AD User Existence Restore Deleted AD User(s) Retrieve AD Security Groups Modify AD Security Groups AD Cleanup FSMO […]
Read moreHere is 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)” […]
Read moreGetting 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 […]
Read moreQuick Code Summary Get-WmiObject -ComputerName “localhost” Win32_Quickfixengineering | select @{Name=”InstalledOn”;Expression={$_.InstalledOn -as [datetime]}} | Sort-Object -Property Installedon | select-object -property installedon -last 1 Sometimes you may need to know a […]
Read more