A Windows file server admin can list the files that are open in a shared folder and force locked files to close. If a user opens a file in a…
Using PowerShell for System Administration and Automation Tasks
- Active DirectoryPowerShell
Managing User Photos in Active Directory Using ThumbnailPhoto Attribute
March 12, 2024Active Directory user accounts have a special thumbnailPhoto attribute in which a user’s photo can be stored as binary data. Outlook, OWA, Lync/Skype for Business, SharePoint (and other apps) can…
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.…
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 2019
Protecting Remote Desktop (RDP) Host from Brute Force Attacks
February 5, 2024Any Windows host directly connected to the Internet with an open RDP port is periodically logged for remote brute-force password attempts. To effectively protect the default Remote Desktop protocol port…
- PowerShellWindows Server 2019
Managing Windows Server Roles & Features with PowerShell
March 17, 2024In 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
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,…