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…
PowerShell
- Active DirectoryPowerShellWindows Server 2016
Transferring/Seizing FSMO Roles to Another Domain Controller
September 7, 2023In 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 DirectoryPowerShellWindows 10
Deploy PowerShell Active Directory Module without Installing RSAT
April 15, 2020In one of the previous articles we showed how to use the Set-ADComputer cmdlet in a GPO logon script to save the current logged in user info to the properties…
- Active DirectoryPowerShell
Set-ADComputer: How to Change AD Computer Properties and Add Logged User Info?
August 3, 2020The Set-ADComputer cmdlet allows you to change the attributes of a computer account object in Active Directory. In this article, we’ll show how to add current logged-in username and IP…
- 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 Server 2016
DNS Resolution via VPN Not Working on Windows 10
September 20, 2022The DNS servers and suffixes configured for VPN connections are used in Windows 10 to resolve names using DNS in the Force Tunneling mode (“Use default gateway on remote network”…
- PowerShellWindows 10Windows Server 2016
How to Manage NTFS Permissions with PowerShell?
January 17, 2020In order to manage access to files or folders in Windows, a special ACL (Access Control List) is assigned to an NTFS file system object (a file or a folder).…
If you need to run a PowerShell script with the administrator privileges, you can check if the current powershell.exe process has the elevated permissions right in your PS code.
- 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…