Enabling DNS Registration Refresh Interval

On Active Directory domains is very important that clients set automatically their own DNS names on authoritative DNS servers for Read More …

Powershell – Variable for Null, Empty String and White Space

More often than not, we create variables with the intent they will hold a value. We typically then choose to act upon that value. Therefore, if a variable doesn’t have value, this is something we would want to check against in our conditional logic flow. Read More …

Enable WinRM with Group Policy for PowerShell Remoting

PowerShell Remoting really can makes a routine work a lot easier, but it requires quite a bit of work to get all the remote computers ready to take the remoting calls, such as automatically start Windows Remote Management service. Read More …

Powershell – If -And & If -Or Statements

One of the best statements for filtering data is the If clause. For scripts that require precise flow control you could incorporate PowerShell’s -And, the benefit is that your test could now include multiple conditions. Read More …

Enabling Powershell Remoting

To enable Powershell remoting, you need run the following cmdlet: Enable-PSRemoting In workgroup environments, enable classic mode authentication for network Read More …

Powershell – Force gpupdate on all Domain Computers

Client computers update Group Policies every 90 minutes by default, in a functional and working domain. In this brief article Read More …

Install the PowerShell Active Directory Module

This guide explains how to install the Active Directory (AD) module for PowerShell Core 6.0 and Windows PowerShell. For Windows PowerShell, the document describes how to install the AD module for Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008 R2, Windows Server 2012 R2, and Windows Server 2016. Read More …

Check DFS Namespaces (DFS-N) Configuration with dfsdiag.exe

DFS-N, as the name implies, is a distributed file system and it involves a number of components running on a set of computers (Active Directory domain controllers, DFS-N namespace servers, SMB file servers, DFS-N clients that are typically Windows clients, but also Linux ones). Read More …

Microsoft SQL Server – TCP Port vs TCP Dynamic Ports

The default instance of SQL Server will listen on port 1433 (unless you’ve changed it to something else). However, by default, named instances will use a dynamic port, and SQL Server Browser will determine which port has been allocated and direct traffic accordingly. Read More …

Powershell – find files larger than a specific size

A common task, especially during the development of specific filesystem tasks in a script, is to find and list all files that are larger than a specific file size in folder (and subfolders); in the following example we will find files larger than 500 MB in the entire C:\ drive. Read More …