In this article, we will show you how to check the free disk space and disk usage on a local or remote Windows host using PowerShell. Also, consider how to…
Using PowerShell for System Administration and Automation Tasks
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…
- Active DirectoryPowerShellWindows Server 2016Windows Server 2019
Time-Based (Temporary) Group Membership in Active Directory
March 15, 2024The 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…
- 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 10Windows Server 2019Windows Server 2022
Using Managed Service Accounts (MSA and gMSA) in Active Directory
March 16, 2024You can use Managed Service Accounts (MSA) to securely run services, applications, and scheduler tasks on servers and workstations in an Active Directory domain. The MSA is a special type…
- Active DirectoryPowerShell
Set-ADUser: How to Change User Properties in Active Directory with PowerShell
March 12, 2024The 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…
- Active DirectoryMicrosoft OfficePowerShell
Read and Write Excel (XLSX) Files with PowerShell
March 16, 2024You can access the data in an Excel file directly from within PowerShell. Although PowerShell has built-in cmdlets for importing (Import-CSV) and exporting (Export-CSV) tabular data from/to CSV files, the…
- PowerShellWindows Server 2016
How to Create and Manage Scheduled Tasks with PowerShell
March 17, 2024Most users and administrators use the taskschd.msc graphical interface console to create and manage scheduled tasks on Windows. However, in various scripts and automated flows, it is much more convenient…
- Active DirectoryGroup PoliciesPowerShellWindows Server 2019
Configuring Password Policy in Active Directory Domain
March 12, 2024The password policy in an Active Directory domain specifies basic security requirements for user account passwords, such as password complexity, length, frequency of password changes, and so on. A strong…
- ExchangePowerShell
How to Cleanup, Truncate or Move Log Files in Exchange Server 2013/2016/2019?
March 17, 2024After you deploy Exchange, you may notice that free disk space starts to decrease very quickly. In addition to the growth of the mailbox databases themselves, the various logs take…