Posted June 18th, 2009 by Chris
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.
Read the rest of this entry »
Tags: Active Directory, dnsRecord, Microsoft DNS
Posted May 21st, 2009 by Chris
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.
Read the rest of this entry »
Tags: Global Query Block List, Microsoft DNS
Posted February 20th, 2009 by Chris
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.
Read the rest of this entry »
Tags: acl, permissions, PowerShell, securitydescriptor, wmi
Posted February 19th, 2009 by Chris
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.
Read the rest of this entry »
Tags: acl, ntfs, permissions, securitydescriptor, vbs, VbScript, wmi
Posted January 22nd, 2009 by Chris
Using PowerShell to create a version of the Get-MailboxStatistics that works for Exchange 2003.
Read the rest of this entry »
Tags: Active Directory, DirectorySearcher, Exchange, PowerShell, wmi
Posted January 12th, 2009 by Chris
It is fairly easy to find Active Directory domains named after a public domain name. The most common question in this scenario is how to get to the public website when using internal DNS. This article discusses some, or most, or all, of the options available.
Read the rest of this entry »
Tags: Active Directory, Microsoft DNS
Posted December 30th, 2008 by Chris
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.
Read the rest of this entry »
Tags: Microsoft DNS, PowerShell, wmi
Posted December 23rd, 2008 by Chris
Group Policy will, by default, only set the desktop wallpaper using Active Desktop. It is also possible to set the wallpaper using the logon script, or using a custom Group Policy template.
Read the rest of this entry »
Tags: Active Directory, group policy, vbs, VbScript
Posted December 8th, 2008 by Chris
Occasionally it can be useful to know how to retrieve the parent, or OU holding an object, from Active Directory.
Perhaps the easiest way to do this is using the Parent property.
Read the rest of this entry »
Tags: Active Directory, PowerShell, vbs, VbScript
Posted October 28th, 2008 by Chris
This script uses MAPI and Active Directory queries to return as much information as possible about mailbox size limits from Exchange.
This script is only intended for use with Exchange 2000. Exchange 2003 can use WMI, Exchange 2007 has a PowerShell cmdlet, Get-MailboxStatistics, which can much more easily return this information.
Read the rest of this entry »
Tags: Active Directory, Exchange, information stores, vbs, VbScript