Posted by Chris on December 30, 2008 in Microsoft DNS, PowerShell, VB .NET | Tags :Microsoft DNS, PowerShell, wmi
DNS administration in PowerShell, including tasks like creating zones and adding Host (A) records, can be performed using the WMI interface. Full documentation for the interface is available from Microsoft in the DNS WMI Provider Reference.
I have released a PowerShell 2.0 module using the WMI provider here.
more >>
Posted by Chris on October 21, 2008 in Active Directory, C# .NET, PowerShell, VB .NET, VbScript | Tags :Active Directory, C# .NET, list domains, PowerShell, VB .NET, vbs, VbScript
These snippets of code shows how to search Active Directory using LDAP to return all domains in the current Forest (based on current authentication).
more >>