Posted by Chris on August 27, 2009 in Active Directory, Exchange, PowerShell | Tags :Active Directory, Exchange, PowerShell
This function reads delivery restrictions from objects in Active Directory. By default it looks at Groups. As the same information can be returned using Get-DistributionGroup or Get-Mailbox using Exchange 2007; this function is aimed at Exchange 2003.
more >>
Posted by Chris on August 27, 2009 in PowerShell | Tags :PowerShell
A function to merge or join two objects. For example, to merge an entry from “Get-MailboxStatistics” with information about storage limits set on the account in Active Directory. This small function demonstrates how the Property members of two objects might be merged. Common properties on the additional object are discarded.
more >>
Posted by Chris on August 27, 2009 in Active Directory, PowerShell, VbScript | Tags :Active Directory, LDAP, PowerShell, VbScript
Active Directory contains a number of attributes which hold date information. This article shows how to generate LDAP Filters for these attributes in both VbScript and PowerShell.
more >>
Posted by Chris on August 27, 2009 in Active Directory, VbScript | Tags :Active Directory, Trust, VbScript
A script to enumerate trust information from an Active Directory forest.
more >>
Posted by Chris on June 18, 2009 in Active Directory, Microsoft DNS | Tags :Active Directory, dnsRecord, Microsoft DNS
Microsoft DNS is able to store records in Active Directory when running on a Domain Controller. The information is stored in a Binary Large Object (BLOB) called DNSRecord. No official maps for that attribute appear to have been published. The information below is a result of reverse engineering the contents of the attribute.
Michael Smith has a very pretty PowerShell script which uses the structures below, and a few more, to convert the DnsRecord attribute into a human readable format on his blog, Michael’s meanderings….
Update 02/02/2010: In December 2009, Microsoft released a (not entirely accurate) protocol specification including details of dnsRecord and dnsProperty: MS-DNSP.pdf
more >>
Posted by Chris on May 21, 2009 in Microsoft DNS | Tags :Global Query Block List, Microsoft DNS
The Global Query Block List is a feature of the DNS Service in Windows 2008 discussed on TechNet.
However, although it is advertised of as a feature of Windows 2008 DNS it is present in Windows 2003 from DNS version 5.2.3790.4460 and above, released with KB 961063.
more >>
Posted by Chris on February 20, 2009 in PowerShell | Tags :acl, permissions, PowerShell, securitydescriptor, wmi
The cmdlet Get-ACL is very capable when it comes to NTFS permissions, but it cannot read share permissions. This function makes an effort to provide a simple way to return share security (and other information) from a share.
more >>
Posted by Chris on February 19, 2009 in VbScript | Tags :acl, ntfs, permissions, securitydescriptor, vbs, VbScript, wmi
NTFS (File System) and Share security can be enumerated using the Win32_LogicalFileSecuritySetting and Win32_LogicalShareSecuritySetting WMI classes. This post demonstrates how to use each class to read the security descriptors.
more >>
Posted by Chris on January 22, 2009 in Active Directory, Exchange, PowerShell | Tags :Active Directory, DirectorySearcher, Exchange, PowerShell, wmi
Using PowerShell to create a version of Get-MailboxStatistics for Exchange 2003.
more >>
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 >>