IT Techy Minds -- We run and explore the IT

Migrate DHCP Server to another Server

Hi Admin

Please find the steps for migrating DHCP server to another host.

Migrating from Win2008 to 2012/ 2016

1. login to Old DHCP server with adminID

2. Open command as administrator

3. netsh dhcp server export c:\dhcp.txt all

4. DHCP role is already installed on new Server.

5. netsh dhcp server import c:\dhcp.txt all

6. Once import is completed

7. Stop the DHCP & remove the role from Old Server

 

Migrating from Win2012 to 2012/ 2016

1. login to Old DHCP server with adminID

2. Open command as administrator

3. Export-DhcpServer -ComputerName DHCP01 -File "C:\DHCP-Config.xml" -Force

4. DHCP role is already installed on new Server.

5. Stop-Service -Name DHCPServer

6. Set-Service -Name DHCPServer -StartupType "Disabled"

7. Import-DhcpServer -ComputerName newDHCPservername -File "C:\DHCP-Config.xml -Force

8. Once import is completed

Keep visiting blogs for new articles.

Amit Kumar Gupta

Certified: CCA-XenApp/XenDesktop/XenServer, Google Cloud Architect, MCSE, ITIL, Vmware Certified , AWS Fundamentals. AWS Pratitioner

Microsoft certified - Enterprise Cybersecurity Fundamentals & Planning for Security Incident response.

https://www.linkedin.com/in/amit-gupta-5321a527/

 

Details on Microsoft Assessment and Planning Toolkit (MAP)

Hi Admin

Here is some details on Microsoft Assessment and Planning Toolkit (MAP)

The Microsoft Assessment and Planning Toolkit (MAP) is a solution accelerator that analyzes the inventory of an organization’s server infrastructure, performs an assessment, and then creates reports that you can use for upgrade and migration plans.

MAP performs four key functions: discovery and inventory of computers and applications, hardware and software migration readiness assessments, software usage tracking, and capacity planning for virtualization, public and private cloud migration.

MAP will answer questions like: Which computer can run Windows Server 2016? Which computers cannot run Windows Server 2016 and what upgrades are needed? Which current physical servers are the best candidates for virtualization and the hosts on which you should place those virtual machines?

MS Video Link on Tool.

 

Content is copyright at MS.

Thanks

CCA in XenApp/XenDesktop/XenServer,Google Cloud Architect, MCSE, ITIL, Vmware Certified

Microsoft certified - Planning for Security Incident response.

https://www.linkedin.com/in/amit-kumar-gupta-5321a527/

How to generate list of MS patchs on Server

Hi Admin

Here is the list of commands can be used to generate the installed patches on windows Server.

Option 1

Get psinfo from http://technet.microsoft.com/en-us/sysinternals/bb897550.aspx

Run psinfo -h to get the list of hotfixes

Option 2


Another method that doesn't require 3rd party software using wmic; just type: wmic qfe from the command line. The default output gives really long lines, so you might be better off redirecting to a file and viewing it in your favourite text editor.

Variations on a theme include:

wmic qfe list full
wmic qfe get HotfixID,ServicePackInEffect,InstallDate,InstalledBy,InstalledOn
wmic qfe where "HotfixID = 'KBXXXXXX'"
wmic qfe where "HotfixID = 'KBXXXXXX'" get HotfixID, InstallDate, InstalledBy, InstalledOn
wmic qfe where "HotfixID = 'KBXXXXXX" list full
wmic /node:myserver qfe list full

Option 3
Use Powershell to do the same thing.

Local: get-wmiobject -class win32_quickfixengineering
Remote: get-wmiobject -class win32_quickfixengineering -computername mysever

Again, this can take filters, for example:

get-wmiobject -class win32_quickfixengineering -filter "HotfixID = 'KBXXXXXX'"
...or as it's Powershell, just pipe through where-object.

Option 4

You can try this instead:

$Session = New-Object -ComObject Microsoft.Update.Session
$Searcher = $Session.CreateUpdateSearcher()
$Searcher.Search("IsInstalled=1").Updates | ft -a Date,Title

 

Thanks

Amit Gupta

Home