Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Gents,

I am trying to run the following command on a fresh Windows Server 2008 box.

netsh dhcp server 10.2.x.x scope 10.2.x.x show client

and I am given the following error

the following command could not be found:

If I run this on my local windows 7 machien it's fine.

Perhaps I am missing some libraries or options? Any help is appreciated.

share|improve this question
1  
Could be wrong, but do you need the DHCP Server role installed on the box before it will let you use the command line tools? – SmallClanger Nov 19 '10 at 13:18
    
Thanks, I installed this and the command is flying :-) – user60854 Nov 19 '10 at 14:14
    
@SmallClanger: Add your comment as an answer and @Daniel can accept it. – GregD Nov 19 '10 at 14:43

You need the DHCP Server role installed on the box before it will let you use the command line tools.

(+Credit to SmallClanger who provided this answer in a comment. -Credit for not posting it as an answer that could be accepted, or voted up/down)

share|improve this answer

"show client" doesn't exist on my Windows 7 machine or a fresh install of Windows Server 2008 R2.

What does exist is "show alias" and "show helper".

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.