Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Set DHCP Option 125 for Mitel IP Phone System

$
0
0

Hi

I have to set option 125 on our DHCP servers I do this using Netsh as shown below.  How do I do this with Powershell? As it the last part of script I'm writing to create DHCP scopes with PowerShell. I figure I need to use Add-DhcpServerv4OptionDefinition but I've tried various syntax with much luck

Enter the Following, each new command is in bold:

netsh
netsh>
dhcp
netsh dhcp>
server
netsh dhcp server>
scope scope IP 172.16.76.0

##Changed the current scope context to 172.16.76.0 scope.

netsh dhcp server scope>set optionvalue 125 ENCAPSULATED 000005036469643A697070686F6E652E6D6974656C2E636F6D3B73775F746674703D3137322E31372E35302E33383B63616C6C5F7372763D3137322E31372E35302E33383B766C616E3D3539393B6C32703D35763573353B647363703D34367634367334363B

 

 

 

 

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles