Thomas Prud'homme Blog

PowerShell – Query domain name WhoIs

Hi Guys, I found, after couple of weeks looking for it, a cool API WebSite that provide an API to query WhoIs : webservicex.net. Once I found out this site I started writing this little PowerShell function to help me serialize all my future actions with this little guy. Here...

PowerShell WMI – Querying Operating System product informations

Hi guys, Here is a small function I wrote to gather basic informations arround the Operating System product. See you,

PowerShell WMI – Querying CD ROM informations

Hi guys, Here is a small function I wrote to gather the CD ROM drive basic informations. See you,

PowerShell – Extend extended Get-Date with Add Weeks methods

Hi Guys, As I told you couple of weeks ago I am using a custom function to enhanced the Get-Date with information. For my comfort I wished to add a dedicated method to add a week to the selected date. Before having this idear when I wanted to add a...

PowerShell WMI – Querying System Informations

Hi Guys, Here is a small function I wrote to gather the System basic informations. See you,

PowerShell – Extend Get-Date with First and Last Day of the Week

Hi Guys, For script purpose I needed to have the information of the First and Last Day of the Week quickly and easily. I already added the old, but great, solution provided by the Scripting Guy to get the week number out of the Get-ExtendedDate function using: So I took...

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...