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

Step by Step Implementing DNS Security in Windows Server 2016

Since DNS is a critical network service, as a Server Administrator you must protect it as much as possible. A number of options are available for protecting the DNS server, including :• DNS cache locking• DNS socket pool• DNSSEC Before we start the step by step to implement the DNS Security, lets go through a theory behind this technology. DNS Cache Locking Cache locking is […]

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 Use PowerShell to Create AD User Accounts in Bulk in Windows Server 2016

Lets get started.. 1 – For this demo, I will use my existing AD Server with Windows.ae domain and previously created empty OU call Network Branch. My Network Branch OU is now empty without any User in it, so I would like to import 25 users in just 1 shot. 2 – For this step, you need a Notepad with Your Domain user information. This can be done in MS […]

Read more

How to Install and Configure NFS Server in Windows Server 2016

What is NFS Server? Using the NFS protocol, you can transfer files between computers running Windows and other non-Windows operating systems, such as Linux or UNIX. In Windows Server 2016, NFS includes the components, Server for NFS and Client for NFS. Server for NFS enables a computer running Windows Server 2016 to act as a NFS file server for other […]

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

Configure Group Policy to deploy updates using WSUS 2016

One of the first steps you will need to take during the initial configuration of a WSUS Server is to establish communication between WSUS Server and clients. As clients (endpoints) we assume that they can be either Windows clients or Windows Servers. The most fundamental task is to direct each client to communicate with WSUS Server to check for new updates instead […]

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

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
1 2 3 5