By default, Windows uses TCP port 3389 to connect to the desktop of a remote computer via the RDP (Remote Desktop Protocol). This article describes how to change the default…
Using PowerShell for System Administration and Automation Tasks
What Others Are Reading in PowerShell
- PowerShellWindows Server 2019Windows Server 2022
Install Remote Desktop Services Host (RDS) without Domain (in a Workgroup)
March 24, 2026This article explains how to install and configure the Remote Desktop Session Host terminal server role on a standalone Windows Server 2022/2019 in a workgroup (without an Active Directory domain)…
A new native package manager, WinGet (Windows Package Manager), appeared on Windows 10 and 11. You can use it to install apps from the command prompt (similar to Linux package…
- Active DirectoryPowerShellWindows 10Windows 11Windows Server 2022
How to Convert SID to User/Group Name and User to SID
August 27, 2025SID (Security IDentifier) is a unique identifier that is assigned to users, groups, computers, or other security objects when they are created in Windows, an Active Directory domain, or an…
- Azure and Microsoft 365PowerShell
Using Microsoft Graph API to Access Azure via PowerShell
March 15, 2024Microsoft Graph API allows you to access any objects in the Azure AD (Microsoft 365) tenant using a single REST API point (https://graph.microsoft.com). You are likely to think that it…
- Active DirectoryPowerShellWindows 11Windows Server 2022
Get-ADUser: Find Active Directory User Info with PowerShell
March 24, 2026The Get-ADUser is the most commonly used PowerShell cmdlet for retrieving Active Directory user information, including attributes like usernames, email addresses, account activity, group memberships, contact details, job titles, organizational…
- Active DirectoryAzure and Microsoft 365PowerShell
Configuring UserPrincipalName and UPN Suffixes in Active Directory
March 11, 2024In this article, we’ll look at what UPN (UserPrincipalName) suffixes in Active Directory are, how to add alternative suffixes in an AD forest and change UPN suffixes of Active Directory…
- Active DirectoryGroup PoliciesPowerShellWindows 11Windows Server 2022
Display System Info on Desktop with BGInfo
February 6, 2025When managing a large fleet of servers and workstations, it is useful to have basic information about the computer displayed on the system desktop. For example, it can include the…
- PowerShellWindows 10Windows Server 2019
PowerShell: Get, Modify, Create, and Remove Registry Keys or Parameters
March 11, 2024The Registry Editor (regedit.exe) and the reg.exe command-line utilities aren’t the only tools to access and manage the registry in Windows. PowerShell provides a large number of tools for the…
- Active DirectoryPowerShellWindows Server 2016Windows Server 2019
How to Enable DNS Query Logging and Parse Log File on Windows Server
October 1, 2024In this article, we’ll show how to enable DNS logging for all user queries on a DNS server running Windows Server, how to parse and analyze DNS logs. I faced…