?
Solved

Emport Import DHCP allow deny filter Mac Addresses

Posted on 2014-04-04
3
Medium Priority
?
2,097 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

A procedure for exporting installed hotfix details of remote computers using powershell
The following article is intended as a guide to using PowerShell as a more versatile and reliable form of application detection in SCCM.
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
Suggested Courses

765 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