This script will allow you to check the Active Directory backup date on all the domains of your forest. Each domain is checked by selecting a domain controller that is running the service ADWS (Active Directory Web Services). You can
Get all cluster groups in an AD domain and their current owners
List the active databases in an Exchange organization
Get a service status on remote servers
With the following powershell script, you can get a service status on remote servers Script : $ErrorActionPreference = “SilentlyContinue” $strCategory = “computer” $objDomain = New-Object System.DirectoryServices.DirectoryEntry $objSearcher = New-Object System.DirectoryServices.DirectorySearcher $objSearcher.SearchRoot = $objDomain $objSearcher.Filter = (“(objectCategory=$strCategory)”) $colProplist = “name” ,
Search an object forest wide
Manage the file retention on a folder
Change a value in a remote registry
With this script, you will be able to change a value in a remote registry (remote computer names listed in a host file). The registry value type can be the following (http://msdn.microsoft.com/en-us/library/microsoft.win32.registryvaluekind.aspx) : String ExpandString Binary DWord MultiString QWord $file
Delete the Recycle bin items older than 60 days
Generate a random password with custom character sets
Local Administrator Password Solution with Powershell
The “Local Administrator Password Solution” (LAPS) provides a centralized storage of secrets/passwords in Active Directory (AD) – without additional computers. Each organization’s domain administrators determine which users, such as helpdesk admins, are authorized to read the passwords. Source Boe Prox