Bastien Perez

Freelance Microsoft 365 - Active Directory - Modern Workplace

Get the Microsoft 365 admin roles and track the changes [updated january 2025] Members

Admin roles are the key of your kingdom Office 365 allows organizations to granularly delegate administrative privileges. Office 365 contains a lot of built-in aministrative roles. Among them we find Global Administrator, Exchange administrator, User Account Administrator, Billing Administrator, Global reader, etc. Those privileges must be audited regularly. When

Bastien Perez
Bastien Perez
Microsoft 365

WMI Filter to identify 32 and 64 bits Members

A lot of bad WMI filter on the Internet I create Group Policy Objects for years and I am often consulted to solve GPO issues. Lately I had to debug GPOs created by an IT admin. This GPO has applied randomly on the workstations. All these GPO use the following

Bastien Perez
Bastien Perez
Active Directory

Filtre WMI pour identifier 32 et 64 bits Members

Beaucoup de mauvais filtres WMI sur Internet Je crée des objets de stratégie de groupe depuis des années et je suis souvent consulté pour résoudre les problèmes de GPO. Dernièrement j’ai dû déboguer des GPO créés par un administrateur. La particularité de cette GPO est s’appliquent de manière

Bastien Perez
Bastien Perez
Active Directory

Force Intune settings sync on computers (updated 2026) Members

Default intervals Default refresh intervals for policies and compliance checks Intune sends a notification to the device to check in with the service. The timing of these notifications can vary, ranging from immediately to several hours. The frequency of these notifications can also differ depending on the platform. Microsoft documentation

Bastien Perez
Bastien Perez
Microsoft 365

Forcer la synchronisation des paramètres Intune [2026] Members

Intervalles de rafraîchissement par défaut pour les politiques et les contrôles de conformité Intune notifie l'appareil de se connecter au service Intune. Les délais de notification varient selon les systèmes d'exploitation et le temps depuis lequel il est enrôlé dans Intune. La documentation Microsoft indique : Plateforme

Bastien Perez
Bastien Perez
Microsoft 365

Mettre à jour tous les modules PowerShell en une fois Members

Si, comme moi, vous téléchargez des modules sur PowerShell Gallery, vous devez souvent mettre à jour le module avec Update-Module. Je n’aime pas mettre à jour mes modules un par un, et même si je le fais en masse avec Get-InstalledModule | Update-Module je n’ai aucune

Bastien Perez
Bastien Perez
PowerShell

Update all PowerShell modules at once Members

If you download modules from PowerShell Gallery, you often need to update the module with Update-Module to be up-to-date. I don’t like to update one by one, and even if I do in bulk with Get-InstalledModule | Update-Module I miss information about: * the current module

Bastien Perez
Bastien Perez
PowerShell

Increase Windows and Applications logs size Members

Windows logs and Applications logs Each Windows version has built-in Event logs. They are very useful to debug a problem, or audit some applications. You can view them with Event viewer (eventvwr.msc). * the Windows logs * the Applications logs. These logs depend of the applications/roles installed. Every log

Bastien Perez
Bastien Perez
Windows

Augmenter la taille des journaux Windows et Applications Members

Journaux Windows et journaux applications Chaque version de Windows dispose de journaux d’événements intégrés, aussi appelés event logs. Ils sont indispensables pour identifier un problème ou auditer les applications. Ils ont accessibles depuis l’observateur d’événements (eventvwr.msc). Les journaux d’évènements Windows : Les journaux d’évènements Applications.

Bastien Perez
Bastien Perez
Windows

Remove cached password on RODC Members

Microsoft FAQ The FAQ on Technet said: There is no mechanism to erase passwords after they are cached on an RODC. If you want to clear a password that is stored on an RODC, an administrator should reset the password in the hub site[…] https://learn.microsoft.com/en-us/

Bastien Perez
Bastien Perez
Active Directory

Effacer un mot de passe mis en cache sur un RODC Members

Mise en cache du mot de passe sur RODC La FAQ sur le Technet indique : There is no mechanism to erase passwords after they are cached on an RODC. If you want to clear a password that is stored on an RODC, an administrator should reset the password in the

Bastien Perez
Bastien Perez
Active Directory

Invoke-WebRequest and Invoke-RestMethod failed with SSL/TLS Members

When running the Invoke-WebRequestor Invoke-RestMethod command, you may encounter this error: The request was aborted: Could not create SSL/TLS secure channel. At line:1 char:1 + Invoke-WebRequest https://xxxxx … >+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebReques

Bastien Perez
Bastien Perez
PowerShell