You can use the Get-ADDomainController PowerShell cmdlet to get information about the domain controllers in Active Directory. This cmdlet is a part of PowerShell Active Directory module and requires RSAT…
Using PowerShell for System Administration and Automation Tasks
A Windows administrator can use the good old Dnscmd cli tool or DNSServer module for PowerShell to manage DNS zones and records. In this article we’ll cover the basic operations…
- Active DirectoryPowerShellWindows Server 2016
Transferring/Seizing FSMO Roles to Another Domain Controller
March 15, 2024In this article, we’ll consider how to find domain controllers with FSMO roles in Active Directory, how to transfer one or more FSMO roles to another (additional/secondary) domain controller, and…
- Active DirectoryPowerShell
How to Change Computer Object Attributes in Active Directory
March 12, 2024A separate account of type Computer is created for a computer when you join it to an Active Directory domain. A computer object in AD has several mandatory attributes: sAMAccountName,…
- PowerShellWindows 10
How to Block a Domain or Website on Windows Defender Firewall with PowerShell?
December 23, 2020Let’s consider some ways to block access to the specific websites, domain names, URLs or IP addresses in Windows without using third-party tools. In our case, we will try to…
When creating new user accounts in Active Directory, an administrator sets a unique initial password for each account and tells it to a user (usually at the first logon a…
- PowerShellWindows 10Windows 11Windows Server 2019
Fix: DNS Resolution over VPN Doesn’t Work on Windows
December 27, 2023Force Tunnel mode is enabled by default for all VPN connections in Windows (the ‘Use default gateway on remote network‘ option enabled in the VPN settings). In this mode, name…
- ExchangePowerShell
Get-MessageTrackingLog: Search Message Tracking Logs on Exchange Server
October 28, 2021You can use the Get-MessageTrackingLog cmdlet in the Exchange Management Shell to analyze mail flow, message forensics and to get different information about messages sent or received by a specific…
- Hyper-VPowerShellWindows Server 2019Windows Server 2022
How to Backup Hyper-V Virtual Machines (Tutorial)
November 9, 2023This article discusses the specifics of organizing virtual machine backups in the Microsoft Hyper-V environment. We’ll look at the basic requirements for Hyper-V backup solutions, backup strategies, and the main…
Any PowerShell script can be transformed into a real Windows service that runs in the background and starts automatically during your server boot. You can create a Windows service using…