In this article we will look at how to find out the date a user was created in Active Directory; how to use PowerShell to get information from the domain…
Using PowerShell for System Administration and Automation Tasks
- PowerShellWindows 10Windows Server 2016
PowerShell: Check Free Disk Space and Disk Usage
March 17, 2024In 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…
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…