Logging to simple text files is a convenient way to track all actions performed by a PowerShell script. Such a log file is useful for debugging script errors and reviewing…
Using PowerShell for System Administration and Automation Tasks
What Others Are Reading in PowerShell
- Azure and Microsoft 365ExchangeMicrosoft OfficePowerShell
How to Hide Users and Groups from the Global Address List on Exchange/Office 365
March 15, 2024In this article, we’ll look at how to hide a user or distribution group from the Exchange Global Address List (GAL). This guide applies to both the cloud Exchange Online…
- PowerShellWindows 10Windows 11Windows Server 2022
How to Backup (Export) Installed Drivers in Windows
February 19, 2026Built-in Windows tools allow you to backup (export) all third-party device drivers installed on your computer to a specified directory. This eliminates the need to manually search for and download…
- PowerShellWindows 10Windows Server 2019
Automatically Add Static Routes After Connecting to VPN
September 20, 2022In the latest Windows 10 builds, you can automatically add static routes when establishing a VPN connection. When the VPN connection is terminated, the route is automatically removed from the…
- Azure and Microsoft 365ExchangeMicrosoft OfficePowerShell
Export Exchange or Office 365 Global Address List (GAL) to CSV
March 15, 2024Let’s consider some ways of exporting the Exchange Global Address List (GAL) or Offline Address Book to a text CSV file. GAL contains all email addresses of your on-prem Exchange…
- Active DirectoryPowerShellWindows Server 2016Windows Server 2019
Windows Server Core: Installing Active Directory Domain Controller
March 15, 2024Windows Server Core is a good platform to host the Active Directory domain controller role due to fewer resource requirements, increased stability and security (due to less code and updates).…
- Hyper-VPowerShellVirtualizationWindows Server 2016
Hyper-V: Configuring Automatic Startup and Boot Order of VMs
March 17, 2024In Hyper-V, you can configure automatic startup and shutdown options for your virtual machines when you boot or restart your host OS. In this article, we’ll show how to configure…
- PowerShellWindows Server 2019
How to Manually Import (Add) Update into WSUS from Microsoft Update Catalog
March 16, 2024Not all fixes, patches, and updates for Microsoft products are available for installation in the Windows Server Update Services (WSUS) console. For example, you might have disabled update synchronization for…
- PowerShellWindows 10Windows 11Windows Server 2019
PowerShell: Get Folder Size on Windows
April 2, 2024You can use PowerShell to calculate the exact size of a specific folder in Windows (recursively, including all subfolders). This way you can quickly find out the size of the…
- PowerShellWindows 10Windows 11Windows Server 2019
Using Credential Manager on Windows: Ultimate Guide
March 15, 2024Windows Credential Manager allows you to securely store credentials (usernames and passwords) used to access network resources, websites, and apps. You can use the credentials stored in Credential Manager to…