Thomas Prud'homme Blog

PowerShell WMI – Matching Function – OSLanguage codes

Hi guys, When you are querying WMI objects to find Operating System information you while face the OS Language codes. Those interger match with supported installation languages for Operating System. The list of interger and matching value is available on a MSDN Web page. I then write a PowerShell function...

PowerShell WMI – Querying Operating System informations

Hi Guys, Here is a small function I wrote to gather the Operating System basic informations. For the purpose of this function I wrote a matching function to translate the OSLanguage digits to a more convinent string. You can find the matching function here See you,

PowerShell – Mapping function for Office 365 ServicePlans to ServicePlansId

Hi guys, If you are starting to work with the new Office 365 PowerShell module to manage users you might have found a disturbing change in the license affectation process. The DisabledPlans option, it is no more using the ServicePlan name but the ServicePlanId Guid. From an administrator point of...

PowerShell WMI – Matching Function – BIOS Characteristics

Hi Guys, When you are querying WMI objects to find BIOS informations you will face the BIOS Characteristics codes. Those interger match with supported features or enabled features. The list of interger and matching value is available on a MSDN Web page. I then write a PowerShell function to make...

PowerShell WMI – Querying BIOS informations

Hi Guys, I will start a small blog post serie with PowerShell functions I wrote that query WMI of remote computer. Here is the first function: This function will provide you basic information over the BIOS configuration of the computer you want to query. For the purpose of this script...

Exchange Online migration – Unable to update Active Directory information for the source mailbox at the end of the move.

Hi guys, During an Exchange On-Premises migration to Exchange Online you may encounter an error sayig: Error: MigrationMRSPermanentException: Warning: Unable to update Active Directory information for the source mailbox at the end of the move. Error details: An error occurred while updating a user object after the move operation. –>...

Hyper-V Generation 2 VM with Linux Operating System

Hi Guys, Since Hyper-V for Windows Server 2012 R2 we have two generations of Virtual Machines (VM). The main differences between the two generations are: Generation 1 will provide the same virtual hardware to the virtual machine as in previous Hyper-V. Generation 2 will provide new functionalities to virtual machine,...

PowerShell Function – Test Server TCP Ports

Hi Guys, Here is a PowerShell Function I wrote couple of years ago. The purpose of this PowerShell function was to test if the given TCP ports where opened or not on specified computers. We needed this kind of function to keep tracks of customer network teams work, which was...

Save and restore ISE session path and opened files enhanced

Hi Guys, Inspired by the work done by my buddy Emmanuel to save and restore ISE opened scripts, I worked yesterday night to improve a little his job. Couple of years ago I found Emmanuel’s work interesting so I used it. Yesterday I was wondering if this functions I am...

Setup Azure Let’s Encrypt for your Azure App Website

Hi Guys, Last but not least post, on the Azure Let’s Encrypt setup. On previous posts we found out how to setup the Azure AD applications and permissions and how to install the Let’s Encrypt extension in an Azure App Website. We now needs to finish the Azure Let’s Encrypt...