Thomas' Tech Talk

Just Can't Get Enough Of IT

Start Scheduled Tasks Remotely

Filed under: Exchange Server,PowerShell — Thomas Stensitzki at 4:00 pm on Saturday, July 18, 2020  Tagged

When you maintain a number of servers which require to trigger the same scheduled task manually, you can simply the process by triggering the scheduled task remotely. In this example, I assume that the script is being executed on a dedicated management server (aka job server) within an Exchange Server 2013 environment. The scheduled task […]

Create Migration Batches With Common Parameters

Filed under: Exchange Server,PowerShell — Thomas Stensitzki at 2:57 pm on Tuesday, July 14, 2020  Tagged ,

This is a community PowerShell script to simplify Exchange Server mailbox migrations and is available on Github. Features Validate CSV file for required column EmailAddress prior to creating migration batch in Exchange Automatic batch naming based on CSV file name Common notification email address settings Variable AutoComplete of batches Common logging of script activities   […]

Unable to download NuGet package provider

Filed under: PowerShell,Windows Server — Thomas Stensitzki at 4:38 pm on Thursday, June 11, 2020  Tagged

When you try to install a module from PowerShell Gallery using the Install-Module cmdlet it might fail. Installing a PowerShell module requires the NuGet package provider installed first. Installing the package provide might fail as well with the following error: WARNING: Unable to download from URI ‘https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409’ to ”. WARNING: Unable to download the list […]

Purge-LogFiles updated to v2.3

Filed under: Exchange Server,PowerShell — Thomas Stensitzki at 6:35 pm on Thursday, March 12, 2020  Tagged , , ,

The PowerShell script to purge log files of modern Exchange Server editons has been updated to version 2.3. The new version supports: dynamic Exchange Server installation paths across multiple servers deletion of the HTTPERR folder HTML formatting for email notification email Additionally, the script is tested with Exchange Server 2019. You can download the source […]

Select non-default receive connectors

Filed under: Exchange Server,PowerShell — Thomas Stensitzki at 8:46 pm on Sunday, March 8, 2020  Tagged

Sometines you want to select all non-default receive connectors for further processing in PowerShell. The following simple example selects all receive connectors excluding the connectors using server name as part of the connector name. When querying the receive connectors for a server you will get all configured connectors. Get-ReceiveConnector -Server $Server | ft -AutoSize Identity […]

Register Azure AD Pass-through agent manually

Filed under: Azure AD,PowerShell — Thomas Stensitzki at 1:26 pm on Monday, February 10, 2020
Logo Azure Active Directory

Azure AD Pass-through authentication (PTA) recommends that you run at least three authentication agents to provide high availability for authentication. When you download and install the PTA agent, registering the PTA agent to Azure AD might fail. This happens most of the time when the network connectivity to Azure AD requires the use of a […]

Exchange Environment Report – V2 – updated

Filed under: Exchange Server,PowerShell — Thomas Stensitzki at 6:54 pm on Monday, January 27, 2020

The PowerShell script for generating an Exchange Environment Report has been updated to version 2.2. The changes for this version are: Bug fixes and enhancements CCS fixes for Html header tags (issue #5) New script parameter ShowDriveNames¬†added to optionally show¬†drive names for EDB/LOG file paths in database table (issue #4) Exchange organization name added to […]