PowerShell克隆DHCP服务器设置

综合技术 2017-06-02 阅读原文

从Windows 服务器2012开始,你可以非常方便的导入和导导出DHCP配置。这样就可以克隆和迁移一个DHCP服务快照。下面的例子演示如何把\ORIGDHCP服务器的DHCP设置导出,然后导入到本地的DHCP服务器。

Export-DHCPServer -File "$env:tempdhcpsettings.xml" -Computername ORIGDHCP
Import-DHCPServer -File "$env:tempdhcpsettings.xml"

原文连接: Cloning DHCP Server Settings

本文链接: http://www.pstips.net/cloning-dhcp-server-settings.html

请尊重原作者和编辑的辛勤劳动,欢迎转载,并注明出处!

PowerShell 中文博客

责编内容by:PowerShell 中文博客阅读原文】。感谢您的支持!

您可能感兴趣的

Simply installing the Windows 10 Accounts extensio... This week is all about simply automatically installing the Windows 10 Accounts extension for Google Chrome. About a year ago I showed that the extens...
Building a web server with PowerShell I am going to show you how to make a simple web server in PowerShell that serves the contents of the current directory on any port you choose. You wil...
PXE网络引导系统自动化安装CentOS7 一.PXE 注意:安装前 selinux 禁用,iptables 关闭 dhcp 服务器静态IP地址 1.PXE的工作原理: Client向PXE Server上的DHCP发送IP地址请求消息, DHCP检测Client是否合法(主要是检测Cl...
Powershell-RAT – Gmail Exfiltration RAT Powershell-RAT is a Python-based Gmail exfiltration RAT that can be used a Windows backdoor to send screenshots or other data as an e-mail attachme...
AMA: A Plethora of Career Advice Verne checks in with a bevy of questions: 1. What do you really think of Microsoft’s new direction? They’ve essentially told their loyal SysAds that...