Create DNS PTR record if A record exists. This script will help you to have a DNS PTR record for each existing A record in your DNS zone. If a A record has been created in the DNS zone ($dnsDomainName
Online custom password generator
Set the PwdLastSet attribute to the current date and time
Add a SNMP permitted manager on remote hosts
Delete folders on remote hosts
Change the user UPN
Show text/config file without comment lines
Disable and move inactive computer accounts
Export users to a CSV file
Export users to a CSV file Script : Script (with Microsoft Active Directory module loaded : import-module activedirectory) : Get-ADUser -filter * -ResultSetSize $null -Properties SamAccountName,displayname,description ` | select-Object SamAccountName,displayname,description ` | Export-Csv “c:\folder\export.csv” Script (with Quest Active Directory module)
Retrieve the domain controller hostnames in a forest
With this script, you will be able to retrieve the domain controller hostnames in a forest. $myForest = [System.DirectoryServices.ActiveDirectory.Forest]::GetCurrentForest() $myforest.Sites | % { $_.Servers } | Select Name, Domain References MSDN Forest Class Properties Name Description ApplicationPartitions Gets a collection