Is DnsShell supported in PS 3.0?


as the documentation says it requires the powershell 2.0 or higher. but while importing the module in PS 3.0 i am getting the following exception:

Import-Module : The module to process 'DnsShell.dll', listed in field 'ModuleToProcess/RootModule' of module manifest 'C:\windows\system32\WindowsPowerShell\v1.0\Modules\DnsShell\DnsShell.psd1' was not processed because
no valid module was found in any module directory.
At line:2 char:1
  • Import-Module DnsShell
  • ~~~~~~~~~~~~~~~~~~~~~~
    • CategoryInfo : ResourceUnavailable: (DnsShell:String) [Import-Module], PSInvalidOperationException
    • FullyQualifiedErrorId : Modules_ModuleFileNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
Thanks in advance


blakeduffey wrote Sep 10, 2013 at 10:30 PM

I'm also seeing this error on Windows 2012

TeflonJim wrote Sep 17, 2013 at 4:06 PM

Not supported at this time.

I'm in the process or rewriting the module, but work (busy) and life (6-month old baby) are a bit in the way at the moment.

blakeduffey wrote Sep 20, 2013 at 6:27 PM

Thanks for the reply. I'm unsure of the demand, however, as 2012 has more native DNS cmdlets


Killerbe wrote Feb 5, 2014 at 7:52 AM

I have looked in to the 2012 CMDlets, and do not see a proper commandlet to remove Client A Records (Remove-DNSObject).

TeflonJim wrote Feb 5, 2014 at 8:39 AM

I have a new release in progress, a complete rewrite in pure PowerShell (because that was the challenge I set myself). I've yet to test it against 2012, I only really got as far as comparing Get-Dns (mine) to Resolve-Dns (MS).

I expect to be able to release something in the next few weeks (depending on workload / family).


blakeduffey wrote Feb 5, 2014 at 1:27 PM

Remove-DnsServerResourceRecord -ZoneName "blah.org" -ComputerName $dnsserver -RRType "A" -Name $HostToDelete -RecordData $IP