blur chains chrome close up
Photo by Pixabay on Pexels.com

Mitigate PetitPotam in Active Directory Certificate Services

Please refer to the links at the bottom of this article for the most up-to-date links by Microsoft. Uninstall ADCS web enrollment A quick method is to uninstall the ADCS web enrollment (reboot required). After this, you can't use https://xxx/certsrv Uninstall-WindowsFeature ADCS-WebEnrollment Then disable the web server IIS (check before…

0 Comments
office working app computer
Photo by Negative Space on Pexels.com

How to get Microsoft Technet Gallery scripts

Update : a new site contains all the scripts from Technet Gallery : techgallery.io Microsoft closed Technet Gallery and scriptcenter in the beginning of 2021. In this page, you find some scripts. Some scripts' license don't allow to freely share them, but if you have any script request from Technet,…

1 Comment

Accès au fichier cloud est refusé avec Uninstall-Module

Une incohérence entre OneDrive et PowerShell Lors de la désinstallation d'un module PowerShell avec la commande Uninstall-Module il peut arriver l'erreur suivant: PackageManagement\Uninstall-Package : L'accès au fichier cloud est refusé Au caractère C:\Users\xxxxx\OneDrive - YYYY\Documents\WindowsPowerShell\Modules\PowerShellGet\2.1.5\PSModule.psm1:12451 : 21 + ... $null = PackageManagement\Uninstall-Package @PSBoundParameters + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (Microsoft.Power...ninstallPackage:UninstallPackage)…

0 Comments
dell motherboard and central processing unit
Photo by Pok Rie on Pexels.com

Filtre WMI pour identifier 32 et 64 bits

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 aléatoires sur les postes. Tous ces GPO utilisent les…

0 Comments

Update all PowerShell modules at once

If, like me, you download modules on PowerShell Gallery, you often need to update the module with Update-Module. I don't like to update one by one, and even if I do in bulk with Get-InstalledModule | Update-Module I have no information about: my current versionto which version the module will…

0 Comments

Increase Windows and Applications logs size

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 is configured with…

0 Comments
Close Menu