I’ve blogged on a number of occasions on how to use the DNS WMI provider. Life just got easier with the release of DnsShell. Its a PowerShell 2.0 module containing cmdlets for working with DNS. Underneath the covers there is a lot of WMI involved. The module is still a work in progress...
As I said last time I’ve modified the Get-Share function to accept a share name.