Category: Powershell
-
Using PowerShell Script to Assess Windows 11 Hardware Compatibility
In this article, we’ll examine how to employ Microsoft’s official HardwareReadiness.ps1 PowerShell script to run a bulk Windows 11 hardware compatibility check on domain computers. This script ascertains that the computer meets the following minimum criteria to run Windows 11: A compatible x64 processor (complete list of supported CPUs) At least 4 GB of RAM…
-
Guide to Reading, Modifying, and Parsing JSON Files with PowerShell
JSON is a popular text-based format for representing and transmitting structured data based on JavaScript object syntax. There are two cmdlets in PowerShell that allow you to work with the JSON data format: ConvertFrom-Json and ConvertTo-Json. Let’s look at how you can use PowerShell to create, read, or modify JSON objects and save them to…
-
A Comprehensive Guide on How to Use PowerShell to Read Outlook Emails
Let’s examine the process of opening, reading, and parsing emails from a connected Outlook mailbox using a PowerShell script. The direct access to the mailbox is facilitated by Outlook MAPI, which not only lists the mailbox items, but enables you to read the emails, including details such as the sender’s address, subject, and body among…
-
Step-by-step Guide to Enabling and Configuring Wake-on-LAN (WoL) in Windows
Wake on LAN (WoL) is an essential feature in computer networking that allows a device in sleep mode or low power mode to be remotely activated. This is made possible through the device’s network interface card (NIC), which prompts the computer to wake up anytime it receives a unique broadcast packet, often referred to as…
-
A Comprehensive Guide on Creating, Deleting and Managing System Restore Points on Windows 10/11
System Restore Points offer a convenient solution for reverting your Windows OS to a previous state should you encounter unintended system file or registry issues following the installation of faulty drivers, updates, or applications. A restore point allows you to restore the state of the registry, system files, drivers, and installed software to the point…
-
Step-by-step Guide: How to Add an ESXi Host to VMware vCenter Server (vCSA)
Let’s examine how to incorporate a standalone host with an ESXi hypervisor into the VMware vCenter Server (vCSA) for administrative centralization and utilization in cluster setups. Establish a connection to the vCenter Server by launching the vSphere Client URL in your internet browser (https://vcenter_server_fqdg_or_ip/ui). Choose the datacenter, folder, or cluster where you intend to introduce…
-
The Procedure for Unlocking User Accounts in Active Directory
A user account lockout in a domain is one of the most popular reasons why users contact the technical support team. In most cases, the lockout is caused either by a user forgetting their password or by an application trying to use a previous (saved) password for authentication after the user has changed it. Account…
-
How to Use PowerShell for Managing System and User-Assigned Managed Identities in Azure
Managed identities provide secure authentication for resources accessing other resources in Azure without requiring sensitive information such as secrets, credentials, and certificates to be handled. Microsoft Entra ID manages these identities, enabling applications to obtain tokens for authentication. In this post, I will provide an example that illustrates how to use system and user-assigned managed…
-
A Step-by-Step Guide: How to Identify Your Installed Windows Version and Build Number
The easiest way to quickly find out the version and build number of the Windows OS that is installed on your computer is to press the Win+R on the keyboard and run the winver command. The following screenshot shows that Windows 10 version 22H2 is installed on the computer (build number 19045.3324). Both the release…
-
How to List and Remove Calendar Events from Exchange Mailbox using PowerShell
PowerShell provides the functionality to access event and meeting entries in the calendars of Exchange users. Here, we will discuss the methods of obtaining a calendar events list or deleting a particular event/appointment from everyone’s calendars in an Exchange Server or Microsoft 365 organization. Procedure to List and View User Calendar Events in Exchange Online…