PSScriptAnalyzer is a static code checker for Windows PowerShell modules and scripts. PSScriptAnalyzer checks the quality of Windows PowerShell code by running a set of rules. The rules are based on PowerShell best practices identified by PowerShell Team and the community. It generates DiagnosticResults (errors and warnings) to inform users about potential code defects and suggests possible solutions for improvements.

Read more

Happy Powershell New Year 2019 !

I wish you a really Powershell New Year 2019 !!!

Read more

Detect elevated privileges

Sometimes you get a requirement to start a Powershell script from an elevated prompt. Here is a quick function to check that :


This will return a simple boolean so you can use it this way :

Read more

Windows 10 Notification

It could be so useful to display notification for each step in a script you could launch on a W10 computer.A nice module can help !You can install it through :All new available command are here : Then, If you want more functions, just enter :To create a new app, simply use :Then, to create your notification :roualin psnotif-300x67 Windows 10 NotificationYou can also add a sound to your notification !roualin pssound-300x156 Windows 10 Notification Read more

Import calendar event through impersonation – O365

Sometimes, for several reasons, you’ll have to import calendar events into users mailbox in O365.

That could be done using different methods, directly using a service account (with a mailbox !), impersonated (as if the user created the event).

Here below is a quick example of a small script (powershell of course ! )

Read more


PowerShell Conference Europe is the largest PowerShell-themed conference in Europe, and is held in Hanover, Germany each year. We attract speakers and attendees from all over the world, with such topics as security, DevOps, databases, core language features, optimization, DSC, best practices and much more.

Read more

Open a file with its default application

Hey there !

A little tip I’ve just found, really usefull.

If you need to open a file through Powershell with the default application set up in Windows parameter, just use “Start-process” and the full path of your file

In this short example, this command will launch Excel and your file !

Read more

Group-Object is magic !

I had to create a script that sort a whole csv, each line is an extract of a computer scan, one extract per day, and get only the last extract per computer AND per user.

Indeed, a user can use multiple computers, and several users can use the same computer, the extract result is not the same !

Read more
How to whitelist website on AdBlocker?

How to whitelist website on AdBlocker?

  1. 1 Click on the AdBlock Plus icon on the top right corner of your browser
  2. 2 Click on "Enabled on this site" from the AdBlock Plus option
  3. 3 Refresh the page and start browsing the site