Rather than using the graphical Task Scheduler (taskschd.msc) snap-in or the legacy schtasks.exe console command, you can use PowerShell to manage scheduled tasks. This post will cover how to use…
Using PowerShell for System Administration and Automation Tasks
What Others Are Reading in PowerShell
- 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…
- PowerShellWindows 10Windows 11Windows Server 2022
Invoke-Command: Run Commands or PowerShell Scripts on Remote Computers
May 15, 2025The Invoke-Command cmdlet allows you to execute commands or PowerShell scripts remotely on one or more remote computers
- Active DirectoryPowerShellWindows 10Windows 11Windows Server 2019
Repairing the Domain Trust Relationship Between Workstation and Active Directory
May 16, 2024If a trust relationship between a Windows workstation and an Active Directory domain is broken, the computer won’t be able to establish a secure channel with the domain controller, and…
- PowerShellWindows 10Windows 11Windows Server 2022
Enabling DNS over HTTPS (DoH) on Windows 11
November 6, 2024The latest versions of Windows support the DNS over HTTPS (DoH) protocol, which allows domain name resolution (DNS queries) to be performed over an encrypted HTTPS connection. In this article,…
- PowerShellWindows 10Windows 11
How to Uninstall Built-in UWP (APPX) Apps on Windows 10 or 11
June 6, 2024Windows 10 and 11 ships with a set of pre-installed Microsoft Store applications (UWP/APPX apps). These are Calculator, Calendar, Mail, Cortana, Maps, News, OneNote, Groove Music, Camera, etc. These apps…
- PowerShellWindows 10Windows 11Windows Server 2022
How to Sign a PowerShell Script File (PS1)
May 23, 2024The digital signature of a PowerShell script (*.PS1 file) allows you to verify that a known trusted publisher signs the script and that its code has not been modified. The…
- Active DirectoryGroup PoliciesPowerShellWindows 10Windows Server 2022
How to Refresh (Update) Group Policy Settings on Windows
August 13, 2024To apply new local or domain Group Policy (GPO) settings to a Windows computer, the Group Policy Client (gpsvc) service must read the policy files and apply the setting to…
- Active DirectoryPowerShell
How to Find Inactive Computers and Users in Active Directory with PowerShell
March 11, 2024Quite an often task of an Active Directory administrator is to make a list of disabled or inactive user and/or computer accounts. You can use both saved LDAP queries in…