Link to home
Start Free TrialLog in
Avatar of Uptime Legal Systems
Uptime Legal SystemsFlag for United States of America

asked on

Cmdlet not in 2008R2 but in 2012R2

I'm using the following PS line to add conditional forwarders to hundreds of domains via:

Add-DnsServerConditionalForwarderZone -Name "abc.def" -ReplicationScope Forest -MasterServers 192.168.x.y

Open in new window


This works great on 2012R2, however in 2008R2 servers I get an error that the cmdlet is missing.  If I run

Get-Command Add*

Open in new window


I can confirm that it's on 2012R2 and not 08R2 and seems to be a part of the DnsServer module.  My question is, how can I get that module into 2008R2 so I can proceed with running this command?  I have a centrally accessible NX server that I can store files on if needed and incorporate a mapping of a drive to copy in files if needed.

Any help is appreciated.
ASKER CERTIFIED SOLUTION
Avatar of footech
footech
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Uptime Legal Systems

ASKER

Yeah, I ended up retooling my whole script to run in cmd rather than Powershell.

Thanks