Modifying DNS records with WMI
Using WMI it is possible to modify any existing record hosted on a Microsoft DNS Server. The method used varies slightly depending on which record type we want to change.
Also tagged Microsoft DNS, vbs, VbScript, wmiUsing WMI it is possible to modify any existing record hosted on a Microsoft DNS Server. The method used varies slightly depending on which record type we want to change.
Also tagged Microsoft DNS, vbs, VbScript, wmiA short script to list explicit rights assigned to a directory structure. It uses the recursive option of ls (an Alias for Get-ChildItem) to drop down through the directory structure.
Also tagged acl, ntfs, permissions, securitydescriptorI recently went through another migration. One of the post migration tasks was to fix permission to update lists. The “ManagedBy” attribute had been copied across, but not the security descriptor from the group. This show PowerShell script can be run from the Exchange Management Shell to grab the value from ManagedBy and write it [...]
Also tagged Active Directory, Exchange 2007, managedbyThese snippets of code shows how to search Active Directory using LDAP to return all domains in the current Forest (based on current authentication).
Also tagged Active Directory, C# .NET, list domains, VB .NET, vbs, VbScriptThis post explains how to identify and report on stale records in a dynamically updated Microsoft DNS zone.
Also tagged Active Directory, Microsoft DNS, reporting, Stale Records, vbs, VbScript, Windows 2003, wmiWindows 2008 has an improved user interface for DNS. The main console includes details of a records time stamp and whether or not the record is Static. Life isn’t quite so easy with Windows 2003. However, as each static record has a time stamp set to 0 they can be found with a little work.
Also tagged Active Directory, Microsoft DNS, reporting, vbs, VbScript, Windows 2003, wmi, wmic