This project is read-only.

Unable to cast object

Aug 29, 2011 at 10:48 AM

Hi all,

I try to test the DNSshell Module. I've copied the module in the module directory and imported the module. But I recevie an error if I run any DNS command:

PS C:\Users\Administrator> Import-Module dnsshell
PS C:\Users\Administrator> Get-DnsZone
Get-DnsZone : Invalid namespace
At line:1 char:12
+ Get-DnsZone <<<<
    + CategoryInfo          : InvalidOperation: (DnsShell.PowerS...anagementCmdlet:RuntimeType) [Get-DnsZone], Managem
    + FullyQualifiedErrorId : WMIManagementException,DnsShell.PowerShell.CmdLet.GetDnsZone

Do you have any idea why I receive a invalid namespace error?





Aug 29, 2011 at 10:55 AM

sorry the problem was in front of the screen ... I've tested on the wrong virtual machine :-(