You 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…
Using PowerShell for System Administration and Automation Tasks
What Others Are Reading in PowerShell
- PowerShellWindows 11Windows Server 2022
How to Create and Manage Scheduled Tasks with PowerShell
September 5, 2025Rather 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…
- 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,…
- Group PoliciesPowerShellWindows 10Windows 11
How to Uninstall Built-in Microsoft Store Apps on Windows 11 or 10
November 24, 2025Windows 10 and 11 ship with a set of pre-installed Microsoft Store applications (also known as UWP/APPX/MSIX apps). These are Calculator, Calendar, Mail, Cortana, Maps, News, OneNote, ZuneMusic, Camera, etc.…
- 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…