Posts tagged ‘wmi’

A function to retrieve IIS log settings from a local or remote IIS 6 server. Written to be compatible with PowerShell 1.0.
Continue reading ‘PowerShell, IIS and log settings’ »

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

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

Using PowerShell to create a version of Get-MailboxStatistics for Exchange 2003.
Continue reading ‘Get-MailboxStatistics for Exchange 2003’ »

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

Using WMI it is possible to modify any existing record hosted on a Microsoft DNS Server. The method used varies slightly depending on which record type we want to change.
Continue reading ‘Modifying DNS records with WMI’ »

This script uses WMI to enumerate each access control entry in an NTFS access control list, looking for explicit entries, that is, entries that are not inherited.
Continue reading ‘NTFS, WMI, VbScript & listing explicit rights’ »

This post explains how to identify and report on stale records in a dynamically updated Microsoft DNS zone.
Continue reading ‘Microsoft DNS & stale records’ »

Windows 2008 has an improved user interface for DNS. The main console includes details of a records time stamp and whether or not the record is Static. Life isn’t quite so easy with Windows 2003. However, as each static record has a time stamp set to 0 they can be found with a little work.
Continue reading ‘Microsoft DNS & static records’ »