Accept or reject messages from

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 >>

Merge-Object

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 >>

Building LDAP filters for date based attributes

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 >>

Listing Trusts

A script to enumerate trust information from an Active Directory forest.
more >>

Mapping the DNSRecord attribute

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 >>

Windows 2003 DNS and the Global Query Block List

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 >>

Reading share security with PowerShell

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 >>

Reading NTFS and Share security with VbScript

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 >>

Get-MailboxStatistics for Exchange 2003

Using PowerShell to create a version of Get-MailboxStatistics for Exchange 2003.
more >>

Administering Microsoft DNS in PowerShell

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 >>