Solved

Emport Import DHCP allow deny filter Mac Addresses

Posted on 2014-04-04
3
1,782 Views
Last Modified: 2014-06-15
Trying to create a simple PowerShell script to sync the allow deny filter MAC address lists on two Server 2012 DHCP servers.  When you replicate them these lists do not replicate.  Anyway, when I try and run the following command:

Get-DhcpServerv4Filter -Computername ORdhcp1.mydomain.com

I get the the following error:

Get-DhcpServerv4Filter : Failed to enumerate MAC address filter list on DHCP server ORdhcp1.mydomain.com.
At line:1 char:1
+ Get-DhcpServerv4Filter -Computername ORdhcp1.mydomain.com
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (PS_DhcpServerv4Filter:root/Microsoft/...pServerv4Filter) [Get-DhcpSer
   verv4Filter], CimException
    + FullyQualifiedErrorId : WIN32 5,Get-DhcpServerv4Filter

I have enterprise admin rights as well and DHCP Admin rights.  What am I doing wrong?
0
Comment
Question by:ckangas7
  • 2
3 Comments
 
LVL 15

Expert Comment

by:Perarduaadastra
ID: 39979083
This is because the DHCP service runs under the network service account, for which you don't have the credentials.
0
 

Accepted Solution

by:
ckangas7 earned 0 total points
ID: 39979453
Then how do I run the commands in Power Shell?
0
 

Author Closing Comment

by:ckangas7
ID: 40134951
No answer to question I asked in response to initial answer.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Utilizing an array to gracefully append to a list of EmailAddresses
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now