Category: Powershell
-
How to List and Remove Calendar Events from Your Exchange Mailbox Using PowerShell
PowerShell enables event and meeting items accessibility in Exchange users’ calendars. The following paragraphs detail how to compile a list of calendar events or erase a particular event/appointment from the calendars of all users within an Exchange Server or Microsoft 365 organization. Listing and Reading User Calendar Events on Exchange Online (Microsoft 365) Initially, we’ll…
-
Managing Azure Resources Using PowerShell cmdlet Invoke-AzRestMethod in Azure REST API
Sometimes, managing certain Azure resources using PowerShell can be challenging due to the absence of specific cmdlets for those operations or services. This is where the Invoke-AzRestMethod cmdlet comes into play, which allows PowerShell scripts to communicate with Azure services by sending HTTP requests to Azure’s REST API. It acts as a bridge between PowerShell…
-
Step-by-Step Guide to Creating a Virtual Machine on VMWare ESXi
This article shows how to create a new virtual machine on a VMware ESXi host and install a guest operating system from an ISO image. Let’s see how to create a virtual machine from the vSphere Client web interface or by using PowerShell commands. Create a Virtual Machine with VMware Web Client Suppose you’ve already…
-
Step-by-Step Guide on Creating an Amazon Machine Image (AMI) for an EC2 Instance using Bash and PowerShell Scripts
The provided Bash and PowerShell script helps automate the creation of Amazon Machine Images (AMIs) from existing AWS Elastic Compute Cloud (EC2) instances. This is particularly useful for creating point-in-time backups or disaster recovery. I mostly use the script to quickly clone an EC2 instance for testing or troubleshooting. Create an AMI in the AWS…
-
How to Retrieve All SMTP (Email) Addresses Using PowerShell in Exchange
Occasionally, it may be necessary to export a complete list of email addresses in your Exchange organization. This article will guide you on how to obtain and export all assigned SMTP addresses to a CSV file in Exchange Server or Microsoft 365 (Exchange Online) using PowerShell. Here’s how to connect to your Exchange organization: The…
-
Highlights from Microsoft Ignite 2023: Windows Server and SQL Server Updates
This year, Microsoft Ignite 2023 took place in Seattle, Washington from November 12 to 15, 2023 and it was such a wonderful experience to meet and interact with nearly 5,000 of you in person, and many more online across the globe. One common theme stood out throughout the event: the potential of AI is becoming…
-
A Comprehensive Guide to Deploying Microsoft Office Language Packs
In this article, we’ll explore manual and automated methodologies to deploy extra language packs and configure the default language in Microsoft Office 2019, 2016, and Microsoft 365 Apps for Business (formerly known as Office 365). In Microsoft Office, the language preferences can be adjusted in the following individual settings: Editing Language Display Language Help Language…
-
How to Send Telegram Messages from a PowerShell Script
You can use your Telegram messenger as a notification tool to get instant reports on various infrastructure events, script execution results, or scheduler tasks. This article shows you how to use PowerShell to send a text notification to a Telegram channel or group through the Bot API. First, create a new Telegram bot using @BotFather.…
-
Step-by-Step Guide on Exporting MS Teams Chat History using PowerShell
In this article, we’ll examine how to access and export the history of Microsoft Teams chat conversations using PowerShell. Teams chats are stored in a hidden Conversation historyTeam Chat folder in a shared mailbox, which is automatically created when you create a new Microsoft 365 group (this will instantly create a Teams group, a website,…
-
A Step-by-Step Guide to Connecting VPN Before Windows Logon
The built-in VPN client in Windows, by default, does not let you connect to the VPN server before the user signs in. This poses a challenge for Active Directory-linked computers that connect to the domain network via VPN. Users can log into their systems using stored domain credentials and then establish a VPN connection. However,…