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.
Continue reading ‘Windows 2003 DNS and the Global Query Block List’ »
Posted by Chris on May 21, 2009 at 12:56 pm under Microsoft DNS.
Tags: Global Query Block List, Microsoft DNS
4 Comments.
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.
Continue reading ‘Reading share security with PowerShell’ »
Posted by Chris on February 20, 2009 at 5:31 pm under PowerShell.
Tags: acl, permissions, PowerShell, securitydescriptor, wmi
6 Comments.
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.
Continue reading ‘Reading NTFS and Share security with VbScript’ »
Posted by Chris on February 19, 2009 at 5:25 pm under VbScript.
Tags: acl, ntfs, permissions, securitydescriptor, vbs, VbScript, wmi
3 Comments.
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.
Continue reading ‘Administering Microsoft DNS in PowerShell’ »
Posted by Chris on December 30, 2008 at 12:35 pm under Microsoft DNS, PowerShell, VB .NET.
Tags: Microsoft DNS, PowerShell, wmi
5 Comments.
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.
Continue reading ‘Setting desktop wallpaper’ »
Posted by Chris on December 23, 2008 at 1:27 pm under Active Directory, VbScript.
Tags: Active Directory, group policy, vbs, VbScript
Comment on this post.
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.
Continue reading ‘Returning the OU for an object in AD’ »
Posted by Chris on December 8, 2008 at 11:42 am under Active Directory, PowerShell, VbScript.
Tags: Active Directory, PowerShell, vbs, VbScript
Comment on this post.
This script uses WMI and Active Directory queries to return information about mailbox sizes from Exchange and the limits set in Active Directory.
Download GetMailboxStatistics.vbs
A number of people have been looking for Get-MailboxStatistics for Exchange 2003. I have a PowerShell version of this script for exactly that reason here.
Continue reading ‘Exchange 2003: Returning mailbox sizes’ »
Posted by Chris on October 28, 2008 at 12:13 pm under Active Directory, Exchange, VbScript.
Tags: Active Directory, Exchange, information stores, vbs, VbScript
17 Comments.
A script to read the mailbox security descriptor from Active Directory with the intention of finding a particular user or security principal. It will not display the security descriptor, it simply displays whether or not the account is present in the access control list.
Continue reading ‘Finding a user in Exchange mailbox security’ »
Posted by Chris on October 28, 2008 at 11:33 am under Active Directory, Exchange, VbScript.
Tags: acl, Active Directory, Exchange, permissions, securitydescriptor, vbs, VbScript
Comment on this post.
The VbScript below demonstrates how subnet information might be retrieved from Active Directory. It is possible to use a search using to return this information (for objectClass=subnet). This method connects to the subnets container and loops through the contents returning the network address and mask length in a Dictionary object.
Continue reading ‘VbScript: GetADSubnets’ »
Posted by Chris on October 25, 2008 at 11:46 am under Active Directory, VbScript.
Tags: Active Directory, subnet, vbs, VbScript
Comment on this post.