When expanding the disk size of a VMWare virtual machine or deleting a disk, sometimes it is hard to understand which VMware virtual disk matches the specific Windows VM disk.…
Using PowerShell for System Administration and Automation Tasks
In this article we’ll talk about Active Directory domain controller backup and learn how to configure automatic AD backup using PowerShell and built-in Windows Server tools.
- PowerShellWindows 10Windows Server 2016
RDP Brute Force Protection with PowerShell and Windows Firewall Rules
May 10, 2023I have had an idea to write a simple PowerShell script to automatically block (blacklist) IP addresses, on which RDP brute-force attempts or continuous RDP attacks are detected, in Windows…
- PowerShellWindows 10Windows Server 2016
How to Manage Windows Services with PowerShell?
March 15, 2021You can manage Windows services not only from the services.msc snap-in or sc.exe command line tool, but also using PowerShell. In this article we’ll consider different scenarios of managing Windows…
- PowerShellWindows Server 2012 R2Windows Server 2016Windows Server 2019
Managing Windows Server Roles & Features with PowerShell
May 10, 2023In Windows Server 2012R2/2016/2019, you can use the graphical Server Manager console to install and remove server roles and features. However, in most cases you can do the same from…
- Active DirectoryPowerShell
Get-ADDomainController: Getting Domain Controllers Info via PowerShell
July 8, 2022You 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…
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
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…