Get DNS server IP’s using PowerShell

On servers, we use static IP configuration and static DNS configuration. If you have multiple sites in your environment, this list of DNS server IPs will vary from one site’s server to another. Given these, we sometimes end up with incorrect DNS IP entries in some of the servers. The script I am going to discuss will help you query […]

Read more

Migrate Active Directory from Server 2012 R2 to Server 2016

This is very straight forward process, but make sure you test it 1st in your Test Environment. I’m using 2 Hyper-V Machine, which is my Previous domain Server (Microsoft.lk.com). 1- Login to windows Server 2016 machine with local admin credentials, Open server manager dashboard, click Add Roles and features. 2 – Click Next, Choose “Role-based or feature-based installation” radio button and click Next, Scroll down and choose Active Directory […]

Read more

How to Install PostgreSQL on Windows Servers

Open a browser tab and go to the PostgreSQL -EnterpriseDB website to download the installer. Select the latest version (version 10.3 at the time of writing of this article). Then select your operating system. Finally click the “download now” link to complete the process. How to Install PostgreSQL 10 Download the Windows version: PostgreSQL – [10.3] –windows – x64.exe and then open it. […]

Read more

Create Bootable Windows Server 2016 USB Thumb Drive for Installing OS

If you do not have the media, you will need to download.  See https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-technical-preview for the Technical Preview.  You could also download from MSDN.MICROSOFT.COM or other subscription service. 1) Double-click the ISO file to mount it  (or mount the ISO) and make note of the drive letter.  In my case it is drive I: 2) Put in the USB Thumb Drive Key in the computer and […]

Read more

Windows Server Update Services (WSUS) 2012: Installation

Windows Server Update Services Prerequisites Before you begin installing the WSUS role on Windows Server 2012, the server should meet the following prerequisites: Microsoft .NET Framework 4.0 must be installed on the WSUS server. The Network Service account must have full access to the %windir%\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files and %windir%\Temp file paths. The account you use to install WSUS must be a member of the Local […]

Read more

PowerShell: Alert me when Disk Space is running low on my Windows Servers (E-Mail Notification)

Have you ever ran into a situation where your disk space on your Windows Server were running low and you had to constantly remote into the server to check the disk space? Now, imagine if you had to do this for 10-100 servers! This script will send you email notifications with the status of your Windows Server disk space.

Read more

Volume Activation for Windows: Configuring KMS with AD Roles for Windows 2012 / 2012R2

Configuring KMS with Windows 2012 Server Roles Step-By-Step Installing the Volume Services Role for KMS To begin the installation of the KMS host in the Windows Server 2012 / 2012R2 machine, begin by adding a role: On the next screen, select Role-based or feature-based installation: Select the server where the roles will be installed: On the Add Roles and Features Wizard, select Volume Activation Services. […]

Read more

How to Import a Group Policy Object’s Settings into Another Group Policy Object

You may sometimes find it necessary to copy Group Policy Objects (GPOs) from one Active Directory domain to another. This can be useful when you want to apply the same policy settings to groups of users or computers in different domains within a multi-domain forest, or when you are performing a migration from one domain to another. GPOs can be backed […]

Read more
1 2 3 7