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
- 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…
- PowerShellWindows 10Windows Server 2016
Using PowerShell Invoke-Command to Run Scripts on Remote Computers
March 15, 2024In this article we will learn how to use the Invoke-Command cmdlet to run PowerShell commands or scripts remotely. You can use PowerShell to run commands remotely on one or…
- 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…