You can use the built-in telnet command line tool to connect to a remote SMTP server and send a test e-mail. This is the easiest and fastest way to test…
Using PowerShell for System Administration and Automation Tasks
- ExchangeMicrosoft 365PowerShell
Connect to Exchange Servers and Microsoft 365 with Remote PowerShell
April 27, 2022In this article we will show how to remotely connect to an on-premises Exchange Server or Microsoft 365 (Exchange Online) from the PowerShell console.
- Active DirectoryPowerShellWindows Server 2016Windows Server 2019
Time-Based (Temporary) Group Membership in Active Directory
April 18, 2022The version of Active Directory in Windows Server 2016 introduces an interesting feature that allows you to temporarily add a user to an AD security group. This feature is called…
PowerShell has a lot of features to manage processes on a local or a remote computer. Using PowerShell, you can get a list of running processes, suspend a hung-up process,…
- PowerShellWindows Server 2016Windows Server 2019
Setting Remote Desktop Drain Mode on a Windows Server RDS Host
October 3, 2022You can use RDS Drain Mode to maintain terminal hosts in a Remote Desktop Services farm. If you enable Drain Mode for your RDS server, you can prevent the server…
- Active DirectoryPowerShellWindows Server 2012 R2Windows Server 2016
Using Managed Service Accounts (MSA and gMSA) in Active Directory
May 11, 2021Managed Service Account (MSA) is a special type of Active Directory account that can be used to securely run services, applications, and scheduled tasks. The basic idea is that the…
- PowerShellWindows Server 2016Windows Server 2019
Using PowerShell Just Enough Administration (JEA) to Delegate Privileges to Non-Admin Users
April 15, 2022The Just Enough Administration (JEA) feature is available starting from PowerShell version 5.0 and allows you to delegate administrative privileges to anything you can manage with PowerShell. The main purpose…
- PowerShellWindows 10Windows Server 2016
How to Create ZIP Archives and Unzip Files with PowerShell?
October 28, 2021You can use PowerShell’s features to create ZIP archives and extract them. In PowerShell 5.0 (this PowerShell version is installed by default on Windows 10), a separate module Microsoft.PowerShell.Archive is…
- Active DirectoryPowerShell
Set-ADUser: How to Change User Properties in Active Directory with PowerShell
November 26, 2021The Set-ADUser cmdlet allows to modify user properties (attributes) in Active Directory using PowerShell. Traditionally, a graphic MMC snap-in dsa.msc (Active Directory Users and Computers, ADUC) is used to edit…
An Exchange administrator can move user mailboxes between databases on the same server or between remote mailbox servers. In this article we’ll show how to move mailboxes in Exchange Server…